7 Replies Latest reply on Jan 20, 2016 2:25 PM by conanbarb

    cfcomponent wsdlfile method response value getting ignored

    conanbarb Level 1

      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?