Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » HTTP headers in Web service
HTTP headers in Web service [message #199350] Tue, 04 September 2007 11:54 Go to next message
Eclipse UserFriend
Originally posted by:


I have just made a "hello world" web service from a single HelloWorld
class containing one method which returns "hello world". This is done in
eclipse as proposed in the "Creating Bottom Up Web Service" manual.
Everything works as supposed :-)


Is it possible to get some information about the request _inside_ my
HelloWorld object ? For example something like
getJAXRPCRuntimeEnvironment.getHTTPHeaders() ????

Or what can i do ? Any suggestions are welcome

Jon Friis
Re: HTTP headers in Web service [message #199448 is a reply to message #199350] Wed, 05 September 2007 07:17 Go to previous message
Eclipse UserFriend
Originally posted by:

I found the answer and therefore sharing it with the newsgroup (in case
some have a similar problem).

The line:
MessageContext msgContext =

pretty much solves the whole problem, since the MessageContext handle is a
handle to the current Axis Runtime Environment. From here on you can just
start digging into the context and getting pretty much any information you
want, including HTTP headers, SOAP header, etc.

Jon Friis
Previous Topic:Announcing Webtools 1.5.5
Next Topic:XML Validation in Custom Project
Goto Forum:

Current Time: Fri Apr 16 15:26:30 GMT 2021

Powered by FUDForum. Page generated in 0.01419 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top