A few hours ago I got the responses from Dave, Brad and Chad.
I checked into all three and learned from each of them.
Much appreciated.

I have solved my problem.
It all boiled down to using getSOAPResponse which returns an XML 
document, then using toString() and then saving it in a file.

In case someone else makes the same mistake I did, I have included the 
following summary.

A. What I was having problems with:
ws = createObject("webservice", 
"http://localhost:8501/invoice/tempService.wso?wsdl";);
oInvoiceSet = ws.WS12_GetInvoiceInfo(CustomerAccount, sAccessCode);

B. What works for me:
ws = createObject("webservice", 
"http://localhost:8501/invoice/tempService.wso?wsdl";);
 ws.WS12_GetInvoiceInfo(CustomerAccount, sAccessCode);
xmlInvoiceSet = getSOAPResponse(ws);


In A, oInvoiceSet is an object of class tempuri.org.TInvoiceInfoSet
    A bit trick to work with.
    I successfully converted it to a struct but that was tedious and ...

In B, xmlInvoiceSet is an XML document object
   Applying toString() to it then I can save it in a file
   The really good part is I can use functions like XMLTransform(doc, 
xsltFile) to change it around before saving it in a file.
   Or maybe I can even convert it to something that I can directly 
create an Excel spreadsheet from.


Thanks again Dave, Brad and Chad for the replies to my question.

Archie










>
>   


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284741
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to