I'm trying to configure testing of a 'contract first' web service, starting with a trival example.
The example wsdl contains a single port, with one operation and input and output messages wrapping xs:string elements [about as simple a WSDL file that I could write].
I'm looking to find or create a wsdl first test example, similar to the code first "arquillian-showcase-jaxws"
In the test fixture's createDeployment() method, the empty WebArchive is created without problem.
The attempt to create the WebAppDescriptor fails, thowing an exception
Caused by: java.lang.IllegalArgumentException: No resource META-INF/services/org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor was found configured for user view class org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor
at org.jboss.shrinkwrap.descriptor.api.DescriptorInstantiator.getDescriptorConstructionInfoForUserView(DescriptorInstantiator.java:240)
at org.jboss.shrinkwrap.descriptor.api.DescriptorInstantiator.createFromUserView(DescriptorInstantiator.java:93)
at org.jboss.shrinkwrap.descriptor.api.Descriptors.create(Descriptors.java:72)
at org.jboss.shrinkwrap.descriptor.api.Descriptors.create(Descriptors.java:49)
at com.company.service.ServiceEndpointTestCase.createDeployment(ServiceEndpointTestCase.java:41)
... 58 more
Is a file [e.g. web.xml] needed to part of either the src/main or src/test directlry tree?
Is the location and content container/profile dependant?
Does anyone have a working example project?