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

Attachment content id is resetted by spring web service

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.7
    • Fix Version/s: 2.0.3
    • Component/s: Core
    • Labels:
      None

      Description

      Content id set from the end point or intercepter is being overrided by the spring ws api. Please tell me if this issue is fixed already in another version.

      axiomSoapMessage.addAttachment(
      "JTT001-CONTENT-007-TXT1", new File("C:\\files
      test.xml"));
      //Attachment att1= axiomSoapMessage.getAttachment("JTT001-CONTENT-007-TXT1");
      //System.out.println("content id of the attachment is working"+att1 != null);

      Iterator itr = axiomSoapMessage.getAttachments();
      Attachment att2 = null;
      while(itr.hasNext())

      { att2 = (Attachment)itr.next(); System.out.println("Content id$$$"+att2.getContentId()); }

      soapMessage.getSOAPPart().setContentId("CONTENT-SOAP-01");
      if (soapMessage.saveRequired())

      { soapMessage.saveChanges(); }

        Activity

        jaise007 Jaise Thomas created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Assignee Arjen Poutsma [ arjen.poutsma ]
        Fix Version/s 2.0.3 [ 12197 ]
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        I can't reproduce this using the code provided. Can you attach a sample project that reproduces this issue, please?

        Show
        arjen.poutsma Arjen Poutsma added a comment - I can't reproduce this using the code provided. Can you attach a sample project that reproduces this issue, please?
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        254d 19h 28m 1 Arjen Poutsma 06/Oct/11 4:41 AM
        Resolved Resolved Closed Closed
        211d 2h 22m 1 Arjen Poutsma 04/May/12 7:03 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            jaise007 Jaise Thomas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: