Basically I'm aiming at deploying many strongly typed services defined
in the wsdl, but servicing each of them using a generic (existing)
mechanism.
If I declare each wsdl defined service in a <jaxws:endpoint /> then
they load and publish successfully. I've subclassed the service
factory to do things like rename the loaded endpoints to get rid of
the generic implementor names..
The config -->
<jaxws:endpoint id="barthenticator"
implementor="ews.service.Implementor"
wsdlLocation="BarthenticatorService.wsdl"
address="/Barthenticator"
serviceName="tns:BarthenticatorService"
xmlns:tns="http://connectivity.ews/">
<jaxws:serviceFactory>
<bean class="service.factory.EWSServiceFactoryBean" />
</jaxws:serviceFactory>
</jaxws:endpoint>
<jaxws:endpoint id="bazthenticator"
implementor="ews.service.Implementor"
wsdlLocation="BazthenticatorService.wsdl"
address="/Bazthenticator"
serviceName="tns:BazthenticatorService"
xmlns:tns="http://connectivity.ews/">
<jaxws:serviceFactory>
<bean
class="com.mincom.ews.service.factory.EWSServiceFactoryBean" />
</jaxws:serviceFactory>
</jaxws:endpoint>
<jaxws:endpoint id="Foothenticator"
implementor="ews.service.Implementor"
wsdlLocation="FoothenticatorService.wsdl"
address="/Foothenticator"
serviceName="tns:FoothenticatorService"
xmlns:tns="http://connectivity.ews/">
<jaxws:serviceFactory>
<bean
class="com.mincom.ews.service.factory.EWSServiceFactoryBean" />
</jaxws:serviceFactory>
</jaxws:endpoint>
Ideally I'd like to achieve all of this programatically - i.e. without
having to knock together a big config file.
Has anyone done something like this before?
Rob