cancel
Showing results for 
Search instead for 
Did you mean: 

from javaAppl -> RFC to javaAppl -> PI-> RFC

former_member188019
Active Participant
0 Kudos

Hi,

currently a java application is directly calling an RFC of SAP System.

so current scenario: javaAppl->RFC

for some reason, now we have to insert PI inbetween.

something like:

javaAppl -


whichAdapter -


>PI----- RFC_Adapter -


>RFC

in this scenario, from PI to RFC, i think we can use RFC Adapter,

but for, javaAppl to PI, what technonlogy/Adapters we can use.

what all changes we need to do in the javaApplication.

how it can be possible that can result in minimal changes in the javaApplication.

thanks,

Madhu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>

> Hi,

> currently a java application is directly calling an RFC of SAP System.

> so current scenario: javaAppl->RFC

>

> for some reason, now we have to insert PI inbetween.

> something like:

> javaAppl -


whichAdapter -


>PI----- RFC_Adapter -


>RFC

>

> in this scenario, from PI to RFC, i think we can use RFC Adapter,

If Java application wants to talk with PI then we have to go with java proxy.

If you can modify yours java application and call a webservice that will host in XI then you have to go with SOAP Adapter.

Similar for HTTP adapter.

So there are three options: SOAP, XI or HTTP.

former_member188019
Active Participant
0 Kudos

>Kenny Scott wrote

>>you could consider using Java Proxies

>Farooq Farooqui wrote

>>If Java application wants to talk with PI then we have to go with java proxy.

these java proxies are to be implemented as add-ons (separate functionality) between javaAppl and PI ?or,

the proxy functionality should it be the part of the javaAppl.?

i am asking this, to find the impact how much of the existing javaAppl needs to be changed/enhanced.

for creating java proxies, if we can develop standalone java functionality and call the proxies from javaAppl (similar to what we do in ABAP proxies).

thanks,

Madhu.

former_member200962
Active Contributor
0 Kudos

The JAVA proxies are developed in the ID of SAP XI......

This document introduces you to JAVA proxy:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/a068cf2f-0401...

This document describes an end-to-end scenario using JAVA proxy and has a JAVA application (source) calling SAP XI system through JAVA proxy:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

Regards,

Abhishek.

Answers (3)

Answers (3)

Former Member
0 Kudos

Madhu,

They can either use SOAP or HTTP. For using SOAP you need to create the wsdl and give them the wsdl. Check this document for how to do this:

http://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?...

Also check this help for some more information:

http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

If you use SOAP and if you want to skip the adapter engine and post to the integration engine then see this stefans blog (which will increase the performance):

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Java Proxies is also an option to use. Please check sap help for this.

Regards,

---Satish

kenny_scott
Contributor
0 Kudos

Hi Madhu,

you could consider using Java Proxies,

i.e.,

[Integration Using the Java Proxy Runtime|http://help.sap.com/saphelp_nwpi71/helpdata/en/3e/e3fb40f17af66fe10000000a1550b0/frameset.htm]

Regards

Kenny

former_member200962
Active Contributor
0 Kudos

check for the usage of SOAP adapter for calling from java application (if the java appl is able to support SOAP protocol)......generate a wsdl in XI and provide it to the java developers and tell them to include it in their code.....

may be even HTTP adapter can be used here

Regards,

Abhishek.

Edited by: abhishek salvi on Jun 30, 2009 7:52 PM