I believe that from the MessageContext you can get the
HttpServletRequest, and from that, the request headers.

Jeff

On 6/18/07, Walker, Jeff <[EMAIL PROTECTED]> wrote:


Hi,
I'm using Axis 1.3.
I have a need to see all of the HTTP Headers in the incoming request from
the client to the service. I tried retrieving all of the property names from
the MessageContext in my handleRequest(MessageContext context), but none of
them seemed to be the HTTP Headers I am looking for. I need to see this kind
of information in front of the SOAP envelope:

...
POST /ExampleWebService/services/ExampleAxisService
HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.3
Host: 127.0.0.1:4321
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 445
...

I caught the above using TCPMon, but I'd like to do the same in the source
code, preferrably in a Message Handler class, or something.
Thanks,
-jeff


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

Reply via email to