<!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;">
    Jboss 5.1 , jbossws-metro-3.2.2.GA , Seam 2.2 and Seam 2.2 - deployment exception
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/gnanasekaran">gnana sekaran</a> in <i>JBoss Web Services Metro</i> - <a href="http://community.jboss.org/message/537150#537150">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I am using seam 2.2, jboss 5.1 and jboss ws metro 3.2.2.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I want to create the web service to upload binary files.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>while enabling the MTOM by using SOAP1.2 MTOM binding the deploymant exception is occured.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #646464; font-size: 10pt; "><p align="left">@WebService</p><p align="left"><span style="font-size: 10pt;">(name=</span><span style="color: #2a00ff; font-size: 10pt; ">"MtomStreaming"</span><span style="font-size: 10pt;">,serviceName=</span><span style="color: #2a00ff; font-size: 10pt; ">"MtomStreamingService"</span><span style="font-size: 10pt;">,targetNamespace=</span><span style="color: #2a00ff; font-size: 10pt; "><span>"</span><a class="jive-link-external-small" href="http://example.org" target="_blank">http://example.org</a><span>"</span></span><span style="font-size: 10pt;">)</span><span style="color: #646464; font-size: 10pt; "><p align="left">@BindingType</p><p align="left"><span style="font-size: 10pt;">(value =javax.xml.ws.soap.SOAPBinding.</span><em><span style="color: #0000c0; font-size: 10pt; ">SOAP12HTTP_MTOM_BINDING</span><span style="font-size: 10pt;">)</span><span style="color: #646464; font-size: 10pt; "><p align="left">@HandlerChain</p><p align="left"><span style="font-size: 10pt;">(file = </span><span style="color: #2a00ff; font-size: 10pt; ">"META-INF/handler-config.xml"</span><span style="font-size: 10pt;">)</span><strong style=": ; color: #7f0055; font-size: 10pt; "><p>public c<span style="color: #7f0055; font-size: 10pt; "><strong><span style="color: #7f0055; font-size: 10pt; ">lass</span><span style="font-size: 10pt;"> StreamingImpl { </span></strong></span></p></strong></p></span></em></p></span></p></span></p><p> }</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 10pt;"><p align="left">Caused by:</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">javax.xml.ws.WebServiceException</span><span style="font-size: 10pt;">: Failed to build METRO runtime model</span><span style="font-size: 10pt;"><p align="left">at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RuntimeModelDeploymentAspect.java:134</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">WSDeploymentAspectDeployer.java:107</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">AbstractRealDeployer.java:50</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DeployerWrapper.java:171</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">... 30 more</p><p align="left">Caused by:</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">com.sun.xml.ws.server.ServerRtException</span><span style="font-size: 10pt;"><span>: Cannot generate WSDL for binding "</span><a class="jive-link-external-small" href="http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true" target="_blank">http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true</a><span>"</span></span><span style="font-size: 10pt;"><p align="left">at com.sun.xml.ws.server.EndpointFactory.generateWSDL(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">EndpointFactory.java:416</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at com.sun.xml.ws.server.EndpointFactory.createEndpoint(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">EndpointFactory.java:197</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at com.sun.xml.ws.api.server.WSEndpoint.create(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">WSEndpoint.java:467</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.parseAdapters(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DeploymentDescriptorParserExt.java:295</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p align="left">at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.parse(</p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DeploymentDescriptorParserExt.java:171</span><span style="font-size: 10pt;">)</span><span style="font-size: 10pt;"><p>at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(</p><p><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RuntimeModelDeploymentAspect.java:110</span><span style="font-size: 10pt;">)</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Any help on this will be very useful for me.</p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></span></p></span></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/537150#537150">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services Metro at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2045">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>