Eran,
maybe I'm wrong, but I think there's a small problem with the Service
interface. The method defined there does not throw any Exception, while
the "common" implementation (this.inMsgCtx =
opctx.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE)) does (of
course you can add a try-catch bl
can check at
edit time to warn me if I am doing something wrong.
Derek
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 14, 2006 5:21 AM
> To: axis-user@ws.apache.org
> Subject: Re: AW: How to access the SOAPHeader
>
>
Ok guys. its implemented and committed to the code base. You may try it now.
You need to implement org.apache.axis2.Service interface.
-- Chinthaka
Davanum Srinivas wrote:
> +1 from me.
>
> On 7/14/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
>> so lets go for that , AFAIK we only need to c
ailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 8:06 AM
To: axis-user@ws.apache.org
Subject: Re: AW: How to access the SOAPHeader
Rodrigo Ruiz wrote:
> Mmm, yes of course. But I guess you are talking about a mandatory
> interface, like Remote. I am talking about an optional one, like
>
+1 from me.
On 7/14/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
so lets go for that , AFAIK we only need to change DependencyManager to
support that.
Eran Chinthaka wrote:
>Rodrigo Ruiz wrote:
>
>
>>Mmm, yes of course. But I guess you are talking about a mandatory
>>interface, like Remote
so lets go for that , AFAIK we only need to change DependencyManager to
support that.
Eran Chinthaka wrote:
>Rodrigo Ruiz wrote:
>
>
>>Mmm, yes of course. But I guess you are talking about a mandatory
>>interface, like Remote. I am talking about an optional one, like
>>LifeCycle. For example:
>
Rodrigo Ruiz wrote:
> Mmm, yes of course. But I guess you are talking about a mandatory
> interface, like Remote. I am talking about an optional one, like
> LifeCycle. For example:
>
> public interface ContextAware {
> void setOperationContext(OperationContext ctx);
> }
>
> In this case, only t
Mmm, yes of course. But I guess you are talking about a mandatory
interface, like Remote. I am talking about an optional one, like
LifeCycle. For example:
public interface ContextAware {
void setOperationContext(OperationContext ctx);
}
In this case, only those services interested in having thi
Von: Eran Chinthaka [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. Juli 2006 13:47
An: axis-user@ws.apache.org
Betreff: Re: AW: How to access the SOAPHeader
Hi Rodrigu,
Rodrigo Ruiz wrote:
>
> Eran Chinthaka wrote:
>> We didn't want to put any restriction on a user who wanna w
Hi Rodrigu,
Rodrigo Ruiz wrote:
>
> Eran Chinthaka wrote:
>> We didn't want to put any restriction on a user who wanna write a simple
>> java class and expose that as a web service. Thats been the case so far.
>> I hope you can understand that it will make the most common and simple
>> case simpl
Eran Chinthaka wrote:
> We didn't want to put any restriction on a user who wanna write a simple
> java class and expose that as a web service. Thats been the case so far.
> I hope you can understand that it will make the most common and simple
> case simple.
> And I don't see a single reason beh
Hi Thomas,
Haug, Thomas wrote:
> Hi Chinthaka,
>
> Thank you for the quick answer.
> So if I got it right: the Axis2 framework inspects the service class (via
> reflection?), if the service class provides a
> setOperationContext(OperationContext opContext) method. Are there any other
> operat
le to get the SOAPHeader.
Cheers,
Thomas
-Ursprüngliche Nachricht-
Von: Eran Chinthaka [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. Juli 2006 11:53
An: axis-user@ws.apache.org
Betreff: Re: How to access the SOAPHeader
First get access to the message context within the service
implementation cla
First get access to the message context within the service
implementation class following this (http://www.wso2.net/kb/106).
Then from the message context you can get access to the soap envelope
using msgCtxt.getEnvelope()
-- Chinthaka
Haug, Thomas wrote:
>
>
> Hi,
>
> I want to access the SO
Title: How to access the SOAPHeader
Hi,
I want to access the SOAPHeader in my service implementation class.
In Axis 1 I have done soemthing like
SOAPHeader header = null;
//extract the Header from the current SOAP Request
try {
header = (SOAPHeader
15 matches
Mail list logo