cancel
Showing results for 
Search instead for 
Did you mean: 

What is java proxy, why its is used and where can i get more info abt this?

Former Member
0 Kudos

Hi all!

My current scenario is File->XI->j2ee appl.

Can XI sends file to my J2EE application using java server proxy. If so how to develop that?

what are the requisites that my SAP system should have?

I have jdk1.5,Tomact5.0,eclipse3.1.2, NWDS2.0.9

Where can i get full step by step procedure to develop that. Please help me

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Maksinm!

Where can i get the code for these classes:

The following EJB 2.0 bean class, home and remote interfaces, local home and local interfaces, as well as Java classes for the data types used are generated in the archive file ClientProxies.zip.

UsersSyncMI_PortTypeBean.java

UsersSyncMI_PortTypeHome.java

UsersSyncMI_PortTypeRemote.java

UsersSyncMI_PortTypeLocalHome.java

UsersSyncMI_PortTypeLocal.java

UsersSyncMI_PortType.java

UserDT_Type.java

UsersDBMTResponse_Type.java

Please help me .Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

As i said already, Java Proxy Runtime and Messaging system get installed automatically when XI is installed. So, dont worry about that.

>>Where can i get the code for these classes:

>>UsersSyncMI_PortTypeBean.java

>>UsersSyncMI_PortTypeHome.java

>>UsersSyncMI_PortTypeRemote.java

>>UsersSyncMI_PortTypeLocalHome.java

>>UsersSyncMI_PortTypeLocal.java

>>UsersSyncMI_PortType.java

>>UserDT_Type.java

>>UsersDBMTResponse_Type.java

Open your Integration Repository, select your inbound asynchronous message interface. right click on it and choose the option "Java Proxy generation...". This will generate all these classes. (Response_Type.java wont get created since the interface is asynchronous).

Regards,

Uma

Former Member
0 Kudos

Hi,

Yes, u can send a file to J2EE system using Server Java Proxy.

Prerequisite for JavaProxy :

1. Java Proxy Runtime must be installed.

2. Messaging system should be installed.

(Both these get installed during XI installation)

This weblog shows a step-by-step procedure for asynchronous server java proxy implementation.

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

Here are the steps overview :

1. create inbound asynchronous interface in Integration Repository.

2. generate Java Proxy for that interface.

3. Create EJB module and paste all the generated classes in it.

4. Write Bean implementation code.

5. Deploy the bean in XI server.

6. Register the bean in XI server.

Refer this help link for clear information about server java proxy http://help.sap.com/saphelp_nw04/helpdata/en/ce/81a797cc9642c8bbef249bfd84dd45/content.htm

Get back for more clarifications.

Regards,

Uma

Message was edited by: Uma Maheswari

Former Member
0 Kudos

Hi Uma!

Thanks for your answer. Can you tell how to install Java Proxy Runtime and Messaging system. You mean to say

com.sap.aii.messaging.runtime and

com.sap.aii.proxy.xiruntime...... these are the files you are referring to as Proxy runtime and Messaging, I did not find these file in my RWB->component monitoring->settings. Where can iget those files and to update my SAP system.

Please help me out.

Thanks

Former Member
0 Kudos

Hi Uma!

Thanks for your reply.

I am using implementing the scenario from Sudhir's blog: which is available at this link:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5a...

and

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

In that source and target messages are different... When i try to map...I am getting:

<b>"Mapping object User_MM incomplete. Unable to continue execution

leaf node with minOccurs>0 and without mapping"</b>

How to proceed. please help me

Thanks