Error while deploying jaxws-interop-1.7.0-SNAPSHOT.jar in jaxws-interop sample
------------------------------------------------------------------------------

                 Key: AXIS2-5131
                 URL: https://issues.apache.org/jira/browse/AXIS2-5131
             Project: Axis2
          Issue Type: Bug
          Components: samples
    Affects Versions: 1.7.0
         Environment: jdk 1.6.0_22, axis2-1.7.0-SNAPSHOT
            Reporter: Pavithra Madurangi


- In jaxws-interop sample create a jar from the classes available and drop it 
into the servicejars directory

-When deploying the artifact, following error is printed and a faulty service 
is created

[INFO] Exception creating Axis Service : null
javax.xml.ws.WebServiceException: Validation error: cannot find WSDL Definition 
specified by this WebService annotation. Implementation class: 
org.apache.axis2.jaxws.interop.InteropSampleService; WSDL location: 
resources/META-INF/BaseDataTypesDocLitB.wsdl
        at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
        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(ServiceDescriptionImpl.java:1647)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateDBCLIntegrity(ServiceDescriptionImpl.java:1560)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:356)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:297)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:255)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:327)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:216)
        at 
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:262)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:213)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:167)
        at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
        at 
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365)
        at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
        at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
        at 
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
[ERROR] Error while deploying JAX-WS jar: 
file:AXIS2_HOME/repository/servicejars/jaxws-interop-1.7.0-SNAPSHOT.jar. JAX-WS 
Service deployment failed.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to