[esb-java-user] NPE when using a Spring Mediator
Asankha C. Perera
asankha at wso2.com
Thu Aug 28 07:16:21 PDT 2008
Stefan
> I've modified the request and added a body and .. it works perfectly.
>
Cool..
> Does this mean that a Mediator can only handle SOAP messages ?
>
No.. but a SOAP "infoset" is the canonical message format we use.. what
this means is that our internal message payload is represented as a SOAP
"infoset" - Note, this is NOT a SOAP envelope serialization of the
payload as XML - but just an internal representation of the tree like
model of attributes and elements in memory. A SOAP infoset can carry,
SOAP, POX, Plain Text and Binary payloads without any overhead. For
example, if you are dealing with binary content, it would be kept in a
DataHandler, and the SOAP infoset will refer directly to that. This
allows each mediator to interact with any message as a SOAP message -
but access the binary or text payload as necessary, or the more common
SOAP envelope or a POX XML payload etc
asankha
--
Asankha C. Perera
WSO2 - http://wso2.org
http://esbmagic.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.wso2.org/pipermail/esb-java-user/attachments/20080828/2c4a6319/attachment-0001.htm
More information about the Esb-java-user
mailing list