cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a dataInputStream - HTTP Adapter

Former Member
0 Kudos

Hi Experts,

Scenario: HTTP -> XI -> RFC

Problem statement:

Sender(oracle agile system) is trying to send data to XI thru HTTP protocol. When it is configured with the correct URL, the doesnot reaches XI. Just to test with, Sender was configured to send data to a JSP page the same HTTP protocol, it reaches the JSP page successfully. In JSP its coded to received the data using DataInputStream class.

Part of JSP code:

DataInputStream in = new DataInputStream(request.getInputStream());

Question:

If the data can be read as a DataInputStream in JSP, how can we receive it in XI?

Please suggest.

Thanks,

Karthik

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Karthik,

The best way I have found to debug potential differences between products is to take look at the protocol directly. Try using the tcpmon tool (Apache) to tunnel the http traffic. See this thread for info on where to get it:

The ports will be different from the thread above. Perhaps something like this:

java -classpath axis.jar org.apache.axis.utils.tcpmon 8000 your.xi.server 8000

Then have Oracle post to the server where the http tunnel is running. Your PC IP address perhaps (if network access allows). For example, once the tunnel is running, change the url in Oracle from this:

http://your.xi.server:8000/sap/xi/adapter_plain?service=xxx&namespace=xxx&interface=xxx&qos=EO

To this:

http://PC.IP:8000/sap/xi/adapter_plain?service=xxx&namespace=xxx&interface=xxx&qos=EO

If this doesnu2019t help highlight the issue, click u201Csaveu201D after you run a test through the tunnel and paste the text from the file into the forum. Note: be sure to XXXX out sensitive information that may be in the data (i.e. Passwords, Host names, IP addresses etc.)

Thanks,

-Russ

former_member181985
Active Contributor
0 Kudos

From your previous thread I know that you are sending binary data from oracle agile system.

Is that so........

Then you didnt check all my replies properly............