cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Receiver Adapter - Dynamic URL

Former Member
0 Kudos

Has anyone tried modifying SOAP URL dynamically using UDF in the mapping?. I searched Forum and couldn't get right answer. Does it work with Adapter Specific settings and variable transport binding? Please donot post links to other posts unless it got an answer or atleast close to being answered. We are on PI7.0. Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi,

I think it is not possible . Because Target URL field is webservice provider URL.But adapter specific Attributes talks about set server url .

To know more about Configuration Parameter-

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

Actually I did not try out this. anyway give a try..

Regards,

Moorthy

Former Member
0 Kudos

Hi Moorthy, I get URL within Payload. Is it possible to set Target URL based on payload?. How would anyone achive dynamic target URL setting then?. Is there any workaround for this. We may have to send to 20 different Target URLS to invoke webservice and I certainly donot want to have 20 duplicated scenarios. Any help would be appreciated..

moorthy
Active Contributor
0 Kudos

Hi,

Workaround may be calling one static URL , and then inside this application based on data , you can call different application.

Or useage of Java Proxy.

But anyway , my suggestion is , just try it out with existing soap configuration. I agree that, it is not advisable to 20 different scenarios.

So try it out. Or if somebody has achieved then it is great.

Regards,

Moorthy

Former Member
0 Kudos

Hi,

I have similar situation. My target URL lookslike this

http://devlsales.test.com:8000/soap/services/AdapterService which is a working right now.

With Variable transport binding ( TServerLocation ), Can I change http://devlsales.test.com from above URL to

http://devlprofits.test.com and remaining text same resulting

http://devlprofits.test.com:8000/soap/services/AdapterService by using UDFs.

Thanks

ST

Thanks

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

One option if nothing works~~ Try using the HTTP adapter instead of the SOAP adapter and create the SOAP envelope in your mapping.

HTTP adapter allows DYnamic URL and Header Fields.

Regards,

Bhavesh