You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dorner, Thomas" <Th...@t-systems.com> on 2005/07/11 14:43:38 UTC

WG: Problem with AXIS-Final.jar

Hi,
 
i got an exception when I call my WebService to get its wsdl - see below:
 
http://127.0.0.1:8080/ <http://127.0.0.1:8080/XXX/services/XYZ_Service?wsdl>
XXX/services/XYZ_Service?wsdl
 
The AXISServlet looking for the ComInfoService - but there is no such
Service in my Server-config.wsdd
--> So there must be a fault in the AXISServlet.
 
Can someone give me  a solution for this problem?
 
Thanks Tomi 
 
 



Sorry, something seems to have gone wrong... here are the details:

Fault - Failed to determine deployed service names.; nested exception is: 

	org.apache.axis.ConfigurationException: Could not find class for the
service named: samples.stock.ComInfoService

Hint: you may need to copy your class files/tree into the right location
(which depends on the servlet system you are using).; nested exception is: 

	java.lang.ClassNotFoundException: samples.stock.ComInfoService

AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException

 faultSubcode: 

 faultString: Could not find class for the service named:
samples.stock.ComInfoService

Hint: you may need to copy your class files/tree into the right location
(which depends on the servlet system you are using).; nested exception is: 

	java.lang.ClassNotFoundException: samples.stock.ComInfoService

 faultActor: 

 faultNode: 

 faultDetail: 

	{http://xml.apache.org/axis/}hostname:EPDMD59



Could not find class for the service named: samples.stock.ComInfoService

Hint: you may need to copy your class files/tree into the right location
(which depends on the servlet system you are using).; nested exception is: 

	java.lang.ClassNotFoundException: samples.stock.ComInfoService

	at
org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.jav
a:432)

	at
org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.jav
a:461)

	at
org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPServ
ice.java:285)

	at
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java
:500)

	at
org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeplo
yment.java:503)

	at
org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.
java:296)

	at
org.apache.axis.transport.http.QSWSDLHandler.getDeployedServiceNames(QSWSDLH
andler.java:218)

	at
org.apache.axis.transport.http.QSWSDLHandler.updateSoapAddressLocationURLs(Q
SWSDLHandler.java:153)

	at
org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:72)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

	at java.lang.reflect.Method.invoke(Method.java:324)

	at
org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:121
7)

	at
org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

	at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:
327)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)

	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)

	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)

	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)

	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)

	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)

	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)

	at java.lang.Thread.run(Thread.java:534)

Caused by: java.lang.ClassNotFoundException: samples.stock.ComInfoService

	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1443)

	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1289)

	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:186)

	at java.security.AccessController.doPrivileged(Native Method)

	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)

	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:142)

	at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)

	at
org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.jav
a:428)

	... 46 more



org.apache.axis.ConfigurationException: Could not find class for the service
named: samples.stock.ComInfoService

Hint: you may need to copy your class files/tree into the right location
(which depends on the servlet system you are using).; nested exception is: 

	java.lang.ClassNotFoundException: samples.stock.ComInfoService

AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException

 faultSubcode: 

 faultString: Could not find class for the service named:
samples.stock.ComInfoService

Hint: you may need to copy your class files/tree into the right location
(which depends on the servlet system you are using).; nested exception is: 

	java.lang.ClassNotFoundException: samples.stock.ComInfoService

 faultActor: 

 faultNode: 

 faultDetail: 

	{http://xml.apache.org/axis/}hostname:EPDMD59

  _____  

Von: Denis Schlesinger [mailto:schlesinger@ecs-gmbh.de] 
Gesendet: Montag, 11. Juli 2005 13:47
An: axis-user@ws.apache.org
Betreff: WSDL file for Axis2 web service



Hi all,

 

In Axis1 it was possible to reference the WSDL-file that should be taken for
each web service in the web service's deployment descriptor. Is there a
similar approach in Axis2 with its 'service.xml'? I could not find an answer
to this yet.

 

Thanks!

 

Denis