Web Services Requests using Nusoap

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • OhWhite@hotmail.com

    Web Services Requests using Nusoap

    am looking at constructing a request in the following format.

    I have used the following code - $result = $client->call('login' ,
    array('username ' ='Scott', 'password' >= '****', 'softwareid' = 5,
    'vendorid' = 7, 'locationid' = 9)); ,but I am unsure to where put the
    request tag in my code.

    Can you please assist?

    The web service request must be in the format below.

    soap:Envelope xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/"
    xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <login
    xmlns="http://www.betfair.com/publicapi/v3/BFGlobalService/">
    <request>
    <locationId xmlns="">0</locationId>
    <password xmlns="">yyyy</password>
    <productId xmlns="">0</productId>
    <username xmlns="">xxx</username>
    <vendorSoftware Id xmlns="">0</vendorSoftwareI d>
    </request>
    </login>
    </soap:Body>
    </soap:Envelope>

    Thanks,

    Best Regards,
    Boulent

  • seaside

    #2
    Re: Web Services Requests using Nusoap


    OhWhite@hotmail .com schrieb:
    am looking at constructing a request in the following format.
    >
    I have used the following code - $result = $client->call('login' ,
    array('username ' ='Scott', 'password' >= '****', 'softwareid' = 5,
    'vendorid' = 7, 'locationid' = 9)); ,but I am unsure to where put the
    request tag in my code.
    >
    Can you please assist?
    I tried NoSOAP as well, but failed due to uncertain reasons. Could you
    please forward
    a larger part of your source-code, in case you managed the task?

    Comment

    Working...