Skip to Content.
Sympa Menu

mace-opensaml-users - RE: SAMLResponse.toString(), easy way to get XML representation?

Subject: OpenSAML user discussion

List archive

RE: SAMLResponse.toString(), easy way to get XML representation?


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Doug M'" <>, <>
  • Subject: RE: SAMLResponse.toString(), easy way to get XML representation?
  • Date: Tue, 16 May 2006 15:39:45 -0400
  • Organization: The Ohio State University

> Is there an easy way to get a string that includes the XML
> representation of the SAMLResponse?

People need to be mentioning the version of the code because the new stuff
is nothing like the old stuff.

In 1.x, it's toString.

In 2.x, you marshall the objects into a DOM using the marshaller registered
for the type and then use whatever serializer you want to produce the XML,
allowing for the fact that some aren't signature-safe.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page