Skip to main content
Participant
February 18, 2010
Question

Using a custom wsdl for a web service

  • February 18, 2010
  • 1 reply
  • 756 views

I've been asked to create web service that works according to specific WSDL
provided by the other party who would be using the service.  Is there a way to load that WSDL into the web service and have it us it instead of the one that Coldfusion generates by appending ?wsdl?

This topic has been closed for replies.

1 reply

Inspiring
February 19, 2010

<cfcomponent style="document" wsdlfile="myPath">

<cffunction name="myName" returntype="myType" access="remote" output="false">

</cffunction>

</cfcomponent>

For complete control of the WSDL, advanced users can specify the cfcomponent wsdlFile attribute to use a predefined WSDL file…

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-78a6.html

wsdlFile attribute specifies the path to a properly formatted WSDL file which is to be used instead of WSDL generated by ColdFusion…

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e0e.html

Consuming web services that ColdFusion does not generate…

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-78b4.html