You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by pushkar bhatia <pu...@yahoo.com> on 2005/02/21 20:08:33 UTC
BindingSkeleton class not found
Hi
I am new to web services and tomcat and axis and
trying to deploy a web services with the help of
Axis User's Guide instruction.I have done the
following steps
1.Created an interface "WidgetPrice "
2.used Java2WSDL tool to create a WSDL file from the
interface above.
java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl
-l"http://localhost:8080/services/WidgetPrice"
-n "urn:Example6" -p"samples.userguide.example6"
"urn:Example6"
samples.userguide.example6.WidgetPrice.
3.created bindings necessary for the client with th
ehelp of WSDL2Java tool
java org.apache.axis.wsdl.WSDL2Java wp.wsdl
4.created server side binding as given below
java org.apache.axis.wsdl.WSDL2Java --server-side
--skeletonDeploy true wp.wsdl
5. following classes are there in my EXample 6 folder
WidgetPrice.class
WidgetPrice.java
WidgetPriceService.class
WidgetPriceService.java
WidgetPriceServiceLocator.class
WidgetPriceServiceLocator.java
WidgetPriceSoapBindingImpl.class
WidgetPriceSoapBindingImpl.java
WidgetPriceSoapBindingSkeleton.java
WidgetPriceSoapBindingStub.java
deploy.wsdd
undeploy.wsdd
6.I have deployed the service with the help of admin
client
java org.apache.axis.client.AdminClient deploy.wsdd
<Admin>Done processing</Admin>
7. when i am trying to access the services it is
giving follwoing error
WARNING: Unable to find required classes
(javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support
is disabled.
Exception in thread "main" AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.apache.axis.ConfigurationException:
Could not find class for the service named:
Example6.WidgetPriceSoapBindingSkeleton
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:
Example6.WidgetPriceSoapBindingSkeleton
AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Could not find class for the service
named: Example6.WidgetPriceSoapBindingSkeleton
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:
Example6.WidgetPriceSoapBindingSkeleton
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:kelly
Could not find class for the service named:
Example6.WidgetPriceSoapBindingSkeleton
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:
Example6.WidgetPriceSoapBindingSkeleton
at
org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:428)
at
org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:457)
at
org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:283)
at
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:487)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at
org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:460)
at
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:226)
at
org.apache.axis.AxisEngine.getService(AxisEngine.java:290)
at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
at
org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:238)
at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:653)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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:2417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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:193)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassNotFoundException:
Example6.WidgetPriceSoapBindingSkeleton
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1443)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: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.java:424)
... 47 more
Please guide me how to resolve this issue.If the
information given above is not sufficent to find the
cause of problem,i will more info.
regards
pushkar
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com