* @return the xml representation of the UUID.
* @throws SoapFault when the marshalling fails.
*/
public Element toXML(Object obj, QName qname) throws SoapFault
{
Result result = (Result) obj;
Element root = XmlUtils.createElement(qname);
if (result.getOutputParameters() != null)
{
Element outputSection = SerializerRegistry.getInstance().getSerializer(Map.class).toXML(result.getOutputParameters(), new QName("outputParameters"));
root.appendChild(outputSection);
}
return root;
}