Tyler Nelson wrote:
Hi Dan,
I'm trying to use the Services.xml syntax with a simple web service with Xfire 1.0 . I want to include a wsdl with the wsdlUrl element , however it looks like that is not valid element any longer. How would you recomend me injecting the wsdl without going back to the Spring only syntax. It seems the only way to do it would be extends ServiceBean and have it call another method in a ServiceFactory.

Thanks,
   Tyler


Hmm, it would appear that property is completely missing! Maybe the subject should be "dump developers create dumb services.xml syntax" :-)

I will get it added it in for the 1.1beta release I am trying to cut right now. In the meantime you can add a bean post processor which grabs the service bean and does:

serviceBean.setWSDLWriter(new ResourceWSDL(urlToWSDL));

- Dan

--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog

Reply via email to