You could give the endPointUrl different when you are calling webservice from java code.
Like these cases are used when you have different environments e.g. testing, production etc. So you could read the url from properties file set it in endPointUrl.
HTH
Regards
--
Chirag Manocha
Emforium Software Pvt. Ltd.
Contact :- +91-98735-47457, +91-98263-19099
Please don't print this Email unless you really need to - this will preserve trees on planet earth.
----- Original Message -----
> From: "vivtops86" <
[hidden email]>
> To:
[hidden email]
> Sent: Wednesday, July 28, 2010 9:44:41 PM
> Subject: Making wsdl URL dynamic
> I have successfully called a webservice using the definition:
>
> <service name="testSoap" engine="soap" export="true"
> location="
http://localhost:8080/webtools/control/SOAPService"
> invoke="testScv"> <description>Test SOAP service; calls the OFBiz test
> service</description> <attribute name="message" type="String"
> mode="IN" optional="true"/>
> <attribute name="resp" type="String" mode="OUT"/>
> </service>
>
> Is there anyway to make the value of location dynamic?
> -- View this message in context:
>
http://ofbiz.135035.n4.nabble.com/Making-wsdl-URL-dynamic-tp2305224p2305224.html> Sent from the OFBiz - User mailing list archive at Nabble.com.