Gotcha! in using JAX-WS as Servlet Endpoint

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.

Comments:

Post a Comment:
Comments are closed for this entry.