cancel
Showing results for 
Search instead for 
Did you mean: 

Java Proxy Server problem

Former Member
0 Kudos

Hi all,

I am implementing a java server proxy. I used NWDS to develop and deploy the EAR file. No errors.

However, when I tried to send a message to the proxy server, I keep on getting "location" not found.

I registered the proxy server, but, am not sure it was registered correctly. This will explain the "location" error.

Can anyone share some information in this area?

Thanks in advance,

Chris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi William,

Thanks for the response.

How do I assign a JNDI name to my java proxy server?

Chris

Former Member
0 Kudos

Hi Chris:

To register an JNDI name, open up ejb-j2ee-engine.xml in your EJB project of the java proxy server in NWDS.

There should be a list of "session beans", Select your java proxy session bean and assign a JNDI name to it.

You should be able to verify this name in the J2EE Visual Administrator in the JNDI "folder".

Regards,

Bill

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chris:

You can register the proxy server using the URL:

http://<Host>:<Port>/ProxyServer/register?ns=<Namespace>&interface=<MessageInterface>&bean=<JNDI_Nam...;

Port is the same as the port used for bring up the Integration Builder.

The namespace and interface belong to the message interface used to generate the proxy.

If you do not assign a JNDI name explicitly, the system will automatically take sap.com/<EAR Project Name>/<Bean Name> as the JNDI name.

It is highly recommended to assign a JNDI name. This will minimize potential "typo" error. It makes for easier maintenance.

Regards,

Bill