cancel
Showing results for 
Search instead for 
Did you mean: 

problem in accessing .net webservice in netweaver developer studio

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Guru,

/people/sap.user72/blog/2005/08/08/consuming-net-webservice-in-ep50

Refer this weblog which explains consuming .net webservices.

regards,

Uma

kishorg
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

hi,

i want to use .net webservices in my sessionbean

thanqqq

guru

Former Member
0 Kudos

hi,

i have already checked for the JNDI registry of perticural proxy in Visual Administrator. it exsists there and i was able to access the java webservice but i was unable to access the webservice which is published in .net.

can u plz help me in doing this??

thank you

guru