<!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="https://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;">
    WSProvideTask issues
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/anand-pushparaj">anand pushparaj</a> in <i>JBoss Web Services</i> - <a href="https://community.jboss.org/message/746894#746894">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am migrating an application in weblogic to JBoss 5.1.0. While doing so, I replaced the servicegen with wsprovide.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000080; font-size: 10pt;">&#160; </span></p><p><span style="color: #000080; font-size: 10pt;">&#160; </span></p><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000080; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p align="left">&lt;path </p></span><span style="color: #000080; font-size: 10pt;">id=</span><span style="color: #008000; font-size: 10pt;">"wsprovide.path"</span><span style="color: #000080; font-size: 10pt;">&gt;</span></span><span style=": ; font-size: 2;"><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span><p><span style="color: #000080; font-size: 10pt;">&lt;fileset</span><span style="font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">dir=</span><span style="color: #008000; font-size: 10pt;">"C:/newjboss/jboss-5.1.0.GA/client"</span><span style="font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">includes=</span><span style="color: #008000; font-size: 10pt;">"jbossws-spi.jar"</span><span style="font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">/&gt;</span><span style=": ; font-size: 2;"><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></p><p><span style="color: #000080; font-size: 10pt;">&lt;fileset</span><span style="font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">dir=</span><span style="color: #008000; font-size: 10pt;">"C:/newjboss/jboss-5.1.0.GA/client"</span><span style="font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">includes=</span><span style="color: #008000; font-size: 10pt;">"*.jar"</span><span style="font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">/&gt;</span><span style=": ; font-size: 2;"><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></p><p align="left"><span style="color: #000080; font-size: 10pt;"><p align="left"><span style="color: #000080; font-size: 10pt;">&lt;/path&gt;<span style=": ; color: #000080; font-size: 2;"><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></span></p></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></p><p><p><span style=": ; color: #000080; font-size: 2;"><p>&lt;taskdef</p></span><p><span style="color: #000000; font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">name=</span><span style="color: #008000; font-size: 10pt;">"wsprovide"</span><span style="color: #000000; font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">classname=</span><span style="color: #008000; font-size: 10pt;">"org.jboss.wsf.spi.tools.ant.WSProvideTask"</span><span style="color: #000000; font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">classpathref=</span><span style="color: #008000; font-size: 10pt;">"wsprovide.path"</span><span style="color: #000000; font-size: 10pt;"> </span><span style="color: #000080; font-size: 10pt;">/&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></p></p><p><p>&lt;wsprovide</p></p><p><span style=": ; font-size: 2;"><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span><p><span style="color: #000080; font-size: 10pt;">fork=</span><span style="color: #008000; font-size: 10pt;">"false"</span></p></p><p><span style="color: #000080; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p>keep=</p></span><span style="color: #008000; font-size: 10pt;">"true"</span></span></p><p><span style="color: #000080; font-size: 10pt;"><p><span style="color: #000080; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p>destdir=</p></span><span style="color: #008000; font-size: 10pt;">"output"</span></span></p></span></p><p><span style=": ; color: #000080; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p>resourcedestdir=</p></span><span style="color: #008000; font-size: 10pt;">"out-resource"</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000080; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p>sourcedestdir=</p></span><span style="color: #008000; font-size: 10pt;">"out-resource"</span></span><p><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a></p><p><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a></p><p><a class="jive-link-anchor-small">#</a></p></p><p><p><span style=": ; color: #000080; font-size: 2;"><p>genwsdl=</p></span><p><span style="color: #008000; font-size: 10pt;"><p><span style="color: #008000; font-size: 10pt;">"true"</span></p></span></p></p></p><p><span style="color: #008000; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p>verbose=</p></span><p><span style="color: #008000; font-size: 10pt;">"true"</span></p></span></p><p><span style="color: #000080; font-size: 10pt;"><span style=": ; color: #000080; font-size: 2;"><p>sei=</p></span><span style="color: #008000; font-size: 10pt;">"org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl"</span><span style="color: #000080; font-size: 10pt;">&gt;</span></span></p><p><span style="color: #000080; font-size: 10pt;"><p><span style="color: #000080; font-size: 10pt;"><p>&lt;classpath&gt;</p></span></p><p><span style="color: #000080; font-size: 10pt;">&#160; </span><span style="color: #000080; font-size: 10pt;">&lt;pathelement </span><span style="color: #000080; font-size: 10pt;">path=</span><span style="color: #008000; font-size: 10pt;">"${tests.output.dir}/classes</span><span style="color: #000080; font-size: 10pt;">/&gt;</span></p></span><span style="color: #000080; font-size: 10pt;">&lt;/wsprovide&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000080; font-size: 10pt;">&lt;/classpath&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000080; font-size: 10pt;"></span></p><p><span style="color: #008000; font-size: 10pt;"></span></p><p><span style="color: #008000; font-size: 10pt;">However i get the below stack of errors :</span><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a></p><p><span style="color: #008000; font-size: 10pt;"></span></p><p><span style="color: #008000; font-size: 10pt;"></span><span style="color: #0000ff; font-size: 10pt;"><p><span style=": ; color: #0000ff; font-size: 2;"><p align="left">[</p></span></p></span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;">wsprovide</span></span></span><span style="color: #0000ff; font-size: 10pt;"><p align="left"><span style="color: #0000ff; font-size: 10pt;">] Generating from endpoint: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl<span style=": ; color: #0000ff; font-size: 2;"><p align="left">[</p></span></span></p></span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;">wsprovide</span></span></span><span style="color: #0000ff; font-size: 10pt;"><p align="left"><span style="color: #0000ff; font-size: 10pt;">] Output directory: C:\july5\Server\dist\chemselect<span style=": ; color: #0000ff; font-size: 2;"><p align="left">[</p></span></span></p></span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;">wsprovide</span></span></span><span style="color: #0000ff; font-size: 10pt;"><p align="left"><span style="color: #0000ff; font-size: 10pt;">] Source directory: C:\july5\Server\org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl<span style=": ; color: #0000ff; font-size: 2;"><p align="left">[</p></span></span></p></span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;">wsprovide</span></span></span><span style="color: #0000ff; font-size: 10pt;"><p align="left"><span style="color: #0000ff; font-size: 10pt;">] Generating WSDL:</span></p></span></p><p><span style=": ; color: #000080; font-size: 2;"><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></p><p><p><span style="font-size: 10pt;"><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span><span style="color: #ff0000; font-size: 10pt;"><p align="left">BUILD FAILED</p></span><span style="text-decoration: underline;"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style=": ; color: #000080; font-size: 2; text-decoration: underline;"><p>C:\july5\Server\build.xml:190: org.jboss.ws.WSException</p></span></span></span><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></span><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span><span style="text-decoration: underline;"><span style="text-decoration: underline;"><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></span></span></span><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p>: Cannot obtain @WebService annotation from: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImp<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: #000000; font-size: 10pt;">Can anyone help me know where am going wrong or what i am missing.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000000;">Any how do we generate JBoss.xml for EJBDoclet? If that is not possible, what is the work around ?</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000000;">Thank you.</span></p><p><span style="color: #000000;">Regards,</span></p><p><span style="color: #000000;">P.Anand</span></p></p></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/746894#746894">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="https://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>