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