We could add an additional constructor which passes in the WSDL:
new EndpointImpl(bus, object, bindingUri, wsdlUrl); Internally this would just do: serverFactoryBean.getServiceFactory().setWsdlUrl(wsdlUrl); Regards, - Dan On 12/4/06, Jim Ma <[EMAIL PROTECTED]> wrote:
Hi all , I just found we do not set the wsdl url for the ServiceFactoryBean in CXFServlet . ServiceFactoryBean still get the wsdl location from the annotaion by invoking JaxWsConfiguration . When we deployed the war to another machine , the service will fail to start because it can not find the wsdl . To fix this issue , I think we need to add a method in EndpointImpl to create EndpointImpl with (bus, implementor , abstractWsServiceFactoryBean). Thoughts ? Regards Jim
-- Dan Diephouse Envoi Solutions http://envoisolutions.com | http://netzooid.com/blog
