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.

http://www.mindfiresolutions.com/coldfusionmaking-a-call-to-a-web-service-with-complex-object-as-input-parameter-1228.php


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -