You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/06/07 18:09:19 UTC

svn commit: r412441 - /webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl

Author: dims
Date: Wed Jun  7 09:09:19 2006
New Revision: 412441

URL: http://svn.apache.org/viewvc?rev=412441&view=rev
Log:
get deserialize working

Modified:
    webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl

Modified: webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl?rev=412441&r1=412440&r2=412441&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl (original)
+++ webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl Wed Jun  7 09:09:19 2006
@@ -55,7 +55,8 @@
             try {
                 javax.xml.bind.JAXBContext context = javax.xml.bind.JAXBContext.newInstance( type );
                 javax.xml.bind.Unmarshaller unmarshaller = context.createUnmarshaller();
-                return unmarshaller.unmarshal(param.getXMLStreamReader());
+
+                return unmarshaller.unmarshal(param.getXMLStreamReader(), type).getValue();
             } catch (javax.xml.bind.JAXBException bex){
                 throw new RuntimeException(bex);
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org