If the response from the webservice is not RPC encoded, then the response object will be a complex object and not a string. You need to parse through it as an array, using the response namespace from your webservice, to get to the data.
Thank for the reply Patrick.
The webservice: "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl" is a document-literal!?
Thanks for the info on the response object from the Webservice - once I get a stable call to the webservice and NO errors - I will get to disecting the response object / stream / thing!
1) What is wrong with my code attempts to call the webservice?
2) Which code attempt would you suggest is the correct/suggested method (or on the right track) - try 1 or try 2?
3) If you could please provide code that makes a call to the webservice mentioned and writes out the result to the console.
I have looked through many many of the Adobe examples, APIs, listings, googled, etc etc...
I've had many varied results and have tried many combinations, just can't seems to piece this puzzle together!
Im trying to figure out all the combinations with AcroScript: (Sync'd only)
Call a document-literal WS with a single response
Call a RPC encoded WS with a single response
Call a document-literal WS with multiple responses
Call a RPC encoded WS with multiple responses