1 Reply Latest reply on Oct 22, 2008 12:33 PM by Alessio Soldano

    JBoss&Axis2: getInboundFaultFromMessageContext Error!

    Julio Francisco Vicente Sánchez Newbie

      I have developped a webservice using Axis2. The webservice uses mtom in order to send large files.

      When I call it from a client in a jboss server I am getting the following error:

      org.apache.axis2.AxisFault: java.lang.NullPointerException
      at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
      at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at hcdSns.notificaciones.envio.WSProxyAttachementsStub.recepcion(WSProxyAttachementsStub.java:151)
      at hcdSns.notificaciones.envio.ClienteEnvioNotificacion.enviarMsgXL(ClienteEnvioNotificacion.java:80)
      at hcdSns.ciudadano.model.VerInformeHelper.envioHC007RecepcionHC008(VerInformeHelper.java:99)
      at hcdSns.ciudadano.action.VerInformeAction.doAction(VerInformeAction.java:40)

      I am also testing it in a Weblogic Server and it works ok and I get the file without any problem.

      Any idea?

      Thanks!call