cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirko Sertic (JIRA)" <>
Subject [jira] Created: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException
Date Thu, 28 Aug 2008 12:29:44 GMT
WSDL First leads to javax.wsdl.WSDLException: WSDLException

                 Key: CXF-1768
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.1.2, 2.1.1
         Environment: Windows Vista, JDK 1.5.0
            Reporter: Mirko Sertic

WSDL first with spring results in the following Exception:

javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ...
Namespace prefixes must be set on the Definition object using the addNamespace(...) method.

The Spring configuration is as follows:

	<import resource="classpath:META-INF/cxf/cxf.xml"/> 
	<import resource="classpath:META-INF/cxf/cxf-extension-http.xml" /> 
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/> 
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> 

	<bean id="ccInfoServiceImpl" class="">
	<jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
           <bean class="org.apache.cxf.feature.LoggingFeature"/>

I have to specify the spring configuration as follows to make it working:

	<jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
           <bean class="org.apache.cxf.feature.LoggingFeature"/>

I dont know why i have to specify the porttype again. I added the used wsdl files for bug

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message