Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Unfortunately you can not the way you want.<br> The design is that each endpoint is associated with web service implementor.<br> From <a href="http://jcp.org/aboutJava/communityprocess/final/jsr224/index.html" rel="nofollow">spec</a>: </p> <blockquote> <p>The Endpoint class can be used to create and publish Web service endpoints. An endpoint consists of an object that acts as the Web service implementation (called here implementor) plus some configuration information, e.g. a Binding </p> </blockquote> <p>and on publish (my emphasis): </p> <blockquote> <p>publish(String address, Object implementor)<br> Creates and publishes an Endpoint <strong>for the given implementor</strong>. The binding is chosen by default based on the URL scheme of the provided address (which must be a URL). If a suitable binding if found, the endpoint is created then published as if the Endpoint.publish(String address) method had been called. The created Endpoint is then returned as the value of the method.</p> </blockquote> <p>I remember I also encounter this problem quite a while back which is really bad as I needed to associate 2-3 different implementations with different URLs and it was impossible (got address already bind error).<br> The way I got around this if I recall was to create my own dispatcher.<br> I published an endpoint that accepted web service requests for multiple endpoints and dispatched the request to the corresponding implementation. I worked directly on the SOAP message.<br> But it was possible for me since the xml messages were really simple and quite few.<br> For you I would recommend to publish in different endpoints if your web service implementations are non-trivial and have complicated messages and expect a lot of clients as the endpoint really just deploys a <em>simple</em> http server under the hood. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload