cfcomponent style attribute

I recently ran into a situation where someone needed to call one of my web services, but they could only generate a proxy class if my wsdl file and service were rpc encoded. It turns out that there several different wsdl and SOAP message styles. The most common are rpc/encoded and document/literal.

There is a very good IBM article about the differences between the different styles.

ColdFusion MX 7.0.1 supports the two most common styles now. Macromedia's livedocs has examples of how to change styles using the style attribute.

If you need to change the style to document/literal, all you have to do is change the style attribute in the cfcomponent tag to document.

<cfcomponent style="document" >

Comments
Pendrive's Gravatar It’s very good article. Great site with very good look and perfect information.
# Posted By Pendrive | 1/15/08 12:16 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.6.001.