Hi All, I'm using webservice for a project I'm working on. The basic facts are: 1. I have almost no knowladge of SOAP, webservices, PHP and WSDL samse goes about OO development, only simple structured programming (C, pascal, assembly etc). 2. inspite the above i managed to build a php server using nusoap that being used by a client of mine (this is a special 3rd party software that knows how to get WSDL and send/receive the information needed from a prdefined tables) . the client send information to the server and get the reply from the server that communicate with MySQL server. 3. I'm having HARD time trying to port this server to PHP SOAP. This is done for speed, and future compatability since nusaop is no longer have support. 4. The main issue is that I'm trying to send from the client and array and get back an array reply. 5. here is the WSDL: <?xml version="1.0" encoding="ISO-8859-1" ?> - <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:RegistrationWSDL" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:RegistrationWSDL"> - <types> - <xsd:schema targetNamespace="urn:RegistrationWSDL"> <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" /> - <xsd:complexType name="DataIn"> - <xsd:all> <xsd:element name="MobileNo" type="xsd:int" /> <xsd:element name="PINCode" type="xsd:int" /> <xsd:element name="SWVersionID" type="xsd:string" /> <xsd:element name="GroupID" type="xsd:int" /> </xsd:all> </xsd:complexType> - <xsd:complexType name="DataOut"> - <xsd:all> <xsd:element name="MobileNo" type="xsd:int" /> <xsd:element name="KeyCode" type="xsd:int" /> <xsd:element name="CountryCode" type="xsd:int" /> <xsd:element name="ErrMsg" type="xsd:string" /> <xsd:element name="OpMsg" type="xsd:string" /> <xsd:element name="AppInfo" type="xsd:string" /> </xsd:all> </xsd:complexType> </xsd:schema> </types> - <message name="RegisterRequest"> <part name="RegistrationData" type="tns:DataIn" /> </message> - <message name="RegisterResponse"> <part name="Retrun" type="tns:DataOut" /> </message> - <portType name="RegistrationWSDLPortType"> - <operation name="Register"> <documentation>Register new user</documentation> <input message="tns:RegisterRequest" /> <output message="tns:RegisterResponse" /> </operation> </portType> - <binding name="RegistrationWSDLBinding" type="tns:RegistrationWSDLPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> - <operation name="Register"> <soap:operation soapAction="urn:RegistrationWSDL#Register" style="rpc" /> - <input> <soap:body use="encoded" namespace="urn:RegistrationWSDL" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </input> - <output> <soap:body use="encoded" namespace="urn:RegistrationWSDL" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </output> </operation> </binding> - <service name="RegistrationWSDL"> - <port name="RegistrationWSDLPort" binding="tns:RegistrationWSDLBinding"> <soap:address location="http://localhost:8090/dev/New Folder/RegistrationWSDL.php" /> </port> </service> </definitions> 6. what should be the server code to receive the input array DataIn and send the reply array DataOut. 7. i would welcome any help cause i search the net and this mailing list and couldn't come up with a solution. TIA, Udi -- View this message in context: http://www.nabble.com/sending---receiving-arrays%28cmplextype%29-to-webservice-server-tf3233730.html#a8985291 Sent from the Php - Soap mailing list archive at Nabble.com. -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php