Skip to Content
0
Former Member
May 06, 2013 at 12:51 AM

Regarding dynamic receiver determination using mapping for Proxy to SOAP sync call

40 Views

Dear Experts,

I need help for the below issue.

Here is my requirement.

  1. I have a synchronous proxy to WEB SERVICE scenario. It is working fine.
  2. Now as per the new requirement, we have a field i.e. “COUNTRYID” in the input structure.

I have to do the mapping in such a way that every time, when a new country comes, it should route to the new TARGET URL (based on country) and SOAP ACTION and get a response. At a time only one country will come in one record. Instead of creating multiple channels, I want to configure only one SOAP channel and handle the receiver URL and ACTION dynamically in mapping.

i.e. when the value of "countryID" changes, it should hit to a different target URL and a SOAP action.

I have followed the below sdn link, but it is giving HTTP 401 ERROR. I have done as mentioned in the URL.

http://scn.sap.com/community/b2b-integration/blog/2012/09/16/dynamically-providing-url-and-action-values-to-receiver-soap-communication-channel

I have checked the adapter specific message attributes under advance tab. Also, configured the below settings under the module tab of the communication channel

localejbs/AF_Modules/MessageTransformBean Transform.ContentType text/xml

Please help.

Regards

Veeru