logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: RE Nusoap NS:xxxx: msg#00037

Subject: Re: RE Nusoap NS:xxxx

Scott,

 

I copied your code snippet practically verbatim. I have concerns about the line $client = new soapclient($wsdlurl, ‘wsdl’); - in your post you say it should be new nusoap_client, but if I use that, I get a php error claiming that I’m trying to instantiate a non-existant class, so I assumed that it should read new soapclient – If I’m in error here, please correct me.:

 

$wsdlurl = 'http://xmlservice.vip-computers.co.uk/productinformationdetails/AuthenticationDetails.asmx?WSDL';

require_once('tools/nusoap/nusoap.php');

$params = array('username'=>'*********','password'=>'******');

$client = new soapclient($wsdlurl, 'wsdl');

$client->soap_defencoding = 'UTF-8';

$ticketxml = $client->call('Login', $params);

 

But this is the request it generates – you can see that the <username> and <password> tags are completely missing. You can see from the header that I’m using the very latest version of NuSoap – I even downloaded it again just to be on the safe side. Any further help would greatly appreciated.

 

Request

POST /productinformationdetails/AuthenticationDetails.asmx HTTP/1.0
Host: xmlservice.vip-computers.co.uk
User-Agent: NuSOAP/0.7.2 (1.94)
Content-Type: text/xml; charset=UTF-8
SOAPAction: "http://tempuri.org/VipWS/AuthenticationDetails/Login"
Content-Length: 422
 
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns6140="http://tempuri.org">
<SOAP-ENV:Body>
        <Login xmlns="http://tempuri.org/VipWS/AuthenticationDetails"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

 

 

Muchly ta

 

Mark

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general
<Prev in Thread] Current Thread [Next in Thread>