Regarding Java Proxy development in PI 7.1
Hi all,
Can anybody provide us the step by step creation of java proxy development in PI 7.1 using SAP nteweaver developer studio7.1
Any useful links present for this?
Edited by: sasitharan on Mar 3, 2009 9:18 AM
Hi sasitharan,
Please find the relevant link from SAP Help. Please dig more from the link to find more suitable Information[Source: SAP Help- NW PI 7.1- Developing Applications Using Java |http://help.sap.com/saphelp_nwpi71/helpdata/en/45/5821ca2d251feee10000000a1553f7/frameset.htm]
Please find the Below link on Java Proxy
[Java Proxy Runtime|http://help.sap.com/saphelp_nwpi71/helpdata/en/64/7e5e3c754e476ee10000000a11405a/content.htm]
Regards,
Varun
Edited by: Varun Reddy on Mar 3, 2009 3:06 PM
Similar Messages
-
Regarding Java proxy in PI 7.1
Hi Folks,
I want to implement the java proxy at sender side in one scenario and receiver side in another scenario.
But when I open the IR> Goto Menu> Java Proxy Generation, it opens one pop up and asking the Archieve (you want to create new one or edit the existing file) file, what is this file and what is this type of file?
Another is, after giving some name then it asks the software component version, when I give this SWCV then it is displaying " ...some ID.. Doesn't contain any active message interfaces"?
What is the reason?
Thanks
RameshHi Thanks for your reply.
But when I open the IR> Goto Menu> Java Proxy Generation, it opens one pop up and asking the Archieve , after give this file then it asks the software component version, when I give this SWCV then it is displaying " ....... ID Doesn't contain any active message interfaces"? What is the reason?
Thanks
Ramesh -
Hi Abapers,
In my ECC 5.0 systems, cross application components are ther in the initial home page. Is this enough for Java proxy generation?..or separate SAP XI server should be installed to generate java proxy?..because i don't know how to get in to integration builder tool for java proxy generation in my ECC 5.0 version.
Please provide your valuable replies to me as early as possible.Use tcode sxmb_ifr , you cannot acces Intergration builder from R/3 ie your ECC 6.0 try accesing vai your XI server .
SP mean support pack . -
Java Proxy as Sender in PI 7.1
Hello everybody,
I would like to build a Java Proxy as a sender in PI 7.1. To be more precise, I would like to implement an asynchronous distribution scenario from MDM to PI. I understand the process of deploying and calling a receiver Java Proxy, but currently I don't know how to do the sender proxy. I can import the PI WSDLs, but I only get methods with return parameter void, taking the PI message type as input.
public void modifyRecordOutA(mdm.masterdatareplication.ModifyRecordRequest modifyRecordRequest) { }
So far so good, but somehow I have to send the data to PI, right? Could anybody tell me how to do this? Is there any documentation available that does not refer to older versions of the NWDS?
Thanks in advance,
Jörg
P.D.: Hints referring to attach pictures to the request would also be welcome, if there is something special to be considered.Hi,
You can have 2 types of Java proxies viz. client(putting data into xi pipeline) & server (xi pipeline sends request to these proxies.)
From system point of view, the requirements vary in case of these two. for server proxies you can have a webas java business system and associated technical system in sld.in case of client proxies, refer SAP note #809420.
But for a Java proxy, I would need a separate Java server(?) to run the application on, is this correct?
You do not need a separate Java server. The basic difference between ABAP proxies and Java proxies is ABAP proxies reside on the perticular application system(CRM or R/3) but java proxies reside on SAP Web AS J2EE stack of your XI server.
Just search SDN pointers on Java proxy developement and you will get good pointers. There is one How-to guide on service marketplace by the name "HowToWorkWithJavaProxies.pdf".
Regarding your dev environment, you can always make use of NWDS, you need to be very much familier with EJB concepts and deployment. Check help.sap.com for more details.
few links for java proxies
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
Learning Java proxies - landscape question
Check these links also,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
Rgds
joel
Edited by: joel trinidade on Feb 18, 2009 3:06 PM -
Using a java proxy with XI to execute a Script located in external server
HI
I have recived help from here about this. But i don´t know how to work with java proxy. Is someone there who can help me in it.
Many thanks in advance.
NoeliaHi Noelia,
You can have 2 types of Java proxies viz. client(putting data into xi pipeline) & server (xi pipeline sends request to these proxies.)
From system point of view, the requirements vary in case of these two. for server proxies you can have a webas java business system and associated technical system in sld.in case of client proxies, refer SAP note #809420.
The basic difference between ABAP proxies and Java proxies is ABAP proxies reside on the perticular application system(CRM or R/3) but java proxies reside on SAP Web AS J2EE stack of your XI server.
Just search SDN pointers on Java proxy developement and you will get good pointers. There is one How-to guide on service marketplace by the name "HowToWorkWithJavaProxies.pdf".
Regarding your dev environment, you can always make use of NWDS, you need to be very much familier with EJB concepts and deployment. Check help.sap.com for more details.
Java Proxies and SAP XI - The Inside Story, Part 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
Java Proxies and SAP XI - The Inside Story, Part II
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
SAP XI 1.0 Configuring your PC or Laptop as a Java Receiving System
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f5b19b90-0201-0010-9bb0-81c235713d8d
Also go through these links:
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501
http://help.sap.com/saphelp_nw2004s/helpdata/en/97/7d5e3c754e476ee10000000a11405a/frameset.htm
Here you can download code samples for inbound and outbound Java Proxies which you can use together with the Flight Booking Scenario.
http://de.geocities.com/stefan_grube/JavaProxyExample.zip
I hope it helps........
Regards,
Abhy -
Regarding accesing integration builder tool for java proxy generation
Hi Abapers,
How can I access integration builder tool to generate java proxy via SAP XI server in my ECC 5.0?
Please give me the clear idea of that.
regards
SubashHi Marinel,
The support for XSD import is limited on 10.1.2. If you can, you should consider moving to the 10.1.3 preview as the support for document style web services has improved. The other option will be to inline the schema in your WSDL.
Eric. -
Problem with Java Proxy and Socket Connection
Hi Gurus!!
I have developed a Java Proxy that connects via socket with a Server Socket application. This Server Socket application accepts more than one connection at the same time.
When I connect the first time from my Java Proxy, the connection is correctly established. When the first connection opened, if a try a second connection, this is not established.
I use "new Socket(SocketServer,SocketPort);" to open the connection.
I think that all time the Java Proxy is trying to open the same connection, and this is a problem.
Is there a way to indicate to the server that is a new connection and that the existing connections remain?
Anybody could help me, please?
Thanks and regards,
Manuel Míguez.Sorry!!!!i must give you more information.
The error which i have when i push the submit button is
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
GlassFish Server Open Source Edition 3.0.1
My thought is that the error is in this line
String connectionURL = "jdbc:mysql://localhost/mybooking";in mysql when i write this code then the table opens with no problems:
mysql>show databases;
mysql>usebooking;
mysql>showtables;
mysql>describe booking;Furthermore i have added in my web application the library mysql JDBC driver my-sql-connector-java-5.1.6.bin.jar
Edited by: 813355 on Nov 22, 2010 1:50 AM
Edited by: 813355 on Nov 22, 2010 2:00 AM -
Help - how to create java proxy (sender) in NWDS 7.1
Hi,
I am trying to develop a java proxy as sender to send message from WAS to PI.
I am using NWDS 7.1. Let me explain what I have done so far,
1. Received proxy classes from PI
2. Created a EJB Project, imported the proxy classes into EJB project
3. created a EJB bean, local interface in the EJB project and exposed as webservice
4. added the ejb to an ear
5. added reference to the following jar files (external library)
tcaiiproxy_rt_api.jar
com.sap.aii.af.sdk.jar
com.sap.aii.utilxi.server.jar
com.sap.aii.utilxi.core.jar
com.sap.aii.proxy.svc_api.jar
6. able to build and deploy the application
7. able to open the webservice in wsnavigator
Error encountered:
"Server Exception: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/aii/proxy/xiruntime/core/AbstractType "
Questions:
1. Which method I should execute / call among all the proxy classes from local bean class to send message to PI?
2. Is it mandatory to add refernces to the application.xml, ejb-jar.xml and other xmls ?
3. How can I test / monitor the message being sent to PI interface?
Thanks and best regards,
Arun prabhu Splz cross chk the references under application-j2eeengine.xml and ejb-jar.xml
http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
u can chk tis article also:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508bb504-87cf-2c10-2aaf-f3a5df75e651?quicklink=index&overridelayout=true -
How to generate java proxy in PI 7.1
Hi All,
How do I generate java proxy in PI 7.1
I am unable to see the "Generate Java Proxy" in the Tools menu in the Integration Builder
Edited by: Piyush Mathur SAP on Apr 15, 2010 11:14 AM
Edited by: Piyush Mathur SAP on Apr 15, 2010 11:14 AMhi ,
As mentioned in the Question, I am unable to find the "Java Proxy Generattion" link in the Int builder.
Also the help doc says:
Java proxy generation is no longer supported in subsequent releases. For new developments or when making significant changes to a service interface, use Java proxy generation in SAP NetWeaver Studio instead. More information: Creating Outside-In Web Services, SAP NetWeaver Developer Studio.
Does that mean that I can no longer generate java proxy from Int builder?
regards,
Piyush -
EJB Module creation in case of Java proxy
Hello
This question might look irrelevant in this forum but its required when we are dealing with Java proxy. I generated Java proxies of my interface which creates around 8 java classes and which supports EJB 2.0 specifications.
In Netweaver Developer Studio (NWDS) I tried to create a EJB Module project and imported these classes into that.Also I manually modified ejb-jar.xml to include the references of Home and Remote Interfaces and bean class.The problem is its not allowing me to create ejb jar of it (the option Built EJB Archive is disabled when right clicked on EJB Module Project).
Waiting for your reply.
Regards
RajeevSame thing I solved by closing NWDS, restarting cluster, open NWDS.
You assigned your bean to ejb-jar.xml?
If you have any errors in task list then the option is also disabled.
Dominik -
hi:
i am new to Java proxy and new to SAP netweaver developer studio.
thei PI version is 7.1
I have generate a java proxy , then create a project in netweaver developer studio and import this java proxy according document "How Tou2026Work with XI 3.0 Java Proxies".
but i can not find :aii_proxy_xirt.jar aii_msg_runtime.jar on the PI server, only guidgenerator.jaraii_utilxi_misc.jar could be found. then i could not config the build path.
in the SAP netweaver developer studio, the error shows like :com.sap.aii.proxy.xiruntime cannot be resolved to a type
then how to resolve this problem
thank you very muchHi Cheng,
I am trying to create a java proxy to send message from WebAS to PI using java proxy.
I am using NWDS 7.1. Can you please help with step on how to create a java proxy in NWDS 7.1?
Thanks and best regards,
Arun prabhu S -
Hello All,
I have generated a java proxy and trying to compile in Developer Studio. I am getting this error while doing so. I have all my jars in classpath.
com.sap.aii.utilxi.misc.api.BaseException
Below are the jars i have in my class path.. Anybosy has idea
aii_msg_runtime.jar
aii_proxy_xirt.jar
aii_utilxi_misc.jar
guidgenerator.jar
ejb20.jar
exception.jar
jARM.jar
sapj2eeclient.jar
sapxmltoolkit.jar
-SrinivasHi Srinivasa,
Other than that u can try importing these jars as well:
aii_adapter_xi_svc
aii_af_cci
aii_af_cpa
aii_af_mp
aii_af_ms_api
aii_af_ms_spi
aii_af_service_message_security
aii_msg_runtime
aii_proxy_xirt
aii_utilxi_misc
jperflib
jta
log_api
logging
sapni
It might help.
Thanks and Regards,
Sanjeev. -
XI Configuration incase of Java Proxy
Hello
I am trying Java Proxy scenario in which I generated Java Proxies of my XI interface.I used NetWeaver Developer Studio to implement my business logic using the generated classes from XI.
But I guess its not connecting to XI when tried to execute from NWDS.On XI side I configured Business System with no sender configuration and configured Receiver Determination for the business system (basically similar to what we configure for HTTP Adapter).
Just wanted to get clear whether we need to define Sender(sender comm channel) incase of Proxies or any business system instead of business service.As far as I know since its invoking a EJB directly from the lookup it should not require that but not sure.
Thanks in advance.
Regards
AshishHi,
take a look at Java Proxy Inside Storys:
Part I:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java proxies and sap xi - the inside story,%20Part%201.pdf
Part II:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java proxies and sap xi - the inside story,%20Part%20II.pdf
Regards,
Robin -
Hi friends,
I need very simple and clear steps as to what i should do as far as Java proxy is concerned.Steps to do in NWDS,.
Also am new to Proxies..... What about the Java code.....I don know Java....
Can i find relevant code and screen shots with both client and server Java proxies.
Scenarios with screen shots if possible.
Please post as soon as possible.....
Thanks & Regards
Deepika KHi
NWDS
NWDS - NetWeaver Developer Studio - editor, etc used by the developer to code. Developers way to interact with the infrastructure.
NWDS is just a development environment with all robust development tools.
It can run j2ee,j2se and sap applications also.
It is an interface to access NWDI services and applications.
SAP NetWeaver Developer Studio (NWDS) for more details follow : http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
SAP NetWeaver Java Development Infrastructure (NWDI) for more details follow http://help.sap.com/saphelp_nw2004s/helpdata/en/44/312b1a8bea3ec8e10000000a1553f6/frameset.htm
JAVA PROXIES
You can generate Java proxies for J2EE applications on the SAP Web AS. Proxy generation generates J2EE beans and proxy classes for this purpose. The generated beans satisfy the EJB 2.0 standard.
Java proxy generation is part of the Integration Builder and has the following functions:
· Create an archive (as a Jar or Zip file) by using one or more message interfaces from the same software component version. The archive contains bean and proxy classes.
· Open existing archives to regenerate proxies. Proxy generation knows the original message interfaces for which proxy objects are contained in the archive.
Selecting Message Interfaces
You can call Java proxy generation from the design maintenance screen of the Integration Builder in the following ways:
· From the main menu, choose Tools ® Java Proxy Generation.
· From the context menu, choose Java Proxy Generation... for message interfaces in the navigation tree.
The latter method has the advantage that the selected message interface and the corresponding software component version can be copied directly. You can only generate proxy classes for message interfaces and not for sub objects of message interfaces.
Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
How to Work with Java Proxies
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
Java Proxies in XI
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
Java Proxies in XI
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
SAP Network Blog: Pre requisites for Client Java Proxies
/people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
Java Proxy-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
Hope this clears your doubts
Thanks
Saiyog -
Java proxy in PI7.1.....
Hi All,
I am having a requirement where i have to develop JAVA proxy in PI 7.1 and for this I am using NWDS 7.1 but the main concern is that i am very new to JAVA proxies. Even though i refer SDN but the blogs and forums mentioned are related to XI3.0/PI7.0.
I would be very pleased if anybody clear some of my doubts:
1) Do we require WAS in order to install J2ee based non central adapter engine?If yes how to install it.
2) How to configure client and server proxies in PI 7.1 using NWDS 7.1?
3) How to deploy and test java proxies?
Thanks In Advance.Hi,
You can install the Java proxy runtime on the SAP J2EE Engine Release 6.40 SP5 or higher.
The messaging system that the Java proxy runtime uses to send messages to the Integration Server must also be installed on the J2EE server.
To send messages from a J2EE application, the application must be programmed against beans that encapsulate all details about the Java runtime. The following classes are generated:
u2022 Proxy classes that send or receive messages using the Java proxy runtime.
u2022 Bean classes as an outer shell that conform to the J2EE standard. The beans call the proxy classes for communication.
The classes must be deployed on the J2EE server together with their J2EE application
see this link for the example scenario https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
Refer this configuration guide:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ac6de690-0201-0010-54ac-8923089dcc97
Refer these too:
Java Proxy Inside Story Part I
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
Java Proxy Inside Story Part II
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
Change in PI 7.1
usr/sap/<SID>/DVEBMGS<nr>/j2ee/cluster/server0/apps (xI 3.0)
/usr/sap/<SID>/DVEBMGS<nr>/j2ee/cluster/bin/ (PI 7.1)
Regards
Zahid Ali
Maybe you are looking for
-
I recently installed a new and bigger Time Capsule on my MacBook Pro system and since doing so, I lost the ability to print wirelessly on my Canon MX860 printer. I am using Mountain Lion OSX 10-8-4. I note Pahu discussion in another group on this sa
-
My ipod touch(4th gen) just recently had the iOS 5 update.bu for some reason about 80% of my music collection appears with no album artwork and doesnt play any songs.basically it has my music on their but wont let me access it? please help!
-
File -to- File is not working. Why????
Hi SAP gurus, We have Installed XI 3.0 successfully on one blade server (Stack 04 configuration). We tried file-file scenario but nothing seems to be happenning. How to know whether File Adapter has been Initialized or not? And whether its able to p
-
How to crop canvas and change aspect ratio?
I'm working on a project shot with an old camera from the 70s. I used that camera but recorded the signal on my mini dv camera. Now I have a black border on the right side of the image. This project is going on the Web, not TV. How can I crop the can
-
Projecting still images using final cut express
Maybe someone can answer this tricky question. We need to project a FCE movie that has photoshop still images imported into it, but these photoshop images (which appear normal on the computer screen), are distorted in the projection. They look squash