cancel
Showing results for 
Search instead for 
Did you mean: 

Non Interface specific URL in Sender HTTP_AAE adapter

sunit_s
Participant
0 Kudos

Hi All

I want to give url to my b2b partner for Http communication. I have set up sender channels for different interfaces using HTTP_AAE adapters.

Hence the URL for interfaces are as follows:

http://###############:5****/HttpAdapter/HttpMessageServlet?interfaceNamespace=urn:sap-com:document:...

&interface=INTERFACE1&senderService=******&senderParty=******&receiverParty=****&receiverService=*****&qos=EO

http://###############:5****/HttpAdapter/HttpMessageServlet?interfaceNamespace=urn:sap-com:document:...

&interface=INTERFACE2&senderService=******&senderParty=******&receiverParty=****&receiverService=*****&qos=EO

http://###############:5****/HttpAdapter/HttpMessageServlet?interfaceNamespace=urn:sap-com:document:...

&interface=INTERFACE3&senderService=******&senderParty=******&receiverParty=****&receiverService=*****&qos=EO

1. Is there any way I can set up one non interface specific URL for all interfaces for each B2B partner, as don't want to give too many urls to my partner.

Please suggest how to accomplish this

2. and also is there any way I can set up small alias for above long URL's?

Thanks all.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Sunit,


1. Is there any way I can set up one non interface specific URL for all interfaces for each B2B partner, as don't want to give too many urls to my partner.

The only way to do this is to generate a two scenarios architecture. The first scenario  take the sender message and copy that to the receiver. In this point you need to have the same XML in all cases to determine to use the XPATH option in the receiver determination in ID, i think you will have different cases, then you can do a java/XSL mapping, with the payload data you determine a new output XML payload tag to set the receiver, this depends of your payload business logic and you would need to develop the appropriate code.

The second scenarios will be your actual scenarios. You only need to skip the extra tags introduced in the first scenario.

Regards.

former_member184720
Active Contributor
0 Kudos

Hi Sunit - AFAIK - It might not be possible to have a common URL for all the intrefaces.

For your second question, you might want to check the possibility of web dispatcher redirect feature(if you have) with you basis team which helps in URL shortening.

sunit_s
Participant
0 Kudos

Thanks

Can you please share more info about web dispatcher?

Can we sent up some alias for long URL in NWA of PI?

Regards


former_member184720
Active Contributor