PHP-Axis: complex type

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi to all,

I have to develop a PHP client calling a web service hosted by Tomcat-Axis

The signature exposed by the web service is (java-description):
    public boolean insert(Account in0);
    public Account[] findAll();
    public Account[] findWhereUsernameEquals(java.lang.String in0);
    public Account[] findWhereDominioEquals(java.lang.String in0);

I have also wsdl in whiche the complex type Account is defined

<complexType name="Account">
     <element name="cat" nillable="true" type="xsd:int"/>
     <element name="data" nillable="true" type="xsd:dateTime"/>
     <element name="domain" nillable="true" type="xsd:string"/>
     <element name="idAccount" nillable="true" type="xsd:long"/>
     <element name="idProfile" nillable="true" type="xsd:int"/>
     <element name="ipAddress" nillable="true" type="xsd:string"/>
     <element name="password" nillable="true" type="xsd:string"/>
     <element name="privacy" nillable="true" type="xsd:string"/>
     <element name="username" nillable="true" type="xsd:string"/>

How can I pass input parameter to insert method (it requires an Account
object) and how can I process results from findXXX methods (they return an
array of Account)?

Thanks in advance,

Re: PHP-Axis: complex type

Dom wrote:
Quoted text here. Click to load it

You might find the following to be of interest:


Re: PHP-Axis: complex type

Quoted text here. Click to load it

I want to use PHP-NuSOAP and Axis-SOAP not XML-RPC....


Site Timeline