Skip to Content
0
Former Member
Dec 05, 2013 at 08:11 AM

NULL bytes in HTTP Response

1139 Views

I send HTTP request to web service using an RFC (type G) I created in SM59. The thing is that another RFC I have works excellently. I test consuming of this webservice using an function module I created. I send request and read response and the response is always empty. The header seems to have 1 field but this field is empty and body is also empty. I see this error when checking the trace file in SMICM:

[Thr 139993935935232] *** ERROR => NULL bytes in HTTP Response {000d97a5} [http_plg_mt.c 6325]

[Thr 139993935935232] CONNECTION (id=13/104357):

used: 1, type: default, role: Client(2), stateful: 0

NI_HDL: 181, protocol: HTTPS(2)

local host: 192.168.53.30:55469 ()

remote host: 78.24.199.90:12506 ()

status: READ_RESPONSE

connect time: 05.12.2013 09:27:16

WP-status: ROLLED IN (Context: 2, Role: 2)

tid: 52, mode: 0, uid: 18761, roll-reason: ICM_ROLL_NONE

MPI request: <c0da> MPI response: <c0d9>

request_buf_size: 0 response_buf_size: 65464

request_buf_used: 0 response_buf_used: 32

request_buf_offset: 0 response_buf_offset: 0

[Thr 139993935935232] BINDUMP of content denied

[Thr 139993935935232] IcmPlCheckRetVal: Plugin retval: PLUGIN_RET_ERROR (701)

[Thr 139993935935232] IcmHandleNetRead(id=13/104357): read_len: 32, HandleNetData returned: 701

[Thr 139993935935232] MPI<c0da>3#9 Cancel 7 -> MPI_OK

[Thr 139993935935232] MPI<c0d9>4#5 Cancel 7 -> MPI_OK

[Thr 139993935935232] PlugInStopConn: role: Client(2), error: -21, write_err: 1

[Thr 139993935935232] PlugInStopConn: role: client->write error response

[Thr 139993935935232] MPI<c0d9>4#7 GetOutbuf -1 0 0 (0) -> (nil) 20971520 MPI_EBROKEN: pipe broken/canceled

[Thr 139993935935232] *** ERROR => IcmPlAllocBuf: MpiGetOutbuf failed (rc = 7(MPI_EBROKEN: pipe broken/canceled)) [icxxplugin_m 1192]

What could be the cause of this?