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

AxiomSoapMessage does not work fine in Spring-WS with CastorMarshaller

    Details

    • 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:
      None
    • Environment:
      Spring-WS 1.5.4, Axiom 1.2.7, Castor 1.2

      Description

      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

        Activity

        atohoun Aristide Tohoun created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 1.5.5 [ 11067 ]
        atohoun Aristide Tohoun made changes -
        Attachment digit-client-servlet.xml.txt [ 14573 ]
        atohoun Aristide Tohoun made changes -
        atohoun Aristide Tohoun made changes -
        Attachment myEndpoint.java [ 14619 ]
        arjen.poutsma Arjen Poutsma made changes -
        Attachment echo-castor.zip [ 14702 ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Open [ 1 ] Resolved [ 5 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: