axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhanush Gopinath" <dhan...@mahindrabt.com>
Subject Error when Calling a WebService from a Servlet
Date Mon, 09 Aug 2004 11:23:08 GMT


Hi all

I am trying to call a Message Style Web Service from a Servlet and I am getting the following
Error.

WebappClassLoader: Lifecycle error : CL stopped
WebappClassLoader: Lifecycle error : CL stopped
WebappClassLoader: Lifecycle error : CL stopped
WebappClassLoader: Lifecycle error : CL stopped
WebappClassLoader: Lifecycle error : CL stopped
Aug 9, 2004 4:35:10 PM org.apache.axis.configuration.EngineConfigu
inder$1 run
SEVERE: Unable to locate a valid EngineConfigurationFactory

Any Idea Why this is happening ..

I am using Axis 1.1 and this is my client code on servlet.

System.out.println("Creating Service ");
Service service = new Service();
System.out.println("Creating Call");
Call call = (Call) service.createCall();

URL url= new URL("http://172.24.86.114:8080/axis/services/ProtoMessageService");
System.out.println("Setting Target URL");
call.setTargetEndpointAddress(url);
System.out.println("Setting OP Name");
call.setOperationName(new QName("http://172.24.86.114:8080/", "receiveDocument"));
System.out.println("Setting Input Parameter the Doc " +xmlDoc);
Object[] inputParam = new Object[] {xmlDoc};
System.out.println("Calling Webservice .. ");
Document retDoc = (Document)call.invoke(inputParam);
System.out.println("Called Succesfully and got this Document "+ retDoc);



The error is thrown when it is creating a Service Object . Hope to get some info from you
guys

Thanks & Regards
Dhanush Gopinath
Software Engineer
Mahindra British Telecom Ltd
+91-020-4018100 Ext:-1218

--------------------------------------------------------------------------------
"It's the possibility of having a dream come true , that makes life interesting" - Paulo Coelho,
The Alchemist

*********************************************************
Disclaimer:         

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Mime
View raw message