<!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;">
JAX-WS webservices are not working in JBoss-5.1.0.GA or JBoss-eap-5.1
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/patilbh">Basavaraj Patil</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/636139#636139">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;"> </p><p>Problem: </p><p>JAX-WS is not working in JBoss 5.1.0.GA and JBoss-eap-5.1 version. I tried with default JBoss native stack and JBoss CXF stack.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Brief Details:</p><p>Earlier we used Axis1.4 for webservices now I modified WebServices using JAX-WS which Oracle JDK 1.6 provides, deployment works fine in JBoss 4.x, WebLogic 10.x, WebSphere 7.x and WSDLs are exposed properly. The same deployment WAR file did not work in JBoss-5.1.0.GA and JBoss-eap-5.1. So i tried debugging my code, request is coming till doGet() method in my WSServlet class and then it goes within JBoss Servlet class, from here onwards I am clueless because no errors thrown.</p><p>Note: Earlier webservices using Axis 1.4 works great in Jboss-5.1.0.GA and Jboss-eap-5.1</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>web.xml details as below:</p><p><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">-----</span></p><p>      <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">listener</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>            <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">description</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">Test Listener</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">description</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>            <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">listener-class</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">com.adminserver.web.helper.WSContextListener</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">listener-class</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>      <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">listener</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="font-family: 'Courier New'; font-size: 10pt;"> </span> </p><p>    <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>        <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-name</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span><span style="color: black; font-size: 10pt; text-decoration: underline; font-family: 'Courier New';">jax</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">-<span style="text-decoration: underline;">ws</span></span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-name</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>        <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-class</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">com.client.web.helper.WSServlet</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-class</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>        <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>    <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-mapping</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>        <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-name</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span><span style="color: black; font-size: 10pt; text-decoration: underline; font-family: 'Courier New';">jax</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">-<span style="text-decoration: underline;">ws</span></span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-name</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>        <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"><</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">url-pattern</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span><span style="font-family: 'Courier New'; color: black; font-size: 10pt;">/services/*</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">url-pattern</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>    <span style="font-family: 'Courier New'; color: teal; font-size: 10pt;"></</span><span style="font-family: 'Courier New'; color: #3f7f7f; font-size: 10pt;">servlet-mapping</span><span style="font-family: 'Courier New'; color: teal; font-size: 10pt;">></span></p><p>-------</p><p>Please go through attachments for WSContextListener.java and WSSServlet.java detail</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Error Details:</p><p>Strange thing is, I am not getting any errors in log file as well on the browser, getting blank page on browser (I mean complete white web page).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Options I tried:</p><p>I tried disabling security details in security-jboss-beans.xml and security-policies-jboss-beans.xml (security under deploy folder) thinking that anything is blocking related to security.</p><p>Also I tried disabling jboss-web.xml from jbossws-console.war folder in deploy, but did not help much.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Can you please let me know views? Also please let me know anything I am missing or need more information to understand this issue.</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/636139#636139">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>