users@glassfish.java.net

Re: JSR-109 and web.xml url-patterns

From: Dhiru Pandey <Dhiru.Pandey_at_Sun.COM>
Date: Fri, 28 Apr 2006 12:15:36 -0700

This looks like a spec. violation. We are investigating it.

-Dhiru

Mark Hansen wrote:

> I'm deploying a Provider<Source> as a servlet endpoint. I'd like to be
> able to specify a url-pattern as something like /myendpoint/*, so the
> SOAP messages destined for any address ending in myendpoint/p1,
> myendpoint/p2, etc. get sent to that same Provider<Source>.
>
> This seems to work with GlassFish. But, I read in JSR-109 that:
>
> Servlet Mapping. A developer may optionally specify a servlet-mapping,
> in the web.xml
> deployment descriptor, for a JAX-RPC or JAX-WS Service Endpoint. No
> more than one
> servlet-mapping may be specified for a servlet that is linked to by a
> port-component.
> The url-pattern of the servlet-mapping must be an exact match pattern
> (i.e. it must not
> contain an asterisk (“*”)).
>
> So, what is the story here? Can I use a /myendpoint/* or not? If not,
> how can I deploy a Provider<Source> for the above use case?
>
> Thanks,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>