Axis2
  1. Axis2
  2. AXIS2-4810

Error in org.apache.axis2.saaj.util.SAAJUtil.getDocumentFromSOAPEnvelope() and SAAJUtil.toDOOMSOAPEnvelope() method

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6.0
    • Component/s: saaj
    • Labels:
      None
    • Environment:
      N/A

      Description

      I believe that the main if/else statement in these methods is incorrect. When passing in a SOAPEnvelope object set for SOAP1.2, the method still uses the DOOMAbstractFactory.getSOAP11Factory() method. I believe that it should use the DOOMAbstractFactory.getSOAP12Factory() instead.

      1. AXIS2-4810.patch
        0.6 kB
        Pradeep Fernando

        Activity

        Ruben Arizmendi created issue -
        Hide
        Pradeep Fernando added a comment -

        this is a trivial fix as suggested and tests has been run on the fix

        Show
        Pradeep Fernando added a comment - this is a trivial fix as suggested and tests has been run on the fix
        Pradeep Fernando made changes -
        Field Original Value New Value
        Attachment AXIS2-4810.patch [ 12469403 ]
        Ruwan Linton made changes -
        Assignee Ruwan Linton [ ruwan ]
        Ruwan Linton made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Ruwan Linton added a comment -

        Thanks Pradeep for the contribution

        Show
        Ruwan Linton added a comment - Thanks Pradeep for the contribution
        Hide
        Ruwan Linton added a comment -

        committed the patch

        Show
        Ruwan Linton added a comment - committed the patch
        Ruwan Linton made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.6 [ 12313622 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        146d 14h 8m 1 Ruwan Linton 27/Jan/11 04:10
        In Progress In Progress Resolved Resolved
        3m 33s 1 Ruwan Linton 27/Jan/11 04:14

          People

          • Assignee:
            Ruwan Linton
            Reporter:
            Ruben Arizmendi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development