cancel
Showing results for 
Search instead for 
Did you mean: 

Http receiver channel works fine. SM59 gives an error

Former Member
0 Kudos

Hi,

I've set up HTTP receiver communication channel with the following details:

addressing type : URL address

target host : cl-test.zzzz.nl

service number : 20212

path : /zz/servlet/runHXML?site=sap&thread=something

authentication data : use logon for NON sap system.

When i send a message it arrives at the receiver side, and i get "succesfully processed" in the sxmb_moni.

I want to use addressing type HTTP destination instead of URL address so i created an HTTP destination (type G) in SM59 with the same details.

But when i perform the connection test i get an Internal Server Error

(~response_line HTTP/1.1 500 Internal Server Error)

I tried replacing the target hostname with the ip-address, but still the same response.

What can be wrong?

Kr

Robert

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hello Robert,

When you try to test the HTTP destination in SM59, XI send a HTTP Post to the target system but with no payload.

In your case I assume that the Target System cannot process this message and hence triggers a Internal server Error - HTTP 500.

Can you use this HTTP destination and try to test the working scenario end to end. This should work.

Regards,

Bhavesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Thx guys,

This works now.

kr

Robert

baskar_gopalakrishnan2
Active Contributor
0 Kudos

HTTP 500 code is normal for SM59 connection. You can reference http destination in the channel and see how that works end to end.