web services - Consuming .asmx webservice using coldfusion error -
i trying consume .asmx webservice in coldfusion. can view wsdl when trying access methods gives me error: webservice operation ... parameters ... cannot found
i have tried add refreshwsdl = true
stated in other similar stackoverflow questions no luck.
what missing?
<cfinvoke webservice = "urlhere.asmx?wsdl" method="loginrequest" returnvariable ="result" refreshwsdl="true" > <cfinvokeargument name="oid" value="a"> <cfinvokeargument name="username" value="b"> <cfinvokeargument name="password" value="c"> </cfinvoke>
here part of wsdl:
<s:schema elementformdefault="qualified" targetnamespace="http://blahblah"> <s:element name="loginrequest" type="s0:loginrequest" /> <s:complextype name="loginrequest"> <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="oid" type="s:string" /> <s:element minoccurs="0" maxoccurs="1" name="username" type="s:string" /> <s:element minoccurs="0" maxoccurs="1" name="password" type="s:string" /> </s:sequence>
any ideas ?
thanks!
you can try method described in below link.
Comments
Post a Comment