Sounds reasonable. I might try it Dan's pure-Java way first though as
I don't tend to get on well with Spring though for some reason!
Cheers,
Andrew.
On 19 Feb 2009, at 17:30, Ian Roberts <[email protected]> wrote:
Andrew Clegg wrote:
At the moment that's done for me by CXF. So I have an endpoint
defined
in cxf-servlet.xml:
<jaxws:endpoint id="FrontEndService"
implementor="info.cathdb.funcnet.impl.FrontEndServiceProviderFacade"
endpointName="funcnet:FrontEndPort"
serviceName="funcnet:FrontEndService"
address="/FrontEndService"
wsdlLocation="WEB-INF/wsdl/Services.wsdl">
</jaxws:endpoint>
OK, so the FrontEndService bean is your EndpointImpl. You might be
able
to add a setEndpoint(EndpointImpl ep) method to your
FrontEndServiceProviderFacade class and then do:
<bean id="providerFacade"
class="info.cathdb.funcnet.impl.FrontEndServiceProviderFacade>
<property name="endpoint" ref="FrontEndService" />
</bean>
<jaxws:endpoint id="FrontEndService"
implementor="#providerFacade"
....
to give the implementor a reference to the endpoint. Spring can
sometimes be a bit funny about circular references but I think it
should
be OK in a simple case like this.
Ian
--
Ian Roberts | Department of Computer Science
[email protected] | University of Sheffield, UK