on 12-12-2005 11:11 AM
Hi all
I need to dynamically modify end point for a web service model without reimport/rebuild/deploy.
When I invoke ws I can't change end point url, but I can change it only in NWDS model properties.
This is very inefficient when I need to maintenance my application (for example in develop/test/production
steps).
There's any way to change ws url? SLD? Configuration file?
Thanks
Andrea
Hi Andrea,
Use following code to change endpoint dynamically.
wdContext.current<model node>Element().modelObject()._setEndPoint("<End point>");
Write this code before executing your WS model.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrea,
You cannot change the end point of the web service without reimporting the web service model.
No other way to do.
regards,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.