Highlighted

cfcomponent wsdlfile method response value getting ignored

New Here ,
Nov 25, 2015

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:complexType>

<xs:sequence>

<xs:element maxOccurs="1" minOccurs="0" name="PerformInquiryResult" type="tns:InquiryResult"/>

</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?

Views

347

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

cfcomponent wsdlfile method response value getting ignored

New Here ,
Nov 25, 2015

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:complexType>

<xs:sequence>

<xs:element maxOccurs="1" minOccurs="0" name="PerformInquiryResult" type="tns:InquiryResult"/>

</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?

Views

348

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 25, 2015 0
Adobe Community Professional ,
Nov 26, 2015

Copy link to clipboard

Copied

That was SOAPUI's answer. You should invoke the service using Coldfusion, and tell us what it returns.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 26, 2015 0
New Here ,
Nov 30, 2015

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
struct
xmlns:soapenvhttp://schemas.xmlsoap.org/soap/envelope/
xmlns:xsdhttp://www.w3.org/2001/XMLSchema
xmlns:xsihttp://www.w3.org/2001/XMLSchema-instance
soapenv:Body
XmlText
PerformInquiryResponse
XmlText
XmlAttributes
struct
xmlnshttp://TestWebservice
PerformInquiryReturn
XmlTextDoe, John

<element name="PerformInquiryResponse">

<complexType>

     <sequence>

     <element name="PerformInquiryResult" type="xsd:string"/>

   </sequence>

</complexType>

</element>

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 30, 2015 0
Adobe Community Professional ,
Dec 04, 2015

Copy link to clipboard

Copied

Please show us the code that invokes the service. Here is an appetizer from the past

Re: Passing CF variables in soap request

Re: Web Sevices/API

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2015 0
New Here ,
Dec 04, 2015

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 04, 2015 0
Adobe Community Professional ,
Dec 06, 2015

Copy link to clipboard

Copied

Thanks for the bug report.

I have tested the issue further, and made comments in your report.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 06, 2015 1
New Here ,
Dec 07, 2015

Copy link to clipboard

Copied

BKBK-

Thanks for moving this along.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 07, 2015 0
New Here ,
Jan 20, 2016

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

Status

State Open 

Status ToFix 

Reason BugVerified

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 20, 2016 0