X

An Oracle blog about Java Technology

Gotcha! in using JAX-WS as Servlet Endpoint

Guest Author



Sameer cartoon

Sameer was trying to deploy some WS endpoints in
GlassFish and the call to
String path = (String)mc.get(MessageContext.PATH_INFO);
always returned null.
Turns out he needed to configure it as
<url-pattern>/jaxws/\*</url-pattern>.
I don't know if this is a bug yet, but I'm passing on the gotcha.

Details in Sameer's blog.


Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.