on 04-30-2007 11:51 AM
Hi,
Im currently working with the new adaptive web service model. Now I dont know how to change the endpoint (for example in different development stages).
I would like to avoid reimporting the model for every server change.
I found a solution how to set the endpoint in code (for every request object). But this solution seems to me even worse than the old configuration file.
Is this really the suggested way?
Another option could be creating web service destinations, but I didnt find any tutorial or detailed help for this. All tutorial about adaptive web service model don't use destinations.
Any help appreciated
Tom
Hi Thomas,
check out this link, which tells about the destination in web services:
http://wanghui1225.googlepages.com/UnderstandLogicalDestinationsofAdapt.pdf
a simple configuration of destination:
hope it helps
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot. This WSIL thing is very strange. Average web service projects will have some problems.
I don't have a wsil file (and I don't care about).
So my only solution is to use not destinations and a plane web service model instead. If I want to have some easy configurable settings I have to write some lines of code on each controller which reads configuration like endpoint and similar things from a property file and change the settings by code.
Not the best solution I guess.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can be done.But did not work well for me because of proxy configurations , u can try.
in the do init method
Request_blah rserv = new Request_blah();
rserv.wdSetInvocationModifier(new IWDWSInvocationModifier() {
public void doModifyInvocation(Object port) {
HTTPControlInterface httpItf = HTTPControlFactory.getInterface(port);
SOAPHeaderInterface soaptf = SOAPHeaderIFactory.getInterface(port);
// timeout for this WS invocation is 120 sec.
// don't use global config. setting of WS-Runtime
httpItf.setEndpointURL("endpoint");
}
public void doModifyAfterInvocation(){}
});
Message was edited by:
vasuki lm
Hi
i hope this link will help you
/people/anilkumar.vippagunta2/blog/2006/12/13/secured-webservices-ii
regards
ambica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.