Sending a base64 content from one wso2 to another

angel.p.arenas.gmail.com's picture
hi there, Can somebody please tell me how to send a base64 content from one wso2 to another? At this point not being picky as to how to send it: within a text file, xml, or soap. Just need to send it. 1. I´ve tried as text file and used vfs to send it but message arrives empty at destination. 2. I´ve tried to embed it into an xml file but content gets altered during transportation 3. I've tried to use binary relay on the first txt message, but again the bytes message arrives empty. 4. Same story with 3. if tried to stick it into a soap message. Please somebody help. Thanks, Angel
rajika's picture

There is an XPath function

There is an XPath function that you can use to convert the content into a base64 string. What you can do is to get the payload, convert it into a base64 string and then set again as the SOAP body.(I haven't tried this out) Rajika
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
KeellsSuper is a leading supermarket chain with 50-plus outlets in Sri Lanka, and it offers the only online supermarket in the country. In 2005, JKH implemented SAP ERP across it’s 70 subsidiaries...
Thursday, February 16th 2012, 09.00 AM (PST)

Thursday, February 16th 2012, 10.00 AM (GMT)