Skip to Content

https post with XML message


I am trying to receive an XML message from an external customer. We are not using XI, but web as instead.

I have a class with interface - IF_HTTP_EXTENSION

and then a SICF service where the handler is my class.

Inside the class, the code is:

METHOD if_http_extension~handle_request.

TYPE-POOLS: swfty.

DATA: ALL relevant declarations


DATA: v_http_entity TYPE REF TO if_http_entity.

DATA: l_cdatatab TYPE TABLE OF string.

DATA: l_name TYPE string,

l_value TYPE string.

DATA: wcl_xml TYPE REF TO zcl_s_xml_read.

DATA: w_payload TYPE string.

DATA: w_request TYPE string.

DATA: w_ack_status TYPE char1.

CALL METHOD server->request->get_data


data = l_data.

CALL METHOD server->request->get_header_fields


fields = v_fields.

CALL METHOD server->request->num_multiparts


num = v_num.

CALL METHOD server->request->get_multipart


index = v_num


entity = v_http_entity.

IF NOT v_http_entity IS INITIAL.

CALL METHOD v_http_entity->get_cdata


data = l_cdata_entity.


Some reason I am getting a connectivity error - http 500..any ideas? It works good when I test internally but doea not work when my customer sends a signal.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 07, 2005 at 07:24 AM

    probably proxy authentication issue



    Add comment
    10|10000 characters needed characters exceeded

    • you mean IISproxy as we do have a iisproxy in the dmz iis server that is routing requests..surprising this is it works great when I do a https post with a browser, but when it's a b2b software that does the https post, I get a http 500 error.