cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP adapter and dynamic target URL

former_member737583
Participant
0 Kudos

My scenario: synchronous communication ABAP Proxy <=> XI <=> External WebServices.

There is a need to have configurable (dynamic) target URL for SOAP Adapter. This target should be configurable from ABAP Proxy. Any idea how can I achieve my goal?

Some additional notes why I need configurable target URL. I've multiple WebService instances which has identical interfaces and the only difference is target URL. I see no need to define for each webservice different SOAP Adapter. The other thing is that customer want to have configuration of destination (target) url on backend system (where ABAP Proxy is used).

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

If u can use HTTP adapter instead SOAP, then u have dynamic URL option. With HTTP adapter, u will have to create the SOAP header in mapping.

OR

Use Adapter-Specific Message Attributes - TServerLocation

http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm

Regards,

Prateek

former_member737583
Participant
0 Kudos

Just a completion. There is a need of creation java method which will be called during message mapping which replace original http address

henrique_pinto
Active Contributor
0 Kudos

Check http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm

It's possible to set the URL for Soap dynamically.

(...)

To process adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator and the Variable Transport Binding indicator.

You can evaluate the following attributes in the message header:

Description: You can set the entire URL.

Technical name: TServerLocation

(...)

Answers (0)