mace-opensaml-users - Re: [OpenSAML] marshalling, unmarshalling
Subject: OpenSAML user discussion
List archive
- From: Jay Packard <>
- To:
- Cc:
- Subject: Re: [OpenSAML] marshalling, unmarshalling
- Date: Fri, 06 Jun 2008 00:12:50 -0700
Hi Chad,
According to http://svn.middleware.georgetown.edu/view/java-xmltooling/branches/1.0sig/src/org/opensaml/xml/io/Marshaller.java?revision=118&view=markup&pathrev=126, the marshall and unmarshall methods are not static. Don't I have to use a marshalling/unmarshalling factory?
Also, the marshaller returns an org.w3c.dom.Element object. Can I simply cast this to an java.io.Serializable class (which is returned by the method in my port type stub)?
Thanks,
Jay
Chad La Joie wrote:
Jay Packard wrote:
SHORT VERSION OF QUESTION: How can I convert from a java.lang.Object to an object that can be unmarshalled and how can I marshall a ResponseType object?
1) By casting it
2) Using the Marshaller.marshall(XMLObject) method.
Every single XMLObject in the system is created, marshalled, and unmarshalled in the exactly same way.
- marshalling, unmarshalling, Jay Packard, 06/05/2008
- Re: [OpenSAML] marshalling, unmarshalling, Chad La Joie, 06/06/2008
- Re: [OpenSAML] marshalling, unmarshalling, Jay Packard, 06/06/2008
- Re: [OpenSAML] marshalling, unmarshalling, Chad La Joie, 06/06/2008
- Re: [OpenSAML] marshalling, unmarshalling, Jay Packard, 06/06/2008
- REVISION (IGNORE PREVIOUS): [OpenSAML] marshalling, unmarshalling, Jay Packard, 06/06/2008
- Re: REVISION (IGNORE PREVIOUS): [OpenSAML] marshalling, unmarshalling, Chad La Joie, 06/07/2008
- Re: [OpenSAML] marshalling, unmarshalling, Chad La Joie, 06/06/2008
- Re: [OpenSAML] marshalling, unmarshalling, Jay Packard, 06/06/2008
- Re: [OpenSAML] marshalling, unmarshalling, Chad La Joie, 06/06/2008
Archive powered by MHonArc 2.6.16.