axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r396580 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl
Date Mon, 24 Apr 2006 15:36:24 GMT
Author: dims
Date: Mon Apr 24 08:36:18 2006
New Revision: 396580

URL: http://svn.apache.org/viewcvs?rev=396580&view=rev
Log:
- Fix typo
- Fix Jaxme databinding code generation


Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl?rev=396580&r1=396579&r2=396580&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl
Mon Apr 24 08:36:18 2006
@@ -16,7 +16,7 @@
 
         <xsl:for-each select="param">
             <xsl:if test="@type!=''">
-                private  org.apache.axiom.om.OMElement  toOM(<xsl:value-of select="@type"/>
param, boolean optimzieContent){
+                private  org.apache.axiom.om.OMElement  toOM(<xsl:value-of select="@type"/>
param, boolean optimizeContent){
                 org.apache.axiom.om.impl.builder.StAXOMBuilder builder = new org.apache.axiom.om.impl.builder.StAXOMBuilder
                 (org.apache.axiom.om.OMAbstractFactory.getOMFactory(),new org.apache.axis2.util.StreamWrapper(param.newXMLStreamReader()))
;
                  org.apache.axiom.om.OMElement documentElement = builder.getDocumentElement();
@@ -121,7 +121,7 @@
             org.apache.axiom.soap.SOAPFactory factory, Object param, boolean optimizeContent)
{
             org.apache.axiom.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope();
             if (param != null){
-                envelope.getBody().addChild(toOM(param, optimizeContent));
+                envelope.getBody().addChild(toOM(param));
             }
 
             return envelope;
@@ -266,7 +266,7 @@
                     };
                 </xsl:if>
                 
-                private org.apache.axiom.om.OMElement toOM(<xsl:value-of select="@type"/>
param, org.apache.axiom.soap.SOAPFactory factory, boolean optimzieContent) {
+                private org.apache.axiom.om.OMElement toOM(<xsl:value-of select="@type"/>
param, org.apache.axiom.soap.SOAPFactory factory, boolean optimizeContent) {
                     if (param instanceof org.jibx.runtime.IMarshallable){
                         if (bindingFactory == null) {
                             throw new RuntimeException("Could not find JiBX binding information
for <xsl:value-of select='$firstType'/>, JiBX binding unusable");



Mime
View raw message