Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-410

AxiomSoapMessage does not work fine in Spring-WS with CastorMarshaller


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.5
    • Component/s: Core
    • Labels:
    • Environment:
      Spring-WS 1.5.4, Axiom 1.2.7, Castor 1.2


      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...

      1. digit-client-servlet.xml.txt
        1 kB
        Aristide Tohoun
      2. myEndpoint.java
        3 kB
        Aristide Tohoun
      3. mySeverSideContextConfiguration.xml
        4 kB
        Aristide Tohoun


        No work has yet been logged on this issue.


          • Assignee:
            arjen.poutsma Arjen Poutsma
            atohoun Aristide Tohoun
          • Votes:
            0 Vote for this issue
            2 Start watching this issue


            • Created: