cancel
Showing results for 
Search instead for 
Did you mean: 

Bubble Exception on PI( Single Stack )to PI (Single Stack) Connectivity

Former Member
0 Kudos

Hi Experts ,

We are connecting a single stack PI system (Customer) to another PI  System(Bank).We are using SOAP adapter with XI3.0 to send IDOC messages successfully  from Customer to Bank. But when Bank sent Text messages using SOAP adpater with XI3.0 we are getting the below Bubble Exception.

Transmitting the message to endpoint <local> using connection HTTP_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: HTTP Response Received. Status Code = 500 [null

For this reason as per the link  PI 7.31 Single Stack SOAP: call failed: com.sap... | SCN  we have tried  using  SOAP1.1  instead of XI3.0 to connect from BANK to Customer .But since the scenario is a pass through / bypass scenario sending text files , It is failing as  the SOAP1.1 is expecting XML files if am not wrong.

Please let us know the reason for the bubble  exception.Is it any authentication issue ??.Kindly  note that we are using PISUPER as logon user to send the Text files from BANK PI to Customer PI.


Please help.Thanks in Advance .


Regards,

Tibin Joseph

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Tibin,

SOAP with XI 3.0 is usually used when you are trying to connect to backed ABAP system with proxy , why dont you go with SOAP 1.1 as protocol ?

Br,

Manoj

Former Member
0 Kudos

Hi Manoj.

As per the blog  . We can use the url http(s)://host:port/XISOAPAdapter/MessageServlet?ximessage=true to send messages using SOAP XI.30 to Java only stack  and we have successfully send XML files also .

But while using the same url in Customer side to send some text files to us , they are getting bubble exception.

I have tried using SOAP 1.1  using both below links , but unable to send the messages because the scenario is a pass through scenario transferring TEXT files , but it supports for XML files.


1. http://host:port/XISOAPAdapter/MessageServlet?channel=p:s:c

2. http://host:port/XISOAPAdapter/MessageServlet?senderParty=FP&senderService=FS&interface=IF&receiverP...

Error Details

  1. 10.03.2016 10:37:35.520 message.Error SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
  2. 10.03.2016 10:37:35.522 message.Error MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
  3. 10.03.2016 10:37:35.522 message.Error SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
  4. 10.03.2016 10:37:35.524 message.Error Exception caught by adapter framework: SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
  5. 10.03.2016 10:37:35.525 message.Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
  6. 10.03.2016 10:37:35.528 message.Information The asynchronous message was successfully scheduled to be delivered at Thu Mar 10 10:42:35 IST 2016
  7. 10.03.2016 10:37:35.528 message.Information Message status set to WAIT

Please help.

Tibin

former_member186851
Active Contributor
0 Kudos

So Tibin,

Why don't have simple one to one mapping and convert Text to XML files?

The requirement is to pick the file and send to Webservice?

Former Member
0 Kudos

Hi Raghuraman,

Communication is between PI to PI.

File --- PI -------PI --------File.

The requirement is customer will send Text files from there PI system to our PI system and the text files has to drop into a folder in our PI system.

We want the file as it is what customer sends.

Regards,

Tibin

former_member186851
Active Contributor
0 Kudos

Hello Tibin,

Just a suggestion.

You can configure the customer PI with receiver File channel to place the File directly in the PI target directory of urs right?

Why making a Soap call here?

manoj_khavatkopp
Active Contributor
0 Kudos

you get HTTP 500 if you have not done header mapping in your customer PI system.

Former Member
0 Kudos

Hi All..

Thank you everyone to help to solve the issue.

When we used Virtual receiver  in our ICO .We are able to send the Files.

Thanks

Tibin

former_member186851
Active Contributor
0 Kudos

Great Tibin..Nice infy..:)

former_member182412
Active Contributor
0 Kudos

Hi Tiben,

I just want to give you the reason why we need to create virtual receiver in ICO.

When you use SOAP with XI 3.0 in the URL we are not going to send any information about sender business system, interface and namespace, it will read from soap header like below.

ICO must be look like below.

So in your target PI system ICO must match above values then only system identifying the correct ICO for this message, initially you did not enter the receiver business system in ICO (using virtual receiver) that is why you got 500 error, If you want to see what is actual error you can see it in Further Links->Log Viewer. it probably complaining about CPA object not found.

Regards,

Praveen.

Answers (2)

Answers (2)

vicky20691
Active Contributor
0 Kudos

Hi Tibin,

Agreeing with Manoj first of all choose SOAP channel with HTTP protocol to connect to next PI system.

We choose XI3.0 to connect to abap backend system, and we can connect PI to PI with soap (http).

Regards,

Vikas

Former Member
0 Kudos

Hi Vikas,

If XI3.0 is used for abab back end system  the url used is http(s)://host:port/sap/xi/engine?type=entry .

What will be the use of http(s)://host:port/XISOAPAdapter/MessageServlet?ximessage=true then with XI3.0?

Clarify please.

Regards,

Tibin

vicky20691
Active Contributor
0 Kudos

Hi Tibin,

The sap/xi/engine URL is used for dual stack PI system.

The XISOAPAdapter/MessageServlet is used for single stack PI system.

You want to connect from dual stack to PI single stack then in dual stack receiver channel input the 2nd url with XI3.0 protocol.

500 error is as exactly manoj suggested. Infact all the responses by Manoj are worthy here. Please check header mapping as also suggested in the blog which you have referred.

Regards,

Vikas

former_member186851
Active Contributor
0 Kudos

Hello Tibin,

IDOC with Soap adapter??

Requirement is bit confusing.

as Manoj suggested if its webservice call change the protocol to SOAP 1.1

Anyways if you can provide us the more details on the scenario can you help out.