You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Dan Jemiolo (JIRA)" <ji...@apache.org> on 2007/02/01 00:17:05 UTC
[jira] Closed: (MUSE-188) please add new
WsrpUtils.convertToElement(Object,Class,QName) method
[ 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org