We need to expose an @WebService that's included in a Spring-based WAR. The
archive includes a Spring WebApplicationInitializer sub-class replacing the
need for a web.xml file.
What we need to do is replace the following (from an old example of ours)
with java code equivalent:
<bean id="printMonitorVersion"
class="com.foo.printadapter.PrintMonitorVersion"/>
<jaxws:endpoint id="printMonitorVersionSoap"
implementor="#printMonitorVersion"
address="/printmonitorversion">
</jaxws:endpoint>
I've spotted this:
https://github.com/halyph/jaxrs-tutorials-sandbox/blob/master/src/main/java/org/halyph/config/WebAppInitializer.java
But that doesn't expose a bean on a URL
The docs http://cxf.apache.org/docs/servlet-transport.html do not cover
this situation, only non-Spring or web.xml configs, not Spring +
WebApplicationInitialiser.
Pointers welcomed!
James
archive includes a Spring WebApplicationInitializer sub-class replacing the
need for a web.xml file.
What we need to do is replace the following (from an old example of ours)
with java code equivalent:
<bean id="printMonitorVersion"
class="com.foo.printadapter.PrintMonitorVersion"/>
<jaxws:endpoint id="printMonitorVersionSoap"
implementor="#printMonitorVersion"
address="/printmonitorversion">
</jaxws:endpoint>
I've spotted this:
https://github.com/halyph/jaxrs-tutorials-sandbox/blob/master/src/main/java/org/halyph/config/WebAppInitializer.java
But that doesn't expose a bean on a URL
The docs http://cxf.apache.org/docs/servlet-transport.html do not cover
this situation, only non-Spring or web.xml configs, not Spring +
WebApplicationInitialiser.
Pointers welcomed!
James