please add new WsrpUtils.convertToElement(Object,Class,QName) method
--------------------------------------------------------------------
Key: MUSE-188
URL: https://issues.apache.org/jira/browse/MUSE-188
Project: Muse
Issue Type: Improvement
Components: Utilities - General, QName, and XML
Affects Versions: 2.1.0
Reporter: Vinh Nguyen
Assigned To: Dan Jemiolo
Priority: Minor
WsrpUtils contains a convertToElement() which accepts an array of objects.
Please add the following method which accepts a single object.
public static Element convertToElement(Object property, Class type, QName
qname)
throws SoapFault
{
SerializerRegistry registry = SerializerRegistry.getInstance();
Serializer ser = registry.getSerializer(type);
Element xml = ser.toXML(property, qname);
return xml;
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]