Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service with Dynamic Endpoint

GrahamRobbo
Active Contributor
0 Kudos

Can someone give me some guidance on dynamically setting the endpoint for an ABAP web service proxy?

The web service provider has a standard endpoint for user authentication which returns a URL for all subsequent SOAP requests. In other words I need to dynamically alter the endpoint of my SOAP request at runtime.

I have the initial user authentication web service request working fine, I just need to be able to change the target URL for subsequent requests.

I have spent some time walking through the various classes that are used, but every time I think I have found the solution I can't get it to work.

I feel sure I have just hit the limits of my very rudimentary ABAP Objects skills rather than any limitation of the implementation class.

If someone who has done this could post me a code sample I would really appreciate it.

Thanks in advance.

Graham Robbo

4 REPLIES 4

GrahamRobbo
Active Contributor
0 Kudos

Resolved by implementing my own fix using enhancement framework

0 Kudos

Hi Graham,

I have a similar requirement, can you tell me about your enhancement?

Cheers,

James

0 Kudos

Hi James,

unfortunately this fix was 5 years ago at a customer that I no longer work at so I can't look at the code to remind me where exactly I applied this enhancement.

Sorry.

0 Kudos

I was wondering if too much time had past and if you still might have access to where you made the enhancement...........

Oh well, this gives me the opportunity to get more familiar with the standard code via the debugger

Thanks for the quick response, it is much appreciated.

And I'm a big fan of your blogs, especially the latest Call to Arms blog.

Cheers,

James