on 03-22-2007 11:25 AM
hi all...
Do any one know how to pass the url directly in the http destination so that on change of server manual hardcore is not required
Hi,
You want to pass the url of your webservice to the destination? and you don't want to hard code it? right.
You can get the <webservicename>Impl var = ModelName.getServiceImple();
and then you can use
String url_target = var.getConfig1PortDocument()._getProperty(
var.getConfig1PortDocument().ENDPOINT_ADDRESS_PROPERTY)
+ "";
Hope this helps.
Plz reward points.
Abhinav Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai ,
wdContext.currentRequest_XXX.modelobject()._setHttpDestintaionName("http destionation");
or
wdContext.currentRequest_XXX.modelobject()._setEndpoint("webservice url");
regards,
naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you please explain in detail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.