If you can explain what you are trying to achieve with the plain XML messages we might be able to help better.
Thanks, Hiranya On Thu, Jul 28, 2011 at 7:33 PM, Hiranya Jayathilaka <[email protected]>wrote: > > > On Thu, Jul 28, 2011 at 7:06 PM, De Vleeschauwer Nele < > [email protected]> wrote: > >> Hi, >> >> When using Apache Synapse, I've noticed that each message that is sent >> is encapsulated in a soap envelope. >> According to the documentation, this is related to the configuration of >> the Message Builders and Formatters. >> For the moment I would like to send a plain xml to synapse >> (content-type: application/xml). Inside my axis config file there is no >> builder nor formatter configured for this content-type. >> But when I log the incoming message, I see that it is still a soap >> message... >> How can this be changed ? >> > > Synapse uses SOAP as the intermediary message format. Every message > received by Synapse (SOAP, XML, plain text, JSON) will be represented as a > SOAP envelope as long as it's in the service bus. Synapse has default > builders and formatters for processing plain XML and that's why your XML > messages are getting converted into SOAP without any issues. This is > intended behavior. > > Thanks, > Hiranya > > >> >> >> >> >> >> ----------------------------------------- >> Visit our website! http://www.nbb.be >> >> "DISCLAIMER: The content of this e-mail message should not be >> construed as binding on the part of the National Bank of Belgium >> (NBB) unless otherwise and previously stated. The opinions >> expressed in this message are solely those of the author and do not >> necessarily reflect NBB viewpoints, particularly when the content >> of this message, or part thereof, is private by nature or does not >> fall within the professional scope of its author." > > > > > -- > Hiranya Jayathilaka > Associate Technical Lead; > WSO2 Inc.; http://wso2.org > E-mail: [email protected]; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
