good point. right now you would have to use the Axis2 MessageContext to 
get the values:

        MessageContext context = 
MessageContext.getCurrentMessageContext();
        // use MessageContext APIs like getSOAPHeader(), etc.

we should fix that, so that getting these values is platform-independent. 
we could add the SOAP headers to the MessageHeaders and make them 
available via getCustomHeaders() or something like that.

please create a JIRA item for this, and I'll work on it.

thanks,
Dan



"Vinh Nguyen \(vinguye2\)" <[EMAIL PROTECTED]> wrote on 01/31/2007 
05:35:57 PM:

> I remember that recently there was a discussion on how to send custom
> properties in the request header.  The resolution was a new
> AbstractResourceClient.invoke(String,Element,Element[]) method.  But, I
> haven't seen a corresponding update on the server side on how to get
> those custom properties, particularly in a capability class.
> 
> Is there a way to get the custom header properties from within a
> capability class?  I tried
> Capability.getEnvironment.getAddressingContext().toXML(), but it only
> returns the properties it explicitly knows about (i.e. has methods for).
> 
> Any help is appreciated, thanks!
> -Vinh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to