• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

problem deploy soap web service war on wildfly 9.0.1

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting the following error trying to deploy a war file that contains a soap service on wildfly 9.0.1.
It looks like an incompatibility in the webservices implementation. I am using the glassfish version 2.1 implementation and the jars are included in my war file. Any pointers on where I should start to resolve this issue? The application deploys without error on tomcat 7.0.25

JBWS024109: Could not get WSDL contract for endpoint com.sun.xml.ws.tx.coord.v11.endpoint.RegistrationPortImpl at /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl"



Runtime environment

wildfly-9.0.1.Final
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) Server VM (build 25.51-b03, mixed mode)

build environment
java version "1.7.0_67"

<dependency>
<groupId>org.glassfish.metro</groupId>
<artifactId>webservices-rt</artifactId>
<version>2.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.glassfish.metro</groupId>
<artifactId>webservices-tools</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.metro</groupId>
<artifactId>webservices-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>


 
Jeff Gaer
Ranch Hand
Posts: 103
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
bumping the metro version to 2.2 and changing the scope to provided for all the metro artifacts seemed to fix that particular problem.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
see wsdllocation address in @javax.jws.WebService annotation. Sometimes there is something wrong with lowercase or uppercase letters. On Windows it might work and on Linux it might not.

wsdlLocation = "wsdl/v4_00_01/tissSolicitacaoStatusRecursoGlosav4_00_01.wsdl",
reply
    Bookmark Topic Watch Topic
  • New Topic