<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    XTS tests broken in AS trunk after switch to CXF stack in 3.3.0
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/adinn">Andrew Dinn</a> in <i>JBoss Web Services CXF</i> - <a href="http://community.jboss.org/message/546977#546977">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><blockquote class="jive-quote"><p>Richard Opalka wrote:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Is it true Andrew it was tested with cxf 2.2.5?</p><p>If yes, could you create a JIRA and provide a</p><p>simple test case to reproduce that problem?</p></blockquote><p>Well, I ran this on AS trunk which uses JBossWS 3..3.0. The release notes for 3.3.0 state that it is based on CXF 2.2.8.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>These tests worked fine on hudson running on AS trunk up to 31 May. After that the hudson build started failing. I believe this coincided with the installation of 3.3.0 into AS trunk and the consequent switch to use CXF as the WS stack. Now it may be that the tests also fail on an older JBossWS-CXF -- I don't know about that for sure. But they certainly fail now on 3.3.0-CXF.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The error seems obvious and simple to me:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>when creating the reply message CXF processes the @Action{output=XXX} annotation and installs the extension attribute</p><ul><li> [key=JAXWSAConstants.WSA_ACTION_QNAME, value = XXX] in the msginfo.</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">when aggregating the reply MAP values CXF looks up the action in the msginfo using keys</span></p><ul><li><span style="font-family: arial,helvetica,sans-serif;">JAXWSAConstants.WSAW_ACTION_QNAME,</span></li><li>Names.WSA_NAMESPACE_WSDL_METADATA+Names.WSAW_ACTION_NAME</li><li><pre jivemacro="quote"><span style="font-family: arial,helvetica,sans-serif;"> </span><pre jivemacro="quote"><pre jivemacro="quote"><span style="font-family: arial,helvetica,sans-serif;">Names.WSA_NAMESPACE_WSDL_NAME_OLD+Names.WSAW_ACTION_NAME</span></pre>
</pre>
</pre></li></ul><p><span style="font-family: arial,helvetica,sans-serif;"><br/></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="font-family: arial,helvetica,sans-serif;"> </span>&#160;</p><p>none of these match the key it used to install the property but it clearly expects that one of them must match.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Now, it looks to me like the check&#160; is either using the wrong key (miscoded JAXWSAConstants.WSAW_ACTION_QNAME for JAXWSAConstants.WSA_ACTION_QNAME) or else has omitted to also check for th installed key. I guess it is remotely possible that this check is only supposed to find actions installed using the 3 keys it actually tries. However,&#160; in that case i) it needs to guard against null and ii) something else later on ought to be looking for the action using the installed key. I find it hard to believe that this is actually the case.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/546977#546977">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services CXF at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2046">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>