[jboss-user] [JBossWS] - Invalid default namespace: null

lordjoker do-not-reply at jboss.com
Thu Sep 18 02:58:49 EDT 2008


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.....!!!!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177300#4177300

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177300



More information about the jboss-user mailing list