on 03-20-2007 9:40 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.