Hi,

 

I have a simple session bean that I would like to deploy as a web service. The bean deploys fine, and passes my client unit tests. I have a web-service.xml file in a wsr with the following structure:

tamalemqadmin.wsr/

            META-INF/

                        web-service.xml

 

I am running jboss4.0.0alpha on jdk1.4.1. When I start jboss, it gives me a confirmation that the wsr is deployed. However, when I point my browser to http://localhost:8080/jboss-net/servlet/AxisServlet I get the error listed below. 

 

Can anyone see where my mistake is?

Thanks,

fawce

 

web-service.xml:

 

<?xml version="1.0" encoding="UTF-8"?>

<deployment

    name="MQAdminDeployment"

    xmlns="http://xml.apache.org/axis/wsdd/"

    targetNamespace="http://tamalesoftware.com/mqadmin"

    xmlns:mqadmin="http://tamalesoftware.com/mqadmin"

    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 

  <service name="MQAdmin" provider="Handler">

    <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/>

    <parameter name="beanJndiName" value="MQAdminSession"/>

    <parameter name="homeInterfaceName" value="MQAdminSessionHome" />

    <parameter name="allowedMethods" value="*"/>

    <requestFlow name="MQAdminRequest">

      <handler name="TransactionRequestHandler" type="java:org.jboss.net.axis.server.TransactionRequestHandler"/>

    </requestFlow>

    <responseFlow name="MQAdminResponse">

      <handler name="SerialisationResponseHandler" type="java:org.jboss.net.axis.server.SerialisationResponseHandler"/>

      <handler name="TransactionResponseHandler" type="java:org.jboss.net.axis.server.TransactionResponseHandler"/>

    </responseFlow>

  </service>

</deployment>

 

the server error trace:

java.lang.NullPointerException

        at org.jboss.net.axis.server.EJBProvider.getServiceClass(EJBProvider.java:162)

        at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:535)

        at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:322)

        at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:477)

        at org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:566)

        at org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:322)

        at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(AxisServlet.java:584)

        at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:256)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366)

        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:293)

        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:581)

        at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)

        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544)

        at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)

        at org.mortbay.http.HttpServer.service(HttpServer.java:875)

        at org.jboss.jetty.Jetty.service(Jetty.java:543)

        at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)

        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)

        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)

        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:203)

        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)

        at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)

        at java.lang.Thread.run(Thread.java:536)

Reply via email to