I'm on Spring 2.5
I'm using tha native JAX-WS provided by my application server Java EE 5.
I did create a "pure Java interface" HelloService class and a "pure Java implementation" HelloServiceImpl class.
I've annotated them with @Webservice @WebMethod @WebParam
The application server correctly detects this webservice and exposes it in http://<hostname>/<contextPath>/<webServiceName> i.e http://myhost/myapp/HelloWorldService
The problem is that these are "pure java" classes, and there I've not the ApplicationContext.
I do NOT want to use this:
I wish that the application server will manage the "publication" of the webservice and NOT spring.
<property name="baseAddress" value="http://localhost:9999/"/>
I suppose that currently the ApplicationServer does initialize HelloServiceImpl classes.
So I suppose that setting it as a spring bean (where I can inject all the services I need) might cause some issue, who will initialize the webservice implementation? Spring or the AppServer?