Hi,
I am trying to run  sample jaxws-calculator  from axis2-1.4.1 release . I 
am using java 1.5. I am not able to deploy service .
log is 
 No annotated classes found in the jar: 
file:/D:/axis2-1.4.1-source/repository/servicejars/jaxws-cal
culator-1.4.1.jar. Service deployment failed.
[INFO] Deploying artifact : jaxws-calculator-1.4.1.jar
[INFO] Exception creating Axis Service : null
javax.xml.ws.WebServiceException: Validation error: cannot find WSDL 
Definition specified by this We
bService annotation. Implementation class: 
org.apache.axis2.jaxws.calculator.CalculatorService; WSDL
 location: META-INF/CalculatorService.wsdl
        at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:1
73)
        at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)

        at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118
)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateIntegrity(ServiceD
escriptionImpl.java:1194)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateDBCLIntegrity(Serv
iceDescriptionImpl.java:1105)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionI
mpl.java:314)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFr
omDBCMap(DescriptionFactoryImpl.java:240)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(D
escriptionFactoryImpl.java:210)
        at 
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactor
y.java:357)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:278)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:202)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
        at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.
java:136)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)

        at 
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:324)

        at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64
)
        at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
        at 
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83)

        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
[ERROR] Error:
 No annotated classes found in the jar: 
file:/D:/axis2-1.4.1-source/repository/servicejars/jaxws-cal
culator-1.4.1.jar. Service deployment failed.

Deepak Kumar Damara
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to