• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfcomponent wsdlfile method response value getting ignored

New Here ,
Nov 25, 2015 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

465

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
community guidelines
Community Expert ,
Nov 26, 2015 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.

Votes

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
community guidelines
New Here ,
Nov 30, 2015 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>

Votes

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
community guidelines
Community Expert ,
Dec 04, 2015 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

Votes

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
community guidelines
New Here ,
Dec 04, 2015 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.

Votes

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
community guidelines
Community Expert ,
Dec 06, 2015 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.

Votes

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
community guidelines
New Here ,
Dec 07, 2015 Dec 07, 2015

Copy link to clipboard

Copied

BKBK-

Thanks for moving this along.

Votes

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
community guidelines
New Here ,
Jan 20, 2016 Jan 20, 2016

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines
Resources
Documentation