You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Rexxe <at...@gmail.com> on 2008/09/30 01:25:46 UTC

The wsdl request parameter doesn't work

I have read through all the messages on Nabble regarding to ?wsdl and I have
tried everything to fix it, mainly putting wstx on the beginning of the
classpath.  I am currently using the latest version of CXF, version 2.1.2. 
When I revert back to version 2.1.0 everything works perfectly.

Here are the exceptions:

org.apache.cxf.transport.http.WSDLQueryException: Exception occurred while
trying to process http://localhost/services/CustomerService?wsdl

org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:214)

org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:152)

org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:174)

org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:156)

Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR:
Can't find prefix for 'http://bean.webservice.foo.com'. Namespace prefixes
must be set on the Definition object using the addNamespace(...) method.
	at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)
	at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source)
	at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
	at
org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:171)

Any fixes or thoughts?  Am I doing something wrong or should I file a bug?
-- 
View this message in context: http://www.nabble.com/The-wsdl-request-parameter-doesn%27t-work-tp19733658p19733658.html
Sent from the cxf-user mailing list archive at Nabble.com.