on 03-12-2009 11:31 PM
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
Hi César,
You can access JNDI Registry with Visual Administrator tool.
Under "Services->JNDI Registry".
Best Regards,
Jorge Linares
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.