cancel
Showing results for 
Search instead for 
Did you mean: 

How to send the message from Integration Engine to AAE ?

Former Member
0 Kudos

Hi All,

   We are having 2 PI Instance. First as Inner PI which on 7.11 & oue is outer PI which is in DMZ on 7.3 JAVA Only Stack.

Our Problem is unlike in previous version we could able to send the message from one PI to another PI system using HTTP adapter.

the Path we had given was /sap/xi/adapter_plain. since it is dual stack in both the cases it was going to ICM. now in case of new PI 7.3 JAVA stack,

what should be the URL i need to pass from my Internal PI --> HTTP receiver Channel To New PI 7.3.

pl. also let me know the reverse path to send the message from Outer PI to Our Inner PI.

do i need to creaate the HTTP Destination in Inner PI to outer PI ?

Pl. explain in detailed?

Regards,

Umesh

PS : If i used the same url in path in inner PI while configuring HTTP receiver Channel  : it is giving  Following Error.

<SAP:P1>400</SAP:P1> 

<SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can refer to my blog

how to send msg from AAE to IE.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/05/31/how-to-send-message-from-aae-to-i...

And also refer to answer

Former Member
0 Kudos

Hi,

  do you have any reversal document which explain from IE to AAE.

I am still getting the following error. in our Internal PI.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>  - <!-- -->

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>

<SAP:P1>500</SAP:P1>

<SAP:P2>Internal Server Error</SAP:P2>

<SAP:P3>Internal Server Error</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

getting the following error in my Outer PI (7.3)

Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: XIMSG_BUILDING_ERROR, Invalid Message ID. com.sap.guid.GUIDFormatException.

I want to send you the screen-shot of my ID configuration for both Inner & outer PI. How can i attached .DOC files here.?

Regards,

Umesh

Former Member
0 Kudos

Hi, Umesh

Please config the username and password on your receiver channel, or add them to the url

Former Member
0 Kudos

hi justin,

   can u explain in detailed... any screen-shot.... send me the complete URL...

Former Member
0 Kudos

Hi, Umesh

You can use below url with username and password:

http://<server>:<port>/HttpAdapter/HttpMessageServlet?interfaceNamespace=test.com&interface=Test_Out...


Or you add the username and password under the security selection of receiver  http channel.

See my blog.

It is the DMZ PI account

Former Member
0 Kudos

hi justin,

   which is your blog. pl. give me the link....

   for your info i had give the userid & password in HTTP receiver Channel(Inner PI 7.11) under Authentication data.

   i have not give this in URL. but still it is givng the same error.

regards,

Umesh

Former Member
0 Kudos

Hi Umesh,

In your HTTP receiver channel (for Inner PI to Outer PI) point it to a URL as below:

http://<host>:<port>/HttpAdapter/HttpMessageServlet?interfaceNamespace=senderNamespace&interface=Sen...

Make sure to create a ICO with this senderBusinessSystemSenderInterface  and senderNamespace and put a HTTP sender channel in Inbound processing.

From your Outer PI to inner PI provide following URL in the receiver HTTP channel:

http://<host>:<port>/sap/xi/adapter_plain

Thanks

Rakesh Sharma


Former Member
0 Kudos

Hi Rakesh,

    I have 2 question in this, That means I will Have to create a seperate HTTP Channel for each scenario? From Inner PI to Outer PI .....In earlier Case I could have mangaed this with single Receiver HTTP Channel.

what is ICO ?

   From My Outer PI to Inner PI which method I will have to choose..What is POST & GET (Message Protocol).

   is there any document which will show me step by step how to do this.

   while configuring the Sender at the outer PI (7.3)  what is to be given in main payload parameter Name?

   is it Mandatory  to create HTTP Sender Channel ?

Regards,

Umesh

Former Member
0 Kudos

Hi Umesh,

As your outer PI system is a single stack, you have to create a ICO (Integrated configuration object) in outer PI system. This ICO object will contain a HTTP_AAE channel in inbound processing. Since you have to send a msg from inner PI (7.1) to outer PI (7.3, single stack), create a HTTP receiver channel in inner PI system and provide the Inbound HTTP Adapter URL. This inbound HTTP adapter will be present in the inbound processing of the ICO.

http://<host>:<port>/HttpAdapter/HttpMessageServlet?interfaceNamespace=senderNamespace&interface=SenderInterface&senderService=senderBusinessSystem&qos=qualityOfService

Thanks

Rakesh


Former Member
0 Kudos

Dear Rakesh,

     what do you mean by "This inbound HTTP adapter will be present in the inbound processing of the ICO. "

I have created the reciver HTTP Channel in my Inner PI. given the URL also the way you have mentioned. created the same configuration at PI 7.3. (Communication Component /namespace & Interface ).

I have also created the HTTP Sender Channel in ICO inbound processing.

which method i will have to select GET / POST. what does it mean.

can i used HTTP destination to connect from Inner PI to outer PI.

Regards,

Umesh

Former Member
0 Kudos

Hi Umesh,

Inbound HTTP adapter/comm channel means the one present in your inbound processing to receive HTTP request

Select POST method. You can also use HTTP destination, instead of providing URL directly to connect from Inner PI to Outer PI.

Thanks

Rakesh

Former Member
0 Kudos

Dear Rakesh,

  If i used HTTP destination then which URL i will mentioned there.?

whether it will be common for all scenario or specific to each scenario?

what is the meaning of GET & POST. which method to use when?

in sender HTTP channel at the outer PI. I have used POST method.

Regards,

Umesh

Former Member
0 Kudos

You have to specify the URL which I specified in my earlier answer.

http://<host>:<port>/HttpAdapter/HttpMessageServlet?interfaceNamespace=senderNamespace&interface=SenderInterface&senderService=senderBusinessSystem&qos=qualityOfService


This will route the message to ICO containing these specific Business system, Interface and namespace.

You can use different HTTP receiver channel in inner PI system to point to its corresponding ICO object in outer PI system.

Thanks

Rakesh