Skip to Content
author's profile photo Former Member
Former Member

JSP to test WS client proxy does not work: jndi NamingException


I'm trying to create a JSP to test my WS proxy client on a WAS 6.40 J2EE engine. The deployment runs fine but when I start the JSP I get an error from the JNDI: Exception during lookup operation of object with name webContainer/applications/, cannot resolve object reference. [Root exception is Path to object does not exist at W640SecurityTests_WMP, the whole lookup name is wsclients/proxies/]

Can anybody tell me, where I can find more details about this error? I've no clue where I need to correct it.

Many thanks!

Best regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2004 at 01:30 PM

    Hi Birgit,

    it seems that when creating the Web service client application you didn't set the required jndi-reference in the "web-j2ee-container.xml". To do so, open the context menu of "web-j2ee-container.xml" and select the "references" tab. The reference should point from java:comp/env/GetABAPUserDetails to /wsproxies/clients/..... and so on. The following convention is used: /wsclients/proxies/ / / . You can find more information on jndi mappings in the SAP Help Portal:

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.