on 03-23-2006 6:21 AM
hai
this is guru
i have the problem while trying to accessing the webservice which is published in .net. i am using ejbs in netweaverdevoloperstudio.
exception as follows:
com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at Java:comp, the whole lookup name is Java:comp/env/nagaproxy
Source code is:
InitialContext ic = new InitialContext();
Service ser = (Service) ic .lookup("Java:comp/env/nagaproxy");
ServiceSoap ss = ser.getLogicalPort();
str = ss.sDnldItems();
thanks & regards
Guru
Hai Mr.Guru( guru :-?),
I didnt get your problem clearly. you can generate deployable proxies using NWDS.
Otherwise download the wsdl2java plugin for NWDS. here you can genearte java proxy classes for Wsdl . using that classes you can call the remote methods.
this blog will help you to use that plugin to generate java proxies and how to run
/people/abhijeet.jangam/blog/2006/05/27/developing-single-document-wsdl-to-schedule-a-web-service
you treat this classes as normal classes you can use this classes in your session bean.
regards,
naga raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everybody, I am having exactly the same problem here.
I allready did check the JNDI with the Visual Administrator. The name exists.
Any help is welcome, the link above does not really help since they do call a WebService within an iView.
I just want to call the WebService within an EJB.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
/people/sap.user72/blog/2005/08/08/consuming-net-webservice-in-ep50
Refer this weblog which explains consuming .net webservices.
regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
U want to look up the EJB or webservice..??
Here the exception is because , the look up string u have given is not existing in the JNDI registry of the WAS. thats why this naming exception comes..
if u r talking about looking the EJBs , then i can help u.
let me know ...
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.