cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Adapter Configuration

Former Member
0 Kudos

Hi,

I have a need to do the following in a receiver adapter (SOAP/HTTP):

- Dynamically set the complete web service url (that is http://host.com/somePath)

- Dynamically set SOAP action in HTTP header

- Communicate via HTTPS

Both URL and soap action is in XI received in payload from sender.

The above need to be performed in a way that is scalable - in time solution should be able interact with several hundreds of different web services.

Now as far as I know this is not possible using either SOAP or HTTP adapter.

SOAP does not allow for dynamic conf. of web service url.

HTTP adapter does not allow for a scalable way of setting the complete web service url and at the same time communicating via HTTPS.

I assume this is no bigger deal using adapter module in receiver SOAP adapter.

However adapter modules is not yet allowed at customer.

Anybody got an idea?

Best Regards,

Daniel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The receiver SOAP adapter requires a value in the target url attribute.

Problem was I just inserted a dummy destination a la http://dummy thinking it did not matter what was written.

This then turned out not to be the case. The protocal written in the adapters target url (http/https) determines what is allowed at runtime.

So when I tried to set a https-url at runtime I got an error.

So lesson learned: the protocol of the dummy value inserted in target url must correspond to the protocal expected at runtime. Only 1 protocol can be used at a time in the receiver adapter.

justin_santhanam
Active Contributor
0 Kudos

Daniel,

Did u tried the <b>Variable Transport Biniding</b> Indicator . I haven't tried , but according to the document in help.sap.com. It says we can set Dynamic URL/ SOAP Action.

http://help.sap.com/saphelp_nw70/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm

Please correct me if i'm wrong.

raj.

Former Member
0 Kudos

Hi Raj,

Thanks for your quick reply.

Yes I've tried this - but with no success. TServerLocation seems not to equal 'Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to'. I'm very sure of this.

At time of writing I can't remember the exact error message - believe it was something like 'no scheme' but maybe I'm mixing things up.

SOAP action is no problem neither with SOAP or HTTP adapter - it can be set as a dynamic property in both.

Best Regards,

Daniel

justin_santhanam
Active Contributor
0 Kudos

Daniel,

Thanks for the update. Let me try this and will update you if it works

raj.