logo       

Re: Soap Header: msg#00145

php.nusoap.general

Subject: Re: Soap Header

The soapclient::call method has a $headers parameter. For the payload below,
you would specify a value for that parameter of

'<AuthHeader xmlns="http://xxx.xxx.xxx/DirectCall/CPWebService";>' . "\n" .
' <Username>string</Username>' . "\n" .
' <Password>string</Password>' . "\n" .
'</AuthHeader>' . "\n"

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: "Jason Roscoe" <jroscoe@xxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, May 26, 2004 9:52 AM
Subject: [Nusoap-general] Soap Header


>
> How do you send Soap Headers as shown below from a wsdl that requires
> headers be sent.
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> <soap:Header>
> <AuthHeader xmlns="http://xxx.xxx.xxx/DirectCall/CPWebService";>
> <Username>string</Username>
> <Password>string</Password>
> </AuthHeader>
> </soap:Header>
> <soap:Body>
> <SearchStuff xmlns="http://xxx.xxx.xxx/DirectCall/CPWebService";>
> <strSearch>string</strSearch>
> </SearchStuff>
> </soap:Body>
> </soap:Envelope>
>
>
> Disclaimer: This e-mail message is intended only for the personal use of
> the recipient(s) named above. If you are not an intended recipient, you
> may not review, copy or distribute this message. If you have received this
> communication in error, please notify us immediately by e-mail and delete
> the original message.
> This e-mail expresses views only of the sender, which are not to be
> attributed to Rite Aid Corporation and may not be copied or distributed
> without this statement.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise