cancel
Showing results for 
Search instead for 
Did you mean: 

Endpoint Configuration of the Adaptive Web Service Model

Former Member
0 Kudos

Hi,

I’m currently working with the new adaptive web service model. Now I don’t 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 didn’t find any tutorial or detailed help for this. All tutorial about adaptive web service model don't use destinations.

Any help appreciated

Tom

Accepted Solutions (1)

Accepted Solutions (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

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:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff...

hope it helps

regards

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

i hope this link will help you

/people/anilkumar.vippagunta2/blog/2006/12/13/secured-webservices-ii

regards

ambica