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 aj...@apache.org on 2006/03/29 08:10:35 UTC

svn commit: r389685 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/DatabindingTemplate.xsl

Author: ajith
Date: Tue Mar 28 22:10:34 2006
New Revision: 389685

URL: http://svn.apache.org/viewcvs?rev=389685&view=rev
Log:
Fixing the blocker jirs-515. the problem was an error in the databinding template, introduced during modifications to optimize the content
Now the particular enterprise WSDL generates and the code compiles. Test against the end point is yet to be done

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=389685&r1=389684&r2=389685&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 Tue Mar 28 22:10:34 2006
@@ -180,7 +180,7 @@
 
             <xsl:for-each select="param">
                 <xsl:if test="@type!=''">
-                    private  org.apache.axiom.om.OMElement  toOM(<xsl:value-of select="@type"/> param){
+                    private  org.apache.axiom.om.OMElement  toOM(<xsl:value-of select="@type"/> param, boolean optimizeContent){
                         if (param instanceof org.apache.axis2.databinding.ADBBean){
                             org.apache.axiom.om.impl.builder.StAXOMBuilder builder = new org.apache.axiom.om.impl.builder.StAXOMBuilder
                             (org.apache.axiom.om.OMAbstractFactory.getOMFactory(), param.getPullParser(<xsl:value-of select="@type"/>.MY_QNAME));