How can Service access header information? [message #206030] |
Tue, 18 December 2007 14:38 |
Eclipse User |
|
|
|
Originally posted by: fsa3.optonline.net
I currently have a servlet that "acts" as a service, e.g. it is executed
by external system via http://myurl/Servlet?ACTION=A1&P1=V1&P2=V2. I want
to also make this available as a proper SOAP service. I created a new
class that takes the appropriate parameters and created a web service via
the WST "Create Web Service" option.
My current servlet code uses a few methods from the HttpServletRequest
that I'm not sure how to access via my SOAP method (namely
getRemoteAddr()).
Any thoughts on this? Also is there a better way to make a servlet into a
web service?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03905 seconds