[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soap-dev
Subject:    Re: How to populate the elements into soap header block?
From:       Scott Nichol <snicholnews () scottnichol ! com>
Date:       2002-10-24 23:17:30
[Download RAW message or body]

I can't think of a way to access the headers from an RPC service.  You
can easily from a messaging service, which gets a copy of the SOAP
envelope.

Scott Nichol

P.S.: You only waited a little over 2.5 hours for a response to your
original question to re-post.  I suggest you develop more patience or
rely on some means other than these lists to answer your questions.  The
lists are not active enough to maintain a timely turnaround.

----- Original Message -----
From: "Omprakash Bachu" <omprakash.bachu@mphasis.com>
To: <om@mphasis.com>; <soap-dev@xml.apache.org>
Cc: <soap-user@xml.apache.org>
Sent: Thursday, October 24, 2002 5:49 PM
Subject: RE: How to populate the elements into soap header block?


> Can any one answer this...?
>
> -----Original Message-----
> From: Omprakash Bachu [mailto:omprakash.bachu@mphasis.com]
> Sent: Thursday, October 24, 2002 3:01 PM
> To: om@mphasis.com; soap-dev@xml.apache.org
> Cc: soap-user@xml.apache.org
> Subject: RE: How to populate the elements into soap header block?
>
>
> I got the below thing done by making...
>
> ... ...
>     Vector params = new Vector();
>     params.addElement(new Parameter("ImgRqGrp", Element.class, root,
> Constants.NS_URI_LITERAL_XML));
>     Header hdr = new Header();
>     Vector hdrEntriesVec = new Vector();
>     hdrEntriesVec.addElement(root);
>     hdr.setHeaderEntries(hdrEntriesVec);
>     Call call = new Call("urn:AddressFetcher", "putListings", params,
hdr,
> Constants.NS_URI_SOAP_ENC);
> ... ...
>
> But still have the question, how to get the header block at service
> implementation side?
>
> thanks
>  Om
>
> -----Original Message-----
> From: Omprakash Bachu [mailto:omprakash.bachu@mphasis.com]
> Sent: Thursday, October 24, 2002 2:11 AM
> To: soap-dev@xml.apache.org
> Cc: soap-user@xml.apache.org
> Subject: How to populate the elements into soap header block?
>
>
>
> Hi all, in order to achieve a template as below, having the
> <SOAP-ENV:Header> element structure, what I need to do?
>
> ----------------------------------------------------------------------
------
> ------------
> <?xml version='1.0' encoding='UTF-8'?>
>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>                    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Header>
> </SOAP-ENV:Header>
>
> <SOAP-ENV:Body>
> </SOAP-ENV:Body>
>
> </SOAP-ENV:Envelope>
> ----------------------------------------------------------------------
------
> --------------
>
> As per my understanding, that "call.setParams(params)" sets the
elements in
> <SOAP-ENV:Body> tag but can anyone send me the sample for setting the
> headers.
>
>
> thanks in advance
>  Om
>
>
> --
> To unsubscribe, e-mail:
<mailto:soap-user-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
<mailto:soap-user-help@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic