You'd need to use a message formatter that only takes the content of the
SOAP:Body element's first child and puts it into the message being sent.
IIRC there was such a beast already but I could be wrong .. basically
response media type needs to be text/plain.

Sanjiva.

On Wed, Dec 8, 2010 at 5:08 AM, Chintana Wilamuna <[email protected]>wrote:

> Hi,
>
> I'm able to send emails through the ServiceClient API. However, body
> of the message contains the entire SOAP envelope. Is there a way to
> send plain text in the body of the email through ServiceClient API?
>
> Thanks in advance,
>
>    -Chintana
>
> --
> blog: http://engwar.com/
> photos: http://flickr.com/photos/chintana
> linkedin: http://www.linkedin.com/in/engwar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Director & Chief Scientist; Lanka Software Foundation;
http://www.opensource.lk/
Founder, Chairman & CEO; WSO2; http://wso2.com/
Founder & Director; Thinkcube Systems; http://www.thinkcube.com/
Member; Apache Software Foundation; http://www.apache.org/
Member; Sahana Software Foundation; http://www.sahanafoundation.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.org/

Reply via email to