Consuming web services that are not generated by Macromedia ColdFusion MX

To consume a web service that is implemented in a technology other than ColdFusion MX, the web service must have one of the following sets of options:

The following example shows a portion of the WSDL file for the TemperatureService web service:

<binding name="TemperatureBinding" type="tns:TemperaturePortType">
   <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
   <operation name="getTemp">
      <soap:operation soapAction=""/>
      <input>
         <soap:body use="encoded" namespace="urn:xmethods-Temperature" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
         <soap:body use="encoded" namespace="urn:xmethods-Temperature" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
   </operation>
</binding>

The WSDL file for the TemperatureService web service is compatible with ColdFusion MX because it uses rpc as the binding style, and encoding as the encodingStyle.


View comments in LiveDocs