cancel
Showing results for 
Search instead for 
Did you mean: 

Java Proxy Server

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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

Basically this what happens, you need to create request target data structure and generate java proxy objects on the inbound interface and provide them to java application team. They will work on your proxies to process data in java application side. As PI guy, you just need to create data structure and provide proxies to them. Also you will use java type business system in the configuration. Rest are all same. Dont be panic. Still if you have doubt, elaborate still more questions. First try to understand the data flow via pi.

Follow this [link|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1922] [original link is broken] [original link is broken] [original link is broken];. That is good enough.

Former Member
0 Kudos

HI Mr Baskar,

Thanks a lot for you reply.

-> Also you will use java type business system in the configuration.

My process file -> SAP PI - JAVA system

My Java system is installed in separated server and i have defined at Third Party.

One of the senior has adviced me to use third party.

If i declare the Java system as third party, is it going to give any problem to my process?

former_member854360
Active Contributor
0 Kudos

You can have a look on this new web services java proxies:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508bb504-87cf-2c10-2aaf-f3a5df75e...

And if u want to generate java proxy from ESR , import ur xxx.zip files under NWDS and refer these links:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23...

Changes in PI7.1 Java Proxy:

http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0

Java server proxy

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

Java client Proxy:

/people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

Libraries for java proxy development:

http://wiki.sdn.sap.com/wiki/display/XI/XIlibrariesfor+development

former_member854360
Active Contributor
0 Kudos

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