Hi all,
I have a WSDL which has the soap address pointed to a service in the
production environment. I would like to create a client from this WSDL but I
would like to use the service in the development environment and not in the
production.
ANd now, my questions are:
1. Can I change the soap address in the WSDL to point to the
service
in the development environment?
2. Or, should I change the serive URL in the client code after
generating it from the WSDL?
If I follow step 1 then I keep getting the exception whenever I
try to
vall the service: Parameter xxxxx doesn't exist.
If I follow step 2 then:
a.) firstly, I get the UnknownHostException
b.) I couldn't find a way to change the URL in the
client.
I know in XFire I can use this:
org.codehaus.xfire.client.Client.getInstance(service).setUrl(service_url);
I'm using:
Eclipse Europa 3.3.x + STP
CXF 2.0.8
Tomcat 6.0
Any help is really appreciated.
Thanks.
--
View this message in context:
http://www.nabble.com/Web-Service-URL-to-be-changed-in-the-client-tp19656864p19656864.html
Sent from the cxf-user mailing list archive at Nabble.com.