you will have to change the set classpath.sh file in tomcat/bin directory and set the java.endorsed.dirs to point to the your "lib" in which you keep ur jar file of the service. eg: in setclasspath.sh -Djava.endorsed.dirs=<path_to_axis_lib>:<whatever_was_there_earlier>
also make sure that the classpath in setclasspath.sh has everything you wanted in ur classpath. Once you make the changes you will have to restart your tomcat server. This should fix you problem. You can also see in the "logs" directory in tomcat to find out what exactly is the problem. Abhishek You may also want to try the hint re -Djava.endorsed.dirs=path_to_axis_lib ----- Original Message ----- From: "Stefan Wagner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 9:24 AM Subject: Error with BeanSerializer Hi! I try to use Java2WSDL and WSDL2Java. I created a simple bean which I want to return from a method of my service. When I invoke the service with a tester I get the following exception: Exception in thread "main" Internal Server Error at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:174) at org.apache.axis.client.Call.invoke(Call.java:1905) at org.apache.axis.client.Call.invoke(Call.java:1690) at org.apache.axis.client.Call.invoke(Call.java:1608) at org.apache.axis.client.Call.invoke(Call.java:1169) at direct.AnatomyServiceSoapBindingStub.getComponent(AnatomyServiceSoapBindingS tub.java:118) at direct.Tester.main(Tester.java:9) What am I doing wrong? Cheers, Stefan