Problem with client SOAP

General discussions related to php

Moderators: macek, egami, gesf

gonzaga8200
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Feb 11, 2014 7:43 am

Problem with client SOAP

Postby gonzaga8200 » Tue Feb 11, 2014 7:55 am

HI Everybody

I have a problem with call method

This is the request which is working with SOAPUI

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v9="http://############">
<soapenv:Header/>
<soapenv:Body>
<v9:initSession>
<!--Optional:-->
<testTokenSetRequest webSite="OPDE">

<!--Zero or more repetitions:-->

<!--Zero or more repetitions:-->
<!--Optional:-->

</testTokenSetRequest>
</v9:initSession>
</soapenv:Body>
</soapenv:Envelope>

I'm using nusoap and this is my code

$param = array("testTokenSetRequest"=>array("webSite"=>"ODPE"));
$result = $client->call("initSession",$param);

But it's not working, a java.lang.NullPointerException is returned.

Does anybody know how I can the request with Nusoap ?

Thanks a lot in advanced

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron