<!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: EJB-Web Service built with wsconsume will not deploy on JBoss
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/asoldano">Alessio Soldano</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/631508#631508">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>I am losing my mind on this.&#160; I have been all over Google looking at annotated examples of supposed web services built on EJBs.&#160; I am now reduced to frantically trying this and trying that, once again.&#160; Seems to be a regular occurence on the JBoss learning curve.&#160; And nothing works.</p></blockquote><p>The jbossws testsuite includes many examples that are tested before any release, so they work for sure. Starting from them and looking at the authoritative documentation is a good idea.</p><p>This said, the problem here might be related to the way the application is packaged, can you tell that? Btw, I see [1] where the same issue is caused by a descriptor in a wrong position as a consequence of an error in a book.</p><blockquote class="jive-quote"><p>Nothing gets me over the hump of this @#$%^&amp;* "WARNING [config] Unable to process deployment descriptor for context '/jbsv-ejb'".&#160; I have no idea what it doesn't like.</p></blockquote><p>I assume the deployment is failing for you after the WARNING, isn't it? Can you give some futher details on the exception you get?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p>I can't find any complete example containing all the following elements:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1. "Hello World" Web Service built with top-down model from wsconsume from wsdl.</p><p>2. Deployed as EJB3 using annotations on JBoss 5.1 server.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The examples in the JBossWS Testsuite that use EJB3 all use Style.RPC, which I can't use.&#160; Is that the problem?&#160; Does JBossWS support Style.DOCUMENT with EJB3?&#160; I see examples that use Style.DOCUMENT in pojo Web Services, but none in EJB.</p></blockquote><p>Of course document/literal syle is supported [2], both with EJB3 and POJO. The fact the tests in the jbossws testsuite all use rpc/literal is kind of a coincidence (most of them have been derived from the first ones by copying over the endpoint interface / impl, as that was probably not relevant for the test and keeping it as simple as possible was the important thing).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p style="min- padding: 0px;">Or maybe it's this:</p><p><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBPAPP-6806" target="_blank">https://issues.jboss.org/browse/JBPAPP-6806</a><span>&#160; ?</span></p></blockquote><p>No. Moreover that's a JBPAPP jira, so it refers to the JBoss Enterprise Application Platform. I assume you're using the 5.1.0.GA community version of JBoss, aren't you?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Regarding the need for ejb-jar.xml, yes, that's optional.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Again, try starting by the jbossws testsuite, pick something that is as close as possible to what you need and start changing what you need. Proceeding step by step might also help in finding where your problem is.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</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>[1] </span><a class="jive-link-external-small" href="http://community.jboss.org/thread/146501" target="_blank">http://community.jboss.org/thread/146501</a></p><p><span>[2] </span><a class="jive-link-external-small" href="http://community.jboss.org/docs/DOC-13972#DocumentLiteral" target="_blank">http://community.jboss.org/wiki/JBossWS-UserGuide#DocumentLiteral</a></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/631508#631508">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>