Hello,
Try as I might, I can't find a way to obtain the request URL from
within my Axis2 webapp. I've tried looking in the MessageContext, which
I obtained via:
MessageContext.getCurrentMessageContext();
and I tried from the AxisService I obtained from the returned
MessageContext above. Perhaps its available in
MessageContext.getParameter( String ), but I don't know the exact
parameter name to ask for if that's the case.
Is this information available (its in the HTTP headers, but I need to
get it somehow) ? If not, perhaps there is another way to achieve what I
need. I want to have many urls which resolve to a single web service. So
for example:
http://example.com/category1/service?params....
http://example.com/category2/service?params....
http://example.com/category3/service?params....
All resolve to a single web service, which can find out which category
the user wants by looking at the original request URL. I can't simply
use a category parameter, b/c the parameter list is conforming to a spec
which I have no control over.
Thanks for any info.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org