Hi,

I have the following in my spring beans.xml
<jaxws:client id="wsClient"
              serviceClass="bib.bob.bab.InternalPortType"
              address="http://172.28.5.234:8080/feed"; >
</jaxws:client>

<http:conduit name="http://172.28.5.234:8080/services.php?s=vacancyfeed";>
<http:client ReceiveTimeout="1000" ConnectionTimeout="1000" Connection="Keep-Alive" />
</http:conduit>

This means that I need to recompile and redeploy my war file in order to change the web service address. I would like to do this using JNDI so that I can deploy the same war to testing and live environments, but I can't work out how to do it.

Is there are way to set the URL (and conduit) from JNDI using spring?
If not, how can I change the URL of the generated client from code?

Thanks.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to