axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r412441 - /webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/template/JaxbRIDatabindingTemplate.xsl
Date Wed, 07 Jun 2006 16:09:19 GMT
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


Mime
View raw message