<!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">JBoss 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;">
    Re: JBoss AS 7 - Call Glassfish WS - None of the policy alternatives can be satisfied
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/paul.robinson">Paul Robinson</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/635786#635786">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Tiago,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Could you provide me with a copy of the WSDL?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I assume there is a wsat:ATAssertion present in the WSDL with optional=false. Hence the reason for the Exception. By beginning a WS-AT transaction on the Client and using the XTS client side interceptor, the TX context will flow with the application soap message and hopefully be accepted by the policy assertion. I think this is what you will need to do to consume the service as, I assume,&#160; the service is mandating a WS-AT transaction for a reason.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>JBoss AS does support WS-AT through the XTS project. We have a demo application and some good documentation that you can follow. See here for more details: </span><a class="jive-link-external-small" href="http://www.jboss.org/jbosstm" target="_blank">http://www.jboss.org/jbosstm</a><span>. AS 7 comes with XTS, but you need to specify the standalone-xts.xml configuration to enable it. XTS currently adds too much delay to the boot time, so is disabled by default.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>However, it looks like its the CXF client soap stack that is objecting to the wsat:ATAssertion. We may need to extend CXF or create a feature request to solve this problem. I'll investigate further and get back to you.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>You should try what Alessio suggests, but bear in mind that the service invocation may not be successful. It's likely that the service will make the assumption that it is being invoked in a WS-AT transaction. Totally reasonable given that any invocations without a TX context should be blocked by the policy assertion. The service will likely try to enlist participants in a null transaction which will cause a failure.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Paul.</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/635786#635786">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>