Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with complex datatypes
Message
From
12/09/2005 02:19:20
 
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048564
Message ID:
01048626
Views:
22
This message has been marked as the solution to the initial question of the thread.
Hi,

>im creating object with mssoap.soapclient30
>then calling a method with "TssVerify"
>soap.tssverify(inpservicecode,inpcompanyinfo,inpcustomerinfo,inpacctinfo)

when working with the high level interface I build each complex type into an xml string according to the documentation from wsdl.
inpservicecode = [<LocID>"9502"</LocID>] + ;                             
   [<Company>"xyz</Company>] + ;
   [<companykey>"6969"</companykey>] + ;
   [<email>"foo@mycompany.com"</email>]
When interfacing with the java/axis/tomcat world this is enough to carry parameters, but there might be other issues like custom session state via cookies or exception translation, which can be slightly different from MS-Soap behaviour.

I communicate via the low level interface, where you have the Serializer helping you to build your query XML. That way I am *also* able to work directly on the returned XML without automatic interference of the high level modules trying to interpret the return string.

Another way might be to redefine the WSDL locally <g>.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform