PHP-Axis: complex type

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dom

    PHP-Axis: complex type

    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



  • Janwillem Borleffs

    #2
    Re: PHP-Axis: complex type

    Dom wrote:[color=blue]
    > 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)?
    >[/color]

    You might find the following to be of interest:

    Founded in 1997, DEVShed is the perfect place for web developers to learn, share their work, and build upon the ideas of others.



    JW



    Comment

    • Dom

      #3
      Re: PHP-Axis: complex type

      [color=blue]
      > You might find the following to be of interest:
      >
      > http://www.devshed.com/c/a/PHP/Using-XML%98RPC-with-PHP[/color]

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

      Bye


      Comment

      Working...