axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaƫl Pouzerate <gpouz...@frisurf.no>
Subject NullPointerException when deploying
Date Wed, 15 May 2002 16:55:14 GMT
Hi,

I'm using Apache Axis beta2 (on weblogic5.1)
I'm trying to deploy a web service by running:
  java org.apache.axis.client.AdminClient CustomerManagmentAPI.wsdd
-lhttp://localhost:7654/axis/services/AdminService

But on the server side (weblogic5.1), there's an exception occuring in
Axis saying:
135/05  14:29:06,496[ExecuteThread-11] ERROR
org.apache.axis.transport.http.AxisServlet - Exception:
java.lang.NullPointerException
java.lang.NullPointerException
        at org.apache.axis.message.RPCElement.<init>(RPCElement.java:106)
        at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:137)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:831)
        at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
        at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:965)
        at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1858)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1234)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:374)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:202)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:428)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:306)
        at org.apache.axis.handlers.soap.SOAPService$SOAPRequestHandler.invoke(SOAPService.java:138)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:576)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
        at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915)
        at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879)
        at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
        at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
        at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

And my descriptor file is very simple:
  <deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <service name="CustomerManagmentAPI" >
      <parameter name="className"
                 value="com.foo.custmgmt.CustomerManagmentAPI"/>
      <parameter name="allowedMethods" value="*"/>
    </service>
  </deployment>

Any good idea on how to solve this??

--Gael




Mime
View raw message