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: "Doug M" <>
  • To:
  • Subject: Re: SAMLResponse.toString(), easy way to get XML representation?
  • Date: Tue, 16 May 2006 13:37:45 -0700

My applogies for not including the version. It is the version 1.1b library, not the 2.0.

So I am using the SAMLResponse.toString() with the 1.1b library and do not get the XML representation.

Thanks,

Doug


From: Chad La Joie
<>
To:

Subject: Re: SAMLResponse.toString(), easy way to get XML representation?
Date: Tue, 16 May 2006 15:38:48 -0400

In the 2.0 version of the Java library you'd marshall the object (so you actually have XML) and then just do

XMLHelper.nodeToString(Element)

That class is found in the org.opensaml.xml.util package.

Not sure off the top of my head how to do this in version 1, I think it's up to the developer.

Doug M wrote:
I wanted to get the XML representation of a SAMLResponse into a String for logging and debugging purposes. The toString seems to just have some of the values without including the XML.

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

Thanks,

Doug

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/




Archive powered by MHonArc 2.6.16.

Top of Page