cancel
Showing results for 
Search instead for 
Did you mean: 

Register Server Java Proxy

Former Member
0 Kudos

hi,

i am working on a scenario which involves Synchronous Java Server Proxy. I am trying to register the server java proxy:-

http://<Host>:<Port>/ProxyServer/register?ns-<Namespace>&interface-<Message Interface>&bean-<JNDI_Name>&method-<Method Name>

I wanted to know what is <Method Name> and from where can I get this.

thanks in advance.

Bala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

please see the below link

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

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

Regards

Chilla

Former Member
0 Kudos

Hi,

The blogs you mentioned does not explain clearly about the <Method Name>. Please explain where can I get the <Method Name>.

Thanks.

Bala

Former Member
0 Kudos

Hi,

When you create your java classes, you create an implementing class, that inherits from com.sap.aii.proxy.xiruntime.core.AbstractProxy.

This contains an implementing method that contains the actual business logic.

You have to create this method, and then substitute this name in the URL mentiones in the blogs.

Hope this clears your doubt.

Regards,

Puloma.

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Hi Bala,

Proxy is generated based on the Message Interface created in the XI.

While configuring receiver agreement, you are calling a proxy method which is registered in the server though XI Adapter

<Method name> is Name of the server bean method to be called

http://help.sap.com/saphelp_nw04/helpdata/en/a4/d5b3b0b16843b3867c0245d9847ae5/content.htm

Remember, if the server bean is a co-located bean, simply use the prefix localejbs/ when you enter the bean name.

Regards,

Prateek