Hi,

(the following is inside a custom message receiver):

List headers = inMessageContext.getAxisMessage().getSoapHeaders();

The list is empty. This is the SOAP Request:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema";>
   <SOAP-ENV:Body>
       <m:echo xmlns:m="http://demo/xsd";>
           <m:param0>echo test</m:param0>
       </m:echo>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks.

Regards,
Angel



On 7/20/07, Gabriela Gheorghe <[EMAIL PROTECTED]> wrote:

Hello,

What axis API are we talking about ? I doubt you can practically have a
null SOAP Header for a non-null SOAP Envelope.

All the best!
Gabriela

On 7/20/07, Angel Todorov <[EMAIL PROTECTED]> wrote:
>
> Hi Gabriela,
>
> But getUse() is only defined in the class SOAPHeaderMessage, as far as I
> can see - what if my message doesn't contain a SOAP Header? Thanks very much
> in advance.
>
> Regards,
> Angel
>
> On 7/20/07, Gabriela Gheorghe <[EMAIL PROTECTED] > wrote:
> >
> > Hi,
> >
> > It is the "getUse()" method.
> >
> > All the best!
> >
> > On 7/20/07, Angel Todorov < [EMAIL PROTECTED] > wrote:
> > >
> > > hi guys,
> > >
> > > How can one obtain the exact SOAP style from a MessageContext
> > > instance? I am currently doing this:
> > >
> > > mc.getAxisOperation().getStyle() ;
> > >
> > > but it returns either "rpc" , "msg" , or "doc", as it can be seen
> > > from the code. What about the additional literal / lit wrapped , etc?
> > >
> > > Thanks.
> > >
> > > Regards,
> > > Angel
> > >
> >
> >
> >
> > --
> > Kind regards / Freundliche Gruesse,
> > Gabriela Gheorghe
> >
> > University of the Federal Armed Forces Munich
> > Fakultät für Informatik
> > Werner-Heisenberg-Weg 39
> > 85577 Neubiberg, Germany
> >
> > Email: [EMAIL PROTECTED] / [EMAIL PROTECTED]
>
>
>


--
Kind regards / Freundliche Gruesse,
Gabriela Gheorghe

University of the Federal Armed Forces Munich
Fakultät für Informatik

Email: [EMAIL PROTECTED] / [EMAIL PROTECTED]

Reply via email to