cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP response code 500 Error while publishing data from HTTP

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Champs,

we are getting error(HTTP response 500) in source system while publishing data to PI HTTP AAE adapter.

URL:

http://HOST:PORT/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://sap.com/xi/ABC&interface=M...

Regards,

Mani

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Maninkandan,

Have you tried to test with the HTML tool posted by William LI here ?. If the test is right you can try with the URL dynamically constructed in the html.

Are you using the method or the get method?

Regards.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Vila,

I have tried it but getting below error.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

  <title>Error Report</title>

  <style>

    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}

    A:link {color : #0059AA;}

    A:visited {color : #999999;}

    A:active {color : #999999;}

  </style>

</head>

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">

  <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">

    <tr bgcolor="#FFFFFF">

      <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  500   Internal Server Error</b></font></td>

    </tr>

    <tr bgcolor="#3F73A3">

      <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>

      <td height="23"><img width=1 height=1 border=0 alt=""></td>

      <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server </b></font></td>

    </tr>

    <tr bgcolor="#9DCDFD">

      <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>

    </tr>

  </table>

  <br><br><br><br><br><br>

  <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Error: ERROR_IN_MODULECHAIN;ERROR_IN_MODULECHAIN, senderChannel &#39;3fee214dd9f53c91a8050b15e0947544&#39;: Catching exception calling messaging system</b></font></p>

  <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  <a href="https://wiki.sdn.sap.com/wiki/x/wIN3Cw">SAP Technology Troubleshooting Guide</a></b></font></p>

  <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table>

    <tr>

      <td valign="top"><b> Details:</b></td>

      <td valign="top"><PRE>No details available.</PRE></td>

    </tr>

  </table></font></p>

</body>

</html>

Answers (3)

Answers (3)

iaki_vila
Active Contributor
0 Kudos

Hi Manikandan,

Have you checked if your request is compatible with the adapter? HTTP Requests Supported by the Java HTTP Adapter - Advanced Adapter Engine - SAP Library

Have you checked the module tab has the default module?

Regards.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Vila,

Yes its uses default module only.

Regards,

Mani

former_member184720
Active Contributor
0 Kudos

Hi Mani - Can you try by creating another new communication channel??

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Hareesh,

I tried it and getting new error now.

Error in processing
caused by: java.lang.NullPointerException: while trying to invoke the method
java.lang.Object.hashCode() of an

Regards,

Mani

former_member184720
Active Contributor
Former Member
0 Kudos

Hi Mani

The error message you have posted , are using the OLD url format which was containing

/sap/xi/adapter_plain?

The new URL for Java HTTP adapter should have

/HttpAdapter/HttpMessageServlet?

Please change the URL in the new format

http://server:port/HttpAdapter/HttpMessageServlet?interfaceNamespace=&interface=&senderService=&send...

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Indirajit,

Yeah noted but I have tried the below blog to test the Message and got above error "ERROR_IN_MODULECHAIN;ERROR_IN_MODULECHAIN".

http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/05/10/pi-730-http-java-adapter-test-too...

Regards,

Mani

Former Member
0 Kudos

Hi Mani

Changed the quality of service to EO and you will be able to see the messages in MONI.

Use internet explorer while opening the HTTP test tool.

manikandan_shanmugam3
Active Participant
0 Kudos

HI Indrajit,

It is a Sync Scenario so used BE instead EO

Regards,

Mani

Former Member
0 Kudos

Hi Mani

Have you checked the message in PI?

What is your receiver system and how are you getting the response back?

manikandan_shanmugam3
Active Participant
0 Kudos

Hi,

Receiver is ECC and we are using Sync RFC.

Is there any chance that PI is not accepting message due to missing data?

Also I haven't configure anything in Sender HTTP_AAE channel and client is using Plain HTTP.

I have seen User and Password embedded in Error so I think client is using POST protocol.

Regards,

Mani

Former Member
0 Kudos

Hi Mani

Test your interface with the HTTP tool code provided by William. I am using this for a long time and it work for me always.

Use it on internet explorer, fill all the details and click for send.

You should receive the message in PI unless there is any firewall issue between you local m/c

and PI server.

Just to make sure you can push message from local m/c , you can create a dummy interface and a sender agreement in PI. then send the message to PI.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

issue is solved, Messages are reaching PI since mapping is failed in PI , it throws error in Sender system as this is Sync Interface.

Regards,

Mani

former_member184720
Active Contributor
0 Kudos

Hi Mani - May be you can close the thread too..

former_member184720
Active Contributor
0 Kudos

Hi Mani- if you don't have any party.. remove it from the URL and try?