HI Ramindu, There is a gmail connector which has pretty similar implementation can you follow that..
meantime @adding Sewwandi [1] https://github.com/wso2-dev/esb-connectors/blob/master/gmail/src/main/java/org/wso2/carbon/connector/gmail/GmailUtils.java Cheers, Dushan On Mon, Apr 28, 2014 at 7:33 AM, Malaka Silva <[email protected]> wrote: > Hi Jeewantha, > > I guess they are trying this using out-only. > > It can be simulated using a class mediator. > > Enabling MTOM will not help in this case? > > > > > On Fri, Mar 21, 2014 at 11:13 AM, Jeewantha Dharmaparakrama < > [email protected]> wrote: > >> Hi Ramindu, >> >> Is SOAP with attachments enabled in the ESB? You might need to enable >> MTOM [1] >> >> [1] https://docs.wso2.org/pages/viewpage.action?pageId=26838822 >> >> Jeewantha >> >> >> On Wed, Mar 19, 2014 at 2:10 PM, Ramindu Deshapriya >> <[email protected]>wrote: >> >>> Hi Paul, >>> >>> >>> Paul Fremantle-2 wrote >>> > How are you serializing the message? >>> >>> I'm not serializing it, as far as I can tell. I'm receiving an input >>> stream >>> for a file from a backend service (Google Contacts API) and attempting to >>> attach it to the Synapse message context by assigning it to a >>> DataHandler. >>> >>> Thanks. >>> >>> >>> >>> -- >>> View this message in context: >>> http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Adding-attachment-to-Synapse-MessageContext-tp93759p93761.html >>> Sent from the WSO2 Development mailing list archive at Nabble.com. >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >> >> >> >> -- >> Jeewantha Dharmaparakrama >> Software Engineer; WSO2, Inc.; http://wso2.com/ >> Phone : (+94) 774726790 >> Skype : prasad.jeewantha >> LinkedIn : http://www.linkedin.com/in/jeewanthad >> Twitter: https://twitter.com/jeewamp >> Blog: http://jeewanthad.blogspot.com/ >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > Best Regards, > > Malaka Silva > Senior Tech Lead > M: +94 777 219 791 > Tel : 94 11 214 5345 > Fax :94 11 2145300 > Skype : malaka.sampath.silva > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > http://www.wso2.com/ > http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/> > > Save a tree -Conserve nature & Save the world for your future. Print this > email only if it is absolutely necessary. > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Dushan Abeyruwan | Associate Tech Lead Integration Technologies Team PMC Member Apache Synpase WSO2 Inc. http://wso2.com/ Blog:http://dushansview.blogspot.com/ Mobile:(0094)713942042
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
