Hi everyone, I'm using NuSoap with PHP4 and I got some questions about how to use it. I read the NuSoap document, but I didn't find any answer to my questions (I'm a beginner :D) Imagine the method I want to call by using $client->call has the WSDL description as shown below : <wsdl:message name="createMessageRequest"> <wsdl:part name="connectionID" type="xsd:string"/> <wsdl:part name="parentUnitReference" type="tns2:UnitReference"/> <wsdl:part name="content" type="xsd:string"/> <wsdl:part name="title" type="xsd:string"/> <wsdl:part name="attachedLinks" type="impl:ArrayOf_xsd_string"/> </wsdl:message> <complexType name="UnitReference"> <sequence> <element name="messageType" type="xsd:boolean"/> <element name="unitIdentifier" type="xsd:int"/> </sequence> </complexType> So I really can't do something like $ui=2000; // for ex that $ui is unit reference $newmessage=$client->call('createMessage',array($conID,$ui,"Hello world","hi",null)); The NuSoap client method can only take parameters that are string, boolean, integer,... etc but not an object or a complex type as parameter, no? If you are not sure about what I am asking, let me know :) Thanks in advance. Regards. -- View this message in context: http://www.nabble.com/NuSoap-method-%3A-calling-with-complext-type-parameter-t1354830.html#a3627033 Sent from the Php - Soap forum at Nabble.com. -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php