<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 1/3/17 4:24 PM, Marc Boorshtein
wrote:<br>
</div>
<blockquote
cite="mid:CAJEX5otuCP+snzvGM3+mXZVAbeCcfJFm5nCS11QmRvuFSxzXbw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>Inside of HTTPPostEncoder I found the
SerializeSupport class which has the nodeToString method
which is working perfectly.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Yes, SerializeSupport is the very low-level mechanism (in
java-support, not SAML specific) we have for for serializing an XML
DOM Node to a String in a way which doesn't molest the structure. <br>
<br>
However, if what you are doing is emitting SAML protocol messages to
an HttpServletResponse via one of the defined SAML bindings, then
the most useful way is indeed with the higher-level Encoders, like
HTTPPostEncoder and HTTPRedirectDeflateEncoder (which as you noted
make use of SerializeSupport.nodeToString(...)). That's probably
covered in Stefan's book; if not, the unit tests are good examples
of how to use the encoders.<br>
<br>
--Brent<br>
<br>
</body>
</html>