cancel
Showing results for 
Search instead for 
Did you mean: 

Premature end of File using SOAP HTTP Axis Receiver

markangelo_dihiansan
Active Contributor
0 Kudos

Hello experts,

I have been getting a "Premature End of File" error in moni. I am using the SOAP HTTP Axis Receiver and have the following modules configured:

Module processing sequence is as follows:


1. afreq
2. dc
3. xireq
4. tph
5. trp
6. xires
7. afres

Only dc and tph were added, the rest are standard

Module conf is below:


dc handler.type java:com.sap.aii.axis.xi.XI30DynamicConfigurationHandler
dc key.0 write http://sap.com/xi/XI/System/SOAP TServerLocation
dc location.0 context
dc value.0 transport.url
tph handler.type java:com.sap.aii.axis.soap.MessageContextPropertiesHandler
tph key.0 set soap12.webmethod
tph key.1 set enableREST
tph value.0 GET
tph value.1 true
trp handler.type java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
trp module.pivot true
xireq handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler
xires handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler

I am also using java mapping to generate the soap envelope and place an empty payload there.

So not sure where is this premature end of file error is coming from.

Regards,

Mark

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

The XML instance contains some invalid data format. The testing is tricky. FIrst check only the payload and see how that works. Then use payload with soap envelope and header and test it. If you have empty payload , atlease enter start xml tag and end xml tag and test.