Skip to Content
0
Apr 22, 2007 at 02:43 AM

Web Service with Dynamic Endpoint

80 Views

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