on 12-06-2005 7:00 PM
Hello,
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
RECEIVING
data = l_data.
CALL METHOD server->request->get_header_fields
CHANGING
fields = v_fields.
CALL METHOD server->request->num_multiparts
RECEIVING
num = v_num.
CALL METHOD server->request->get_multipart
EXPORTING
index = v_num
RECEIVING
entity = v_http_entity.
IF NOT v_http_entity IS INITIAL.
CALL METHOD v_http_entity->get_cdata
RECEIVING
data = l_cdata_entity.
ENDIF.
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.
probably proxy authentication issue
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.