Skip to Content
0
Former Member
Sep 22, 2005 at 01:09 PM

RFC->SAP XI->PLAINHTTP SYNC causing Problem

29 Views

Hi,

I am trying to set up a Scenario that sends a synchronous

Request from SAP via RFC to a selfwritten HTTP Receiver,

using the Plain HTTP Adapter. I want to receive my request

by my server (that part works allready)and send my response through the same connection back.

Everytime I send something back I get an

<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>

<SAP:P1>402</SAP:P1>

<SAP:P2>ICM_HTTP_TIMEOUT

My response looks like this (and references the request message ID)

POST /?msgguid=AF49CDF02A7911DAA426000854D162F4&service=

BS_HttpTestService&namespace=http%3a%2f%2fhchgmbh%2ede%2fxi%2fTestRFC2HTTPScenario_1&interface=MI_TESTHTTPMESSAGE HTTP/1.0

content-type: text/xml

content-length: 256

connection: close

accept: /

user-agent: BS_HttpTestService

host: 192.168.1.225:44831

accept-encoding: gzip

<?xml version="1.0" encoding="UTF-8"?>

http://hchgmbh.de/xi/TestRFC2HTTPScenario_1">

<HAUPTKNOTENRES><RFELD1>Anton</RFELD1><RFELD2>Myer</RFELD2><RFELD3>rules</RFELD3></HAUPTKNOTENRES></ns:MT_TESTHTTPMESSAGE_RESPONSE>

1. Is that scenario working that way?

2. If not, what do I have to response(message format)?

Please help, I am new to that HTTP Stuff...

Kind regards

Daniel