Copy link to clipboard
Copied
I have a SOAP 1.1 webservice that is using a custom wsdfile.
<cfcomponent namespace="http://TestWebservice" wsversion="1" wsdlfile="TestWSDL.wsdl" style="document">
In the TestWSDL.wsdl file, the PerformInquiryResponse is supposed to return a complex type of PerformInquiryResult
<xs:element name="PerformInquiryResponse">
</xs:sequence>
</xs:complexType>
</xs:element>
However, using SOAPUI it returns PerformInquiryReturn instead of PerformInquiryResult
<PerformInquiryResponse xmlns="http://TestWebservice">
<PerformInquiryReturn>
How do I make sure ColdFusion 10 returns the correct PerformInquiryResult value defined in the TestWSDL.wsdl file instead of PerformInquiryReturn?
Copy link to clipboard
Copied
That was SOAPUI's answer. You should invoke the service using Coldfusion, and tell us what it returns.
Copy link to clipboard
Copied
BKBK-
Thanks for the response. When I invoke using Coldfusion it incorrectly returns PerformInquiryReturn as well. Btw, I simplified the example to just return a simple string instead of a complex type. Any suggestion on returning PerformInquiryResult as defined by the wsdl?
xml document [short version]soapenv:Envelope
XmlText | |||||||||||||||||
XmlAttributes |
| ||||||||||||||||
soapenv:Body |
|
<element name="PerformInquiryResponse">
<complexType>
<sequence>
</sequence>
</complexType>
</element>
Copy link to clipboard
Copied
Please show us the code that invokes the service. Here is an appetizer from the past
Copy link to clipboard
Copied
BKBK-
I submitted this issue to the Bugbase and it has been verified as a bug and the Status is "ToFix" so hopefully they are able to fix it quickly.
You can view the details at Feature#4094858 - Issue with SOAP response using custom wsdfile if you feel like digging into it.
Copy link to clipboard
Copied
Thanks for the bug report.
I have tested the issue further, and made comments in your report.
Copy link to clipboard
Copied
BKBK-
Thanks for moving this along.
Copy link to clipboard
Copied
Disappointing update. Adobe has decided to call this a "feature enhancement" in order to avoid fixing it in current versions of ColdFusion. Severely disappointed in Adobe for playing word games to avoid fixing what they have already acknowledged is a bug.
-----------------------------------------------------------------------------------------------------------------------------
"Well this is feature enhancement so it can only be fix in future release. As of now there is no work around that we have."
Thanks,
Priyank Shrivastava
-----------------------------------------------------------------------------------------------------------------------------
Feature#4094858 - Issue with SOAP response using custom wsdfile
State Open
Status ToFix
Reason BugVerified