Question
CBA
AU
Last activity: 4 Oct 2018 13:54 EDT
How can I send file content in base64 encoded in soap message
Can anyone explains different ways to share documents between pega and other servers.
Our current use-case is to send base64 encoded text of document content which has generated in pega within soap message.
Message was edited by: Lochan to add Category
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
CBA
AU
By default pega stores the documents in base64 encoded, So I got to send the pyAttachStream in Soap message.
Would be great if someone updates this thread with all different approaches available to send/ upload the documents generated in pega to other servers over http.
Thanks.
CBA
AU
Got the solution
PEG
IN
Could you please share the solution so that it will be helpful for other community members. .
Accepted Solution
CBA
AU
By default pega stores the documents in base64 encoded, So I got to send the pyAttachStream in Soap message.
Would be great if someone updates this thread with all different approaches available to send/ upload the documents generated in pega to other servers over http.
Thanks.
Veera, are you sending the file in SOAP service response? could you please provide more details.
CBA
AU
Govardhan, We have a connect soap integration and we got to send file in the input request to the service provider.
So we attached the base64code format of the document content to the request xml. We could get this base64code from the Data attach file of the document stored within pega.
Thanks Veera. Was that a Java/.NET application that was hosting the SOAP service? I am just wondering on how they decoded it and on what version of Java there were on (if it was a Java SOAP service)
Bayview Asset Management, LLC
US
I'm facing the same issue.I need to send an "xml payload" as base64encoded in my connect-soap request. could you please elaborate on pyAttachStream.
Pegasystems Inc.
IN
Coforge DPA private limited
AU
what is the data type of property in which you are saving the base64 string
Infosys
AU
Pega Supports sending binary file over HTTP using SWA(soap with attachments) and MTOM. As a simple step you could use SWA by creating pyAttachmentPage on the clipboard . Pega connector would take care of attaching the file in the soap message and converting the message to MultiPart/Related message with binary files as attachments.