Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with complex datatypes
Message
De
12/09/2005 02:19:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048564
Message ID:
01048626
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform