Tutorial :ColdFusion Webservice Parameter Structures


We are trying to consume web services with ColdFusion.

I am able to interact with the web service for the most part, however, there is one service where ColdFusion is throwing a "Parameters Could Not Be Found" error because the response message in the WSDL for this particular service is a blank parent class. I need to add the specific parameters of corresponding subclass that inherits the class pointed to in the service of the WSDL.

Is there a way to tell ColdFusion to use a certain class definition for the parameters?

Or, is there a ColdFusion tool for showing the acceptable parameter formats for a given WSDL?

Or, is there a way to hook into the ColdFusion code that does the parsing/conversion of the parameter structure from the WSDL?

My guess is that even finding a third-party tool will not help much because I need to know what ColdFusion is going to do, not what the data SHOULD be; I know what it should be.


You can use your own WSDL file, you don't have to use the one generated by ColdFusion, just generate one, customize it and point people to your custom WSDL file instead of the YourComponent.cfc?WSDL url.


This article on consuming complex web services may help:


Also note that if you have a copy of Dreamweaver laying around, it has a tool for inspecting WSDL and generating the required ColdFusion code.


Or, is there a ColdFusion tool for showing the acceptable parameter formats for a given wsdl?

Please see this SO question and answer

Maybe my code samples can help you.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »