Skip to Content
avatar image
Former Member

Java Proxy Server problem

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 07, 2006 at 12:04 AM

    Hi William,

    Thanks for the response.

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

    Chris

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Nov 06, 2006 at 11:33 PM

    Hi Chris:

    You can register the proxy server using the URL:

    http://<Host>:<Port>/ProxyServer/register?ns=<Namespace>&interface=<MessageInterface>&bean=<JNDI_Name>&method=<MethodName>

    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/ Project 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

    Add comment
    10|10000 characters needed characters exceeded