6 Replies Latest reply on Apr 9, 2006 4:08 AM by nishat islam

    ERROR: Ignoring invalid namespace mapping

    John Schult Newbie

      I have a Session bean deployed as an endpoint and when testing the web service, I get the following in the JBoss console:

      12:42:03,296 WARN [DeserializationContextImpl] Ignoring invalid namespace mapping: [prefix=,uri=]


      I have debugged the Session bean and it is getting called properly and returning a value, but the Axis test client gets this:

      AxisFault
       faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
       faultSubcode:
       faultString: java.lang.NullPointerException
       faultActor:
       faultNode:
       faultDetail:
       {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
       at java.util.Hashtable.put(Hashtable.java:396)
       at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)
       at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
       at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
       at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
       at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
       at org.apache.axis.client.Call.invoke(Call.java:2553)
       at org.apache.axis.client.Call.invoke(Call.java:2248)
       at org.apache.axis.client.Call.invoke(Call.java:2171)
       at org.apache.axis.client.Call.invoke(Call.java:1691)
       at com.earthlink.test.fishfarm.FishFarmEndpointBindingStub.analyzeUrl(FishFarmEndpointBindingStub.java:130)
       at com.earthlink.test.fishfarm.FishFarmTestCase.test1FishFarmEndpointPortAnalyzeUrl(FishFarmTestCase.java:32)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at


      This is a pretty simple service, and it appears that everything is getting called properly, but no joy on the Axis client. Any ideas?

      Server version: JBoss AS 4.0.2
      JDK: 1.5