Petals BC Filetransfer

Rework schema of response

Details

  • Description:
    Hide

    Currently the response schema for operations 'mget' and 'getAsAttachment' is:

    <getAsAttachmentResponse ...>
       <attachment>
          <filename>
             <xop:Include ... href="cid:file-1.txt"/>
          </filename>
       </attachment>
    </getAsAttachmentResponse>
    
    <mgetResponse ...>
       <attachments>
          <filename>
             <xop:Include ... href="cid:file-A.txt"/>
          </filename>
          <filename>
             <xop:Include ... href="cid:file-B.txt"/>
          </filename>
       </attachments>
    </mgetResponse>

    The following is simpler:

    <getAsAttachmentResponse ...>
       <file-content>
          <xop:Include ... href="cid:file-1.txt"/>
       </file-content>
    </getAsAttachmentResponse>
    
    <mgetResponse ...>
       <file-content>
          <xop:Include ... href="cid:file-A.txt"/>
       </file-content>
       <file-content>
          <xop:Include ... href="cid:file-B.txt"/>
       </file-content>
    </mgetResponse>
    Show
    Currently the response schema for operations 'mget' and 'getAsAttachment' is:
    <getAsAttachmentResponse ...>
       <attachment>
          <filename>
             <xop:Include ... href="cid:file-1.txt"/>
          </filename>
       </attachment>
    </getAsAttachmentResponse>
    
    <mgetResponse ...>
       <attachments>
          <filename>
             <xop:Include ... href="cid:file-A.txt"/>
          </filename>
          <filename>
             <xop:Include ... href="cid:file-B.txt"/>
          </filename>
       </attachments>
    </mgetResponse>
    The following is simpler:
    <getAsAttachmentResponse ...>
       <file-content>
          <xop:Include ... href="cid:file-1.txt"/>
       </file-content>
    </getAsAttachmentResponse>
    
    <mgetResponse ...>
       <file-content>
          <xop:Include ... href="cid:file-A.txt"/>
       </file-content>
       <file-content>
          <xop:Include ... href="cid:file-B.txt"/>
       </file-content>
    </mgetResponse>
  • Environment:
    -

Activity

Christophe DENEUX made changes - Thu, 5 Dec 2019 - 15:02:17 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Thu, 5 Dec 2019 - 15:29:05 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 5 Dec 2019 - 18:09:34 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.0 [ 10931 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Thu, 5 Dec 2019 - 18:09:46 +0100
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Thu, 5 Dec 2019 - 18:15:13 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 5 Dec 2019 - 18:15:20 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Thu, 5 Dec 2019 - 15:02:05 +0100
    Updated:
    Thu, 5 Dec 2019 - 18:15:20 +0100
    Resolved:
    Thu, 5 Dec 2019 - 18:15:20 +0100