cancel
Showing results for 
Search instead for 
Did you mean: 

jndi lookup of deployable proxy

Former Member
0 Kudos

Hey All,

i try to call webservice via a deployable proxy.

when looking it up i get a naming exception.

i set up a jndi mapping in the client bean's ejb-j2ee-engine.xml, which reads as follows:

<server-component-ref>
	<description>
	</description>
	<name>WeatherServiceProxy</name>
	<type>interface</type>
	<jndi-name>/wsclients/proxies/de.sap.coe/WeatherServiceProject/WeatherServiceProxy</jndi-name>
</server-component-ref>

i look up the proxy like this:

ctx.lookup("java:comp/WeatherServiceProxy");

i guess the mapping is incorrect. the documentation says to do reference the proxy like this:

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

i do not understand however, what provider and application name are. i used the proxy's .ear filename as application name. for lack of better ideas i used the package structure as providername... it just seemed semantically similar ;-).

Any help is well appreciated.

Cheers, Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello!

i solved the problem: the providerName in my case was "sap.com".

In order to find out the jndi-location you can go to visual Admin. Services --> JNDI Registry --> wsclients --> proxies ....

or whatever else you're looking for.

Cheers, Michael