<!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;">
    The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC.
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/anoopsk">Anoopkumar SR</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/630187#630187">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,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I was trying to create a new webservice in jboss AS 4.05 and jbossWS-native 2.0.3 for ejb2.1 spec. Sample ejb project made in .ear was created and when tried to deploy the same in jbossAS4.0.5, it shows below error. Any idea what is this and how to resolve? Your help is highly appreciated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Also let me know, if at all new webservices to be created for existing EJB2.0 spec, do we still need Service Interface as End point and need to specify the end-point in ejb-jar.xml? Pls help. </p><p><span style="font-size: 10pt;">&#160; </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="font-size: 10pt;"> </span>&#160;</p><p><span style="font-size: 10pt; font-family: 'Courier New';">04:32:22,750 INFO&#160; [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">04:32:23,031 INFO&#160; [EARDeployer] Init J2EE application: <a class="jive-link-anchor-small">file:/C:/HS/Installation/jboss-4.0.5.GA/server/default/deploy/SimpleWebServiceEjb2ProjectEAR.ear</a></span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">04:32:23,250 WARN&#160; [verifier] EJB spec violation: </span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Bean&#160;&#160; : SimpleSession</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Method : public abstract boolean isIdentical(EJBObject) throws <span style="color: navy; text-decoration: underline;">RemoteException</span></span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Section: 7.11.9</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Warning: The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="font-size: 10pt; font-family: 'Courier New';"> </span>&#160;</p><p><span style="font-size: 10pt; font-family: 'Courier New';">04:32:23,250 WARN&#160; [verifier] EJB spec violation: </span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Bean&#160;&#160; : SimpleSession</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Method : public abstract EJBHome getEJBHome() throws <span style="color: navy; text-decoration: underline;">RemoteException</span></span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Section: 7.11.9</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">Warning: The methods defined in the service endpoint interface must have a return of a valid type for JAX-RPC.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="font-size: 10pt; font-family: 'Courier New';"> </span>&#160;</p><p><span style="font-size: 10pt; font-family: 'Courier New';">04:32:23,250 ERROR [MainDeployer] Could not create deployment: <a class="jive-link-anchor-small">file:/C:/HS/Installation/jboss-4.0.5.GA/server/default/tmp/deploy/tmp1060116867436762846SimpleWebServiceEjb2ProjectEAR.ear-contents/SimpleWebServiceEjb2EJBProject.jar</a></span></p><ul><li><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: 'Courier New';">org.jboss.deployment.DeploymentException</span><span style="font-size: 10pt; color: black; font-family: 'Courier New';">: Verification of Enterprise Beans failed, see above for error messages.</span></li></ul><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.ejb.EJBDeployer.create(<span style="color: navy; text-decoration: underline;">EJBDeployer.java:610</span>)</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(<span style="color: navy; text-decoration: underline;">Native Method</span>)</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(<span style="color: navy; text-decoration: underline;">NativeMethodAccessorImpl.java:39</span>)</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(<span style="color: navy; text-decoration: underline;">DelegatingMethodAccessorImpl.java:25</span>)</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(<span style="color: navy; text-decoration: underline;">Method.java:592</span>)</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(<span style="color: navy; text-decoration: underline;">ReflectedDispatcher.java:155</span>)</span></p><p><span style="font-size: 10pt; font-family: 'Courier New';">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.server.Invocation.dispatch(<span style="color: navy; text-decoration: underline;">Invocation.java:94</span>)</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/630187#630187">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>