In my http connect, I mapped the response data in a string property. How to get pdf in base64 string format out of this response string. Later i will send this Base64 string as a response of another http service.
Is base64util.encode jvm specific? I've a requirement where a legacy java application will invoke Pega SOAP service for a PDF. I am able to send the file content by text encoding it (using base64). On the receiving side, java application is using java 1.6 and complains that they can't base64 decode this as base64util is not available in java 1.6 (and another reason being base64util encoding uses jvm specific encoding technique...is the understanding correct here?) .
Appreciate if someone could answer the following questions:
1. What is the recommended approach to send file content (that Data Power will consider as valid XML and doesn't block it)
2. Is MTOM approach helpful? If anyone has implemented this for a SOAP service to send files, please share it
3. If we want to use base64 encoding using Apache Commons codec, can someone share a working example? Is Apache Commons Codec jar available OOTB with Pega? or need to deploy the external jar?
Connect-http and Service-http is a way to retrieve/provide information from one system to other using HTTP protocol. It involves an URL that identifies the location where the resource is present and when we invoke that information present on the location is returned in the response. Usage depends mostly on the design and capability of integrating system. we have used it to send SMS, integrating with Queue management system for call centers etc.