Consuming a web service
Hello,
I'm trying to consume a web service that retrieves address data based on a zip code. I am using the following code to invoke the operation, but the output is cryptic:
Webservice: http://www.bronzebusiness.com.br/webservices/wscep.asmx?op=cep
<cfif IsDefined("Form.GetInfo")>
<cfinvoke webservice="http://www.bronzebusiness.com.br/webservices/wscep.asmx?wsdl" method="cep" returnvariable="cepResult">
<cfinvokeargument name="strcep" value="#Form.strcep#">
</cfinvoke>
<cfoutput>#cepResult#</cfoutput>
</cfif>
<form method="post" action="#cgi.script_name#" target="_self">
<input type="text" name="strcep" /><input type="submit" value="sumit" name="GetInfo" />
</form>
Can someone figure out what I am doing wrong?
