Re: [Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
pondre à axis-user@ws.apache.org A axis-user@ws.apache.org cc Objet Re: [Axis2] Getting the soap style Hi, (the following is inside a custom message receiver): List headers = inMessageContext.getAxisMessage().getSoapHeaders(); The list is empty. This is the SOAP Request:

Re: [Axis2] Getting the soap style

2007-07-20 Thread p . casenove
Hi, The list is empty because there is no header in your SOAP message. There should be a SOAP-ENV:header tag in your request. pierre "Angel Todorov" <[EMAIL PROTECTED]> 20/07/2007 13:01 Veuillez répondre à axis-user@ws.apache.org A axis-user@ws.apache.org cc Objet Re: [Ax

Re: [Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
Hi, (the following is inside a custom message receiver): List headers = inMessageContext.getAxisMessage().getSoapHeaders(); The list is empty. This is the SOAP Request: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsi=" http://ww

Re: [Axis2] Getting the soap style

2007-07-20 Thread Gabriela Gheorghe
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

Re: [Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
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 bes

Re: [Axis2] Getting the soap style

2007-07-20 Thread Gabriela Gheorghe
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",

[Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
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. Regard