Whatever message this page gives is out now! Go check it out!
Consumption features | Publishing features |
Supports WSDL 1.1 and WSDL 2.0 specifications. | Supports WSDL 1.1 and WSDL 2.0 specifications.
|
Axis 2 support in ColdFusion lets you consume web services that publish WSDL in the following styles:
| In ColdFusion, only the following WSDL styles were supported:
Integration with Axis 2 lets you publish the WSDL in the new style Document Literal Wrapped. For publishing WSDL in this style, specify the style attribute as wrapped in cfcomponent. Note that you can specify style attribute as wrapped only if the wsversion specified is 2. |
Supports SOAP 1.1 and SOAP 1.2 protocols.
|
<cfset str = structNew()>
<cfset str.serviceport =
"cfsuite.webservices.axis2.wscf.basic.cfcHttpSoap12Endpoint">
<cfscript>
//invoke method
ws = createObject("webservice",
"http://localhost:8500/cfsuite/webservices/axis2/wscf/basic.cfc?wsdl",str);
</cfscript>
<cfinvoke webservice="#ws#" method="Echo" returnvariable="foo">
<cfoutput>#foo#</cfoutput><struct type='coldfusion.server.ConfigMap'>
<var name='version'>
<string> 2</string> </var>
</struct><cfset this.wssettings.version.publish="1|2"> |
<cffunction name="echoObject" access="remote" returnType="any">
<cfargument name="argObj" type="any">
<cfdump var="#argObj#" output="console">
<cfreturn argObj>
</cffunction><cffunction name="echoComplexStruct" access="remote" returnType="struct">
<cfargument name="argStr" type="struct">
<cfdump var="#argStr#" output="console">
<cfreturn argStr>
</cffunction><cfcomponent
wsversion = 1|2>
style = "rpc|document|wrapped"
....
<cffunction ...>
...
</cffunction>
<cffunction ...>
...
</cffunction>
</cfcomponent>