cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime exception occurred during application mapping com/sap/xi/tf/_MM_SUMA_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Premature end of file.

emir_morillo2
Explorer
0 Kudos

Hi SCN,

I have one error with PI 7.1

When I test the Interface Determination the Sender Agreement no load the Payload.

The scenario is SOAP->SOAP.

Someone has an idea of this error

Regards,

Emir Morillo

Accepted Solutions (0)

Answers (5)

Answers (5)

emir_morillo2
Explorer
0 Kudos

Hi, I'm trying to ICO from SoapUI

SOAP->SOAP

SOAP Sender Uncheck "Do Not Use SOAP Envelope"

SOAP Receiver Check "Do Not Use SOAP Envelope"

Error: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtime204

SOAP Sender Uncheck "Do Not Use SOAP Envelope"

SOAP Receiver Uncheck "Do Not Use SOAP Envelope"

Error: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

SOAP Sender Check "Do Not Use SOAP Envelope"

SOAP Receiver Uncheck "Do Not Use SOAP Envelope"

Error:NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Payload.getInputStream() of a null object returned from com.sap.aii.adapter.xi.ms.XIMessage.getMainPayload


Someone know the reason for the error?

former_member186851
Active Contributor
0 Kudos

If you select " Dont use soap Envelope" Option proper soap header should be appended.

And since the payload is empty, null pointer error is thrown.

emir_morillo2
Explorer
0 Kudos

Hi, the test fail without payload

Now, when I include the structure from MM source message, the test is correct

Hi Ernesto,  i'll try with ICO and tell them

Regards.

former_member186851
Active Contributor
0 Kudos

As I told its excepting a payload,Since its empty this error is triggered

Former Member
0 Kudos

Hi Emir,

Glad my suggestion worked.

It is good forum etiquette to mark mark question as answered and start a new thread for a different question.

-Aaron

ernesto_cruz
Participant
0 Kudos

Hi Emir, a tip for the creation the your interface:

* You can create a Scenario and include a ICO object, This manner your scenary would have two channels, two Business Systems and one ICO.

Regards!

former_member186851
Active Contributor
0 Kudos

Its expecting some structure and your giving empty payload..

Former Member
0 Kudos

Why is your payload empty? Paste a copy of the expected XML input there in the box, you can grab it from the mapping designer, view source on your test message.