I have a big problem with Webservice. I have a webservice client installed on jboss-4.2.2.GA and webservice installed on Tomcat. When I want to invoke webservice method a receive a following error:
Jboss:
org.jboss.ws.metadata.wsdl.WSDLException: Invalid default namespace: null
Tomcat:
Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
My webservice code is:
@WebService(serviceName = "mySyncC1", portName = "WSService", targetNamespace = "http://servicemix.org/cheese/")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class WSService {.....
and my client code is:
@WebServiceClient(name = "mySyncC1", targetNamespace = "http://servicemix.org/cheese/", wsdlLocation = WSDL_PATH)
public class MySyncC1 extends Service {.......
The same client application deployed on glassfish does not cause any problems. Is there any extra jboss configuration required. Help.....!!!!