0 Replies Latest reply on Oct 24, 2016 5:42 PM by mitche11

    Publish web services programmatically into currently running JBoss container

    mitche11

      Hi,

       

      I need to publish web services programmatically, at runtime, in a JBoss server.  I can use the Endpoint.publish API to publish my services, but this seems to use the HTTP server that comes with Jave SE, rather than the currently running JBoss server.  So I then came across the org.jboss.as.webservices.publish.EndpointPublisher API that looks like it allows you to publish endpoints in the currently running JBoss Application Server container.  However I couldn't find any examples online of using this API to publish an endpoint, which was a little worrying.  Does anyone use this?  And is this still the recommended way of dynamically publishing endpoints?  Or is there some way of plugging in the JBoss container into the JAX-WS Endpoint.publish API?

       

      Thanks for any advice,

       

      Kevin