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