[jboss-user] [JBoss Web Services CXF] - XTS tests broken in AS trunk after switch to CXF stack in 3.3.0

Richard Opalka do-not-reply at jboss.com
Tue Jun 8 08:17:28 EDT 2010


Richard Opalka [http://community.jboss.org/people/richard.opalka%40jboss.com] replied to the discussion

"XTS tests broken in AS trunk after switch to CXF stack in 3.3.0"

To view the discussion, visit: http://community.jboss.org/message/546746#546746

--------------------------------------------------------------
> public static String getAction(Extensible ext) {
>     Object o = ext.getExtensionAttribute(JAXWSAConstants.WSAW_ACTION_QNAME);
>     if (o == null) {
>         o = ext.getExtensionAttributes().get(new QName(Names.WSA_NAMESPACE_WSDL_METADATA,
>                                                        Names.WSAW_ACTION_NAME));
>     }
>     if (o == null) {
>         o = ext.getExtensionAttributes().get(new QName(Names.WSA_NAMESPACE_WSDL_NAME_OLD,
>                                                Names.WSAW_ACTION_NAME));
>     }
>     if (o instanceof QName) {
>         return ((QName)o).getLocalPart();
>     }
>     return o.toString(); // <=== fails here
> 
This is known/expected issue. CXF 2.2.8 (currently in use)
doesn't implement JAX-WS 2.2 yet. This should be fixed soon in upcomming CXF releases.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/546746#546746]

Start a new discussion in JBoss Web Services CXF at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2046]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100608/e7f18ad3/attachment-0001.html 


More information about the jboss-user mailing list