cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java Proxy Server

Former Member
0 Likes
311

Hi Experts,

So sorry to ask many question and some basic questions.

File ->XI ->Java....XI -> Java i am using Java Proxy.

For the Java Proxy, my java programmer is doing the code. My question -> during we pass the value from SAP PI to Java Application via Java Proxy we need to call the thirdparty .class or .java at our NWDS right before we deploy. I dont see any where also the thirdparty .class or .java is been written in NWDS or SAP PI.

I dont see anywhere thirdparty class or java in our NWDS or SAP PI.

Thank you in advanced experts.

regards,

S.Saravannan

View Entire Topic
former_member854360
Active Contributor
0 Likes

Hi ,

PI will pass the data to Proxy via the proxy receiver data type created in PI.

inside the proxy you can access the data manipulate the data and pass it to the Java application.

Suppose you are passing the data to java proxy.

Proxy request:

<Value>

<Num1>3</Num1>

<Num2>6</num2>

</Value>

Inside the java proxy you can access the data and using the java code you can add NUM1 and Num2 and retun the result.

Proxy Response

<Sum>

<Value>9</Value>

<sum>

for doing this summation you can call your third party java API also.

Suppose java API has sum method.

Then call in SUM(Num1,Num2) then it will return sum value