Hi to all,
I have to develop a PHP client calling a web service hosted by Tomcat-Axis
platform...
The signature exposed by the web service is (java-description):
public boolean insert(Account in0);
public Account[] findAll();
public Account[] findWhereUserna meEquals(java.l ang.String in0);
public Account[] findWhereDomini oEquals(java.la ng.String in0);
I have also wsdl in whiche the complex type Account is defined
<complexType name="Account">
<sequence>
<element name="cat" nillable="true" type="xsd:int"/>
<element name="data" nillable="true" type="xsd:dateT ime"/>
<element name="domain" nillable="true" type="xsd:strin g"/>
<element name="idAccount " nillable="true" type="xsd:long"/>
<element name="idProfile " nillable="true" type="xsd:int"/>
<element name="ipAddress " nillable="true" type="xsd:strin g"/>
<element name="password" nillable="true" type="xsd:strin g"/>
<element name="privacy" nillable="true" type="xsd:strin g"/>
<element name="username" nillable="true" type="xsd:strin g"/>
</sequence>
</complexType>
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,
Dom
I have to develop a PHP client calling a web service hosted by Tomcat-Axis
platform...
The signature exposed by the web service is (java-description):
public boolean insert(Account in0);
public Account[] findAll();
public Account[] findWhereUserna meEquals(java.l ang.String in0);
public Account[] findWhereDomini oEquals(java.la ng.String in0);
I have also wsdl in whiche the complex type Account is defined
<complexType name="Account">
<sequence>
<element name="cat" nillable="true" type="xsd:int"/>
<element name="data" nillable="true" type="xsd:dateT ime"/>
<element name="domain" nillable="true" type="xsd:strin g"/>
<element name="idAccount " nillable="true" type="xsd:long"/>
<element name="idProfile " nillable="true" type="xsd:int"/>
<element name="ipAddress " nillable="true" type="xsd:strin g"/>
<element name="password" nillable="true" type="xsd:strin g"/>
<element name="privacy" nillable="true" type="xsd:strin g"/>
<element name="username" nillable="true" type="xsd:strin g"/>
</sequence>
</complexType>
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,
Dom
Comment