I am trying to deploy web service on wildfly-10.1.0. Previously it was deployed on JBoss AS 7.0.2 . But when I am deploying on wildfly 10.1.0 it is throwing following error :
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."ExternalRatingService.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."ExternalRatingService.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "ExternalRatingService.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.wsf.spi.WSFException: JBWS024109: Could not get WSDL contract for endpoint com.hasbro.tms.mapotmtoparcelratingproviders.webservices.parcelratingws.otmexternalratingengine.ExternalRatingImpl at D:/OTM_INTEGRATION/DJBOSS/WSDL/FedexRate/OTMExternalRatingService.wsdl
at org.jboss.wsf.stack.cxf.metadata.MetadataBuilder.getWsdlLocationURL(MetadataBuilder.java:283)
at org.jboss.wsf.stack.cxf.metadata.MetadataBuilder.build(MetadataBuilder.java:90)
at org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect.start(DescriptorDeploymentAspect.java:42)
at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
... 5 more
Even though WSDL is present on given location : D:/OTM_INTEGRATION/DJBOSS/WSDL/FedexRate/OTMExternalRatingService.wsdl. Is there any configuration required while I am upgrading to wildfly 10.1.0 from jboss as 7.0.2 .