cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Java Proxy - Error invoking method or Cannot locate proxy bean

Former Member
0 Kudos

Hi !

I've developed a Java Proxy Server based on a synchronous message interface. Created the EAR and the admin deployed it without errors in the self XI server.

I've registered it using

http://host:port/ProxyServer/register?

ns=[the namespace used in the repository]

interface=[the message interface object name as in the repository]

bean=[localejbs/ (value of <jndi-name> tag in ejb-j2ee-engine.xml)]

method=[name of the only public function available in the xxx_PotyTypeImpl.java file]

Using this registration querystring, I get the "Error invoking method XXXXX of proxy bean..." message, using any other registration querystring (for example bean=localejbs/sap.com/myJNDI/XXXX_PortTypeBean, etc. I receive the "Cannot locate proxy bean......" message. So I suppose that the first registration querystring is the correct.

We are also using for other scenarios, the ValueMappingReplication inbound java proxy and it works ok, so the JPR adapter is working ok.

What else should/could I check do determine the source of the problem ?

When should I use the "sap.com" string in the registration querystring? and "xxx_PortTypeBean"??

I followed every post that I've found about this type of errors, but there are no answers...It seems that for some the inbound java proxies worked at first time, and for others almost never.

Thanks !

Matias.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As it is mentioned here..

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

If the server bean is a <b>co-located</b> bean, simply use the prefix localejbs/ when you enter the bean name.

so if its about the JNDI Name in the registration URL, it should simply be

<i><b>bean=localejbs/JNDI_NAME</b></i>

Answers (0)