aspose file tools*
The moose likes Web Services and the fly likes get http properties from jax-rpc ws handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "get http properties from jax-rpc ws handler" Watch "get http properties from jax-rpc ws handler" New topic
Author

get http properties from jax-rpc ws handler

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
hi,

in my http header of soap request, there is a property, SOAPAction. i want to get it in my handleRequest method of jax-rpc ws handler class, is it possible? i could not find a way to communicate with http header in handler class.

Thanks for helps.
Baski Reddy
Greenhorn

Joined: Feb 09, 2010
Posts: 7
What container are you using?
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
i use websphere application server 6
Baski Reddy
Greenhorn

Joined: Feb 09, 2010
Posts: 7
Did you inspect the properties collection within MessageContext? Type cast the MessageContext contex to appropriate WebSphere implementation class for more details.
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
thanks, cast to
com.ibm.ws.webservices.engine.GuardedMessageContext.getRPCContext().getSOAPActionURI()

i can get soapAction url, in fact, the class get the url from wsdl, but not header.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get http properties from jax-rpc ws handler
 
Similar Threads
JWSDP 1.3 - help needed!!
JAX-RPC Handler: Communication with client business logic
WS Addressing in WebSphere 5.1
Axis and HTTP Header Info
JBoss WS client exception