I have to consume a web service that returns an array of a
complex type.
The wsdl looks as below:
Request: POST /UserManager/usermanager.asmx HTTP/1.1
<soap:Body>
<GetMargins xmlns="
http://tempuri.org/" />
</soap:Body>
Response: HTTP/1.1 200 OK
<soap:Body>
<GetMarginsResponse xmlns="
http://tempuri.org/">
<GetMarginsResult>
<string>string</string>
<string>string</string>
</GetMarginsResult>
</GetMarginsResponse>
</soap:Body>
--------
The service is currently in my LAN. If I call the service
with the code below:
<cfinvoke
webservice = "
http://oecdevel/usermanager/usermanager.asmx?wsdl"
method = "GetMargins"
returnVariable = "stGetMarginsResponse">
<cfscript>
I get response: org.tempuri.ArrayOfString@465545dd
I have been trying to create a struct, etc but I have had not
luck at all.
How can I read the response? Please help. Thanks in advance.