Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Save Attachment from WebService Response

User_9X2MLJun 3 2015 — edited Sep 18 2015

Hi,

I am calling FinancialUtilServices -> downloadESSJobExecutionDetails to download the output file and get the below response. I would like to know as to how to save the file pointed by the tag <xop:Include href="cid:bd303e01-ffca-4a03-9e72-409761d896be" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>. Thanks in Advance

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/types/">

   <env:Header>

      <wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService//FinancialUtilService/downloadESSJobExecutionDetailsResponse</wsa:Action>

      <wsa:MessageID>urn:uuid:b13d076d-6bcb-4a99-a14c-29be708b5601</wsa:MessageID>

   </env:Header>

   <env:Body>

      <ns0:downloadESSJobExecutionDetailsResponse xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/types/">

         <ns2:result xsi:type="ns1:DocumentDetails" xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/types/" xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

            <ns1:Content>

               <xop:Include href="cid:bd303e01-ffca-4a03-9e72-409761d896be" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>

            </ns1:Content>

            <ns1:FileName xsi:nil="true"/>

            <ns1:ContentType>zip</ns1:ContentType>

            <ns1:DocumentTitle>ESS_L_5606</ns1:DocumentTitle>

            <ns1:DocumentAuthor>AAAA</ns1:DocumentAuthor>

            <ns1:DocumentSecurityGroup>Attachments</ns1:DocumentSecurityGroup>

            <ns1:DocumentAccount xsi:nil="true"/>

            <ns1:DocumentName>5606.zip</ns1:DocumentName>

         </ns2:result>

      </ns0:downloadESSJobExecutionDetailsResponse>

   </env:Body>

</env:Envelope>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/types/">

   <env:Header>

      <wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService//FinancialUtilService/downloadESSJobExecutionDetailsResponse</wsa:Action>

      <wsa:MessageID>urn:uuid:b13d076d-6bcb-4a99-a14c-29be708b5601</wsa:MessageID>

   </env:Header>

   <env:Body>

      <ns0:downloadESSJobExecutionDetailsResponse xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/types/">

         <ns2:result xsi:type="ns1:DocumentDetails" xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/types/" xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/financialUtilService/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

            <ns1:Content>

               <xop:Include href="cid:bd303e01-ffca-4a03-9e72-409761d896be" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>

            </ns1:Content>

            <ns1:FileName xsi:nil="true"/>

            <ns1:ContentType>zip</ns1:ContentType>

            <ns1:DocumentTitle>ESS_L_5606</ns1:DocumentTitle>

            <ns1:DocumentAuthor>SSAMEERA</ns1:DocumentAuthor>

            <ns1:DocumentSecurityGroup>Attachments</ns1:DocumentSecurityGroup>

            <ns1:DocumentAccount xsi:nil="true"/>

            <ns1:DocumentName>5606.zip</ns1:DocumentName>

         </ns2:result>

      </ns0:downloadESSJobExecutionDetailsResponse>

   </env:Body>

</env:Envelope>

Thanks,

Viswanath

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2015
Added on Jun 3 2015
4 comments
2,549 views