cancel
Showing results for 
Search instead for 
Did you mean: 

Server Component JNDI name

Former Member
0 Kudos

Hi all,

I'm trying to consume a web service that i did with a ABAP function module. This means that my Web Service is in R/3 not in the Web AS.

I created a Deployable Client Proxy with the WSDL in the NWDS.

Now the EAR is deployed in the WebAS.

In my web-j2ee-engine.xml i have:

Application Local JNDI name: sc

Server component type: interface

Server component JNDI name: /wsclients/proxies/sap.com/sc/sap.com.sc

My question is where is the Server component JNDI name of my Web Service in the Web AS?

How can i find the JNDI names of all my apps in the Web AS?

In the help is says:

/wsclients/proxies/<ProviderName>/<ApplicationName>/<ProxyName>

But every time that i do


DefaultService obj = (DefaultService) ctx.lookup("java:comp/env/sc");

The error is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name webContainer/applications/sap.com/testear/test/java:comp/env/sc, cannot resolve object reference. [Root exception is com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at sc, the whole lookup name is wsclients/proxies/sap.com/sc/sap.com.sc.

Please help,

Regards,

César Felce

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi César,

You can access JNDI Registry with Visual Administrator tool.

Under "Services->JNDI Registry".

Best Regards,

Jorge Linares