|
Need help with passing complex type to server: msg#00041php.nusoap.general
Hi, i need to pass complex argument to SOAP server calling function SetCar and i can not figure out which structure in my php code i should create. Can somebody give me a clue? Is it possible with NuSOAP? part of my code and WSDL file is attached. thanx a lot Martin $client = new soapclient($serverpath, 'wsdl'); $pr=$client->getProxy(); $TC = "some session string"; ... $my_car= ??? $result=$pr->SetCar($TC, $my_car); WSDL: <complexType name="ArrayOfstring"> <complexContent> <restriction base="SOAP-ENC:Array"> <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/> </restriction> </complexContent> </complexType> <complexType name="Car"> <sequence> <element name="id" type="int"/> <element name="type" type="string"/> <element name="prize" type="int"/> <element name="specification" type="typens:ArrayOfstring"/> </sequence> </complexType> <message name="import.SetCar"> <part name="TC" type="xsd:string"/> <part name="C" type="typens:Car"/> </message> -------------------- Příjemný design. Příjemnější cena! SIEMENS C62 již od 977 Kč. http://user.centrum.cz/redir.php?url=http://www.oskarmobil.cz/handsets/handset.php ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Host name in wsdl: 00041, Rossi Mauro |
|---|---|
| Next by Date: | Re: problems with wsdl and function call: 00041, Bob Descampa |
| Previous by Thread: | sending more then one packeti: 00041, Bishop, Ryan |
| Next by Thread: | Re: Need help with passing complex type to server: 00041, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |