cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Received HTTP response code 400 : bad http request

alejandro_gmez
Participant
0 Likes
6,658

Hi all:

I'm trying to connect to my XI server using an RFC in my SAP Development environment. For test, I'm using SE37 tcode.

I've configured all in XI (Integration Builder: configuration and design). After using SE37, I obtain an error message:

**************************************************************************************************************************

>>>> RfcAbort called by external program ...

handle = 3

text = call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 400 : bad http request

>>>> < accepted > REG <ac: 2> >>> FLUSH (READ) (55993265)

UUID: send_rfcuuid EF089295-8E3D-9E45-B140-A8C0A645DCCE

>>>> < accepted > REG <ac: 3> >>> WRITE (55993265)

000000 | 01010008 01020101 01010000 01010103 |................

000010 | 00040000 020B0103 0106000B 04010002 |................

000020 | 01000200 00002301 06000700 0D31302E |......#......10.

000030 | 3133372E 37332E31 30340007 00110001 |137.73.104......

000040 | 52001100 12000436 34302000 12001300 |R......640 .....

000050 | 04343644 20001300 08000978 69647365 |.46D ......xidse

000060 | 72766572 00080006 000E5A4E 54535F53 |rver......ZNTS_S

000070 | 45415243 485F5849 00060514 0010EF08 |EARCH_XI........

000080 | 92958E3D 9E45B140 A8C0A645 DCCE0514 |...=.E.@...E....

000090 | 04030012 5246435F 45585445 524E414C |....RFC_EXTERNAL

0000a0 | 5F41424F 52540403 0402007F 63616C6C |_ABORT......call

0000b0 | 20746F20 6D657373 6167696E 67207379 | to messaging sy

0000c0 | 7374656D 20666169 6C65643A 20636F6D |stem failed: com

0000d0 | 2E736170 2E616969 2E61662E 72612E6D |.sap.aii.af.ra.m

0000e0 | 732E6170 692E4465 6C697665 72794578 |s.api.DeliveryEx

0000f0 | 63657074 696F6E3A 20526563 65697665 |ception: Receive

000100 | 64204854 54502072 6573706F 6E736520 |d HTTP response

000110 | 636F6465 20343030 203A2062 61642068 |code 400 : bad h

000120 | 74747020 72657175 65737404 02FFFF00 |ttp request.....

000130 | 00FFFF00 00000000 00000000 00000000 |................

>> CPIC native call CMSEND convid: 55993265 17:25:44,349

<< CPIC native call CMSEND convid: 55993265 17:25:44,349

>>>> < accepted > REG <ac: 4> >>> FLUSH(WRITE) (55993265)

>> CPIC native call CMDEAL convid: 55993265 17:25:44,349

<< CPIC native call CMDEAL convid: 55993265 17:25:44,364

>>>> < accepted > REG <ac: 5> >>> FLUSH(WRITE) (55993265)

>>>> < accepted > REG <ac: 6> >>> ABORT (55993265)

>> CPIC native call coxabort convid: 55993265 17:25:44,364

<< CPIC native call coxabort convid: 55993265 17:25:44,364

>>>> < accepted > REG <ac: 7> >>> CLOSE (55993265)

>> CPIC native call coxclose convid: 55993265 17:25:44,364

<< CPIC native call coxclose convid: 55993265 17:25:44,364

>>>> < accepted > REG <ac: 8> >>> FREE (55993265)

<* RfcAbort *>

It was obtained from one of the RFC trace files.

Thanks in advance (and excuse my bad English),

Alejandro Gómez.

View Entire Topic
Former Member
0 Likes

Hi,

you are sending a request, which is not a proper HTTP request...

HTTP is a protocol at there is a standard how the request should like. If you send some other data, you will get this error.

Check the HTTP requests on the web and rectify your HTTP request according that.

Peter