File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis2: getInboundFaultFrom MessageContext Error! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2: getInboundFaultFrom MessageContext Error!" Watch "Axis2: getInboundFaultFrom MessageContext Error!" New topic

Axis2: getInboundFaultFrom MessageContext Error!

Julio Francisco Vicente S�nchez

Joined: Apr 09, 2008
Posts: 4
I have developped a webservice using Axis2. The webservice uses mtom in order to send large files.

When I call the webservice from a client in a weblogic server, it works ok and I get the file without any problem.

But 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(
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
at org.apache.axis2.description.OutInAxisOperationClient.send(
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
at org.apache.axis2.client.OperationClient.execute(
at hcdSns.notificaciones.envio.WSProxyAttachementsStub.recepcion(
at hcdSns.notificaciones.envio.ClienteEnvioNotificacion.enviarMsgXL(
at hcdSns.ciudadano.model.VerInformeHelper.envioHC007RecepcionHC008(
at hcdSns.ciudadano.action.VerInformeAction.doAction(

Any idea?

Julio Francisco Vicente S�nchez

Joined: Apr 09, 2008
Posts: 4
I finally solved it... But I still doesn't know what was the problem...

I was using the 4.0.2 JBoss version... I have updgraded it to 4.2.2 version and now mtom is working correctly.
wood burning stoves
subject: Axis2: getInboundFaultFrom MessageContext Error!
jQuery in Action, 3rd edition