When i use AxiomSoapMessageFactory ( in order to benefit to STAX ), with CastorMarshaller in Spring-WS, i notice that the WebServiceMessage request is sent very well, but its response is not sent back. I receive nothing. But if i use SaajSoapMessageFactory instead of Axiom, every thing is fine.
May be one has to modify the MessageContext given as parameter to the method : public final void invoke(MessageContext messageContext) in the AbstractMarshallingPayloadEndpoint class. Because of that if i look into the messageContext object at runtime, all of its request and response objects are SaajSoapMessage.
But how to change this MessageContext ? or are there any solutions to work with Axiom or that is really a bug to be fixed ?
Please give me an idea on this...