[
https://issues.apache.org/jira/browse/CXF-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-2752.
------------------------------
Fix Version/s: 2.2.8
Resolution: Fixed
> Regression - CXF Client Spring Context Fails
> --------------------------------------------
>
> Key: CXF-2752
> URL: https://issues.apache.org/jira/browse/CXF-2752
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS, JAX-WS Runtime
> Affects Versions: 2.2.7
> Reporter: Josh Cummings
> Assignee: Daniel Kulp
> Fix For: 2.2.8
>
> Attachments: example.tar
>
>
> In upgrading to 2.2.7, we found that our cxf client's spring configuration
> would fail on startup with a NAMESPACE_ERR thrown from the writer.
> To reproduce, we simply include the following snippet in our client
> application context:
> <bean id="client" factory-bean="clientFactory" factory-method="create"
> lazy-init="false"/>
>
> <bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsClientFactoryBean"
> lazy-init="false">
> <property name="address" value="http://localhost:8180"/>
> <property name="serviceClass" value="org.my.project.MyService"/>
> </bean>
> It will fail when it tries to load cxf.xml using the
> ControlledValidationXmlBeanDefinitionReader.
> It appears to occur because the namespace attributes are handed off by
> W3CDomStreamWriter.writeAttribute with a namespaceURI of null instead of
> their actual namespace. It seems that either that method isn't the right
> place to handle namespace attributes, meaning changing something upstream, or
> that there is a bug in it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira