11 Replies Latest reply on Sep 18, 2012 12:58 PM by Steve Sommers

    Consume Web Service In Coldfusion Error


      I'm having a problem using cfinvoke or adding this web service url in the coldfusion admin.


      <cfinvoke returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes" method="PostData">



      I get the error for cfinvoke


      "Cannot generate stub objects for web service invocation. "



      http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. WSDL:

      http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. java.io.IOException: ERROR: Missing element inFault "SQLException" in operation "SQLException", in binding GetRates It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors. "


      and in the administrator


      ""Error creating web service. Please ensure that you have entered a correct Web Service name or URL.""


      The url is 




      page loads fine in a browser...



      I do see an issue being brought up here in the wsdl, but I have no idea why...this isnt my wsdl btw..


      <wsdl:operation name="GetRates">
      <wsdl:input message="ns:GetRatesRequest" wsaw:Action="urn:GetRates"/>
      <wsdl:output message="ns:GetRatesResponse" wsaw:Action="urn:GetRatesResponse"/>
      <wsdl:fault message="ns:SQLException" name="SQLException" wsaw:Action="urn:GetRatesSQLException"/>
      line 3

      any ideas?


      Thanks for any help...