We recently upgraded from Web Logic Server 6.1 to Web Logic 8.1 SP4. I did not encounter any errors during building of the webservice nor during deployment.
However, I am getting the following error:
javax.naming.NameNotFoundException: While trying to lookup 'EcasServicesuri.wsdl' didn't find subcontext 'EcasServicesuri' Resolved ; remaining name 'EcasServicesuri/wsdl'
The code is as follows:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
weblogic.jndi.WLInitialContextFactory.class.getName());
String url = ECWSurl+"/EcasServices";
env.put(Context.PROVIDER_URL, url);
Context context = new InitialContext(env);
EcasServices service = (EcasServices)context.lookup ("EcasServicesuri.wsdl");
Could anyone please throw light on what I am doing wrong? I am new to Web Logic and Web Services. Any help is greatly appreciated.
However, I am getting the following error:
javax.naming.NameNotFoundException: While trying to lookup 'EcasServicesuri.wsdl' didn't find subcontext 'EcasServicesuri' Resolved ; remaining name 'EcasServicesuri/wsdl'
The code is as follows:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
weblogic.jndi.WLInitialContextFactory.class.getName());
String url = ECWSurl+"/EcasServices";
env.put(Context.PROVIDER_URL, url);
Context context = new InitialContext(env);
EcasServices service = (EcasServices)context.lookup ("EcasServicesuri.wsdl");
Could anyone please throw light on what I am doing wrong? I am new to Web Logic and Web Services. Any help is greatly appreciated.