Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

NULL bytes in HTTP Response

Former Member
0 Kudos

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?

2 REPLIES 2

ec1
Active Participant
0 Kudos

Hi Rauno,

Have you resolved your problem above?

If not, my suggestion is to republish the web service again. There may be some changes to the RFC parameters that need to be reflected in the web service.

Moreover, test your web service with Soap UI to make sure that it has been created correctly.

Hope this helps.

Regards,

Stevanic

Former Member
0 Kudos

I did not create the web service. I only consume the info it provides. I can not make any changes in the web service. It is a regular REST service not a SOAP service. So testing it with SOAP UI is pretty much out of the question.