[ https://issues.apache.org/jira/browse/MUSE-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Jemiolo closed MUSE-188. ---------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Fixed - I also added the equivalent convertToObject( ) method. Look for both in the nightly build. > 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 > Fix For: 2.2.0 > > > 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]