logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: <SOAP-ENV:Body>: msg#00112

Subject: Re: <SOAP-ENV:Body>
It would be a big help if you could post the WSDL.  Without that, I am left to 
guess that the service you are connected to is doc/lit, in which case you 
should try something like

    $result = $client->call("ValidateUserRequest", array('parameters' => 
$param));

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "John Donovan" <johnd@xxxxxxxxxxx>
To: "Nusoap List" <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, October 20, 2004 3:26 PM
Subject: [Nusoap-general] <SOAP-ENV:Body>


> I have a soap request parameters question.
> 
> I am trying to connect to a client web service using nuSOAP.  I have the
> following code in my php page:
> 
> 
> $client = new soapclient('AuthenticateTest.wsdl', 'wsdl');
> $param = array ("userId"=>"iatest1", "userPassword"=>"iatest1");
> $result = $client->call("ValidateUserRequest",$param );
> print_r($result);
> 
> 
> //THIS IS THE SOAP REQUEST I AM TRYING TO GET
> <SOAP-ENV:Body>
> <ns1:ValidateUserRequest xmlns:ns1="http://xxx.xxx.ASP/Authenticate";
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
> <userId xsi:type="xsd:string">id1</userId>
> <userPassword xsi:type="xsd:string">pwd1</userPassword>
> </ns1:ValidateUserRequest>
> </SOAP-ENV:Body>
> 
> 
> //THIS IS THE REQUEST MY CODE GENERATES
> <SOAP-ENV:Body>
> <ValidateUserRequest xmlns="http://xxx.xxx.ASP/Authenticate"/>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> 
> If you notive my <SOAP-ENV:Body><ValidateUserRequest> Has no userid and
> password parameters.  This is my first time using nuSOAP and I am a little
> lost as to why this is occuring.  If anyone could point me in the correct
> direction I would greatly appreceiate it.
> 
> Thank you for your time, John
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
>


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>