ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal ClientStubWriter.java
Date Fri, 11 Mar 2005 13:41:12 GMT
samisa      2005/03/11 05:41:12

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ClientStubWriter.java
  Log:
  More fixes to fix breaks.
  
  Revision  Changes    Path
  1.80      +11 -11    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java
  
  Index: ClientStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- ClientStubWriter.java	11 Mar 2005 04:17:23 -0000	1.79
  +++ ClientStubWriter.java	11 Mar 2005 13:41:12 -0000	1.80
  @@ -288,13 +288,13 @@
                   }
                   else
                   {
  -                    //paraTypeName = type.getLanguageSpecificName();
  -                    paraTypeName = WrapperUtils.getClassNameFromParamInfoConsideringArrays(
  +                    paraTypeName = type.getLanguageSpecificName();
  +                    /*paraTypeName = WrapperUtils.getClassNameFromParamInfoConsideringArrays(
                       returntype,
  -                    wscontext);
  -//type.getLanguageSpecificName();
  +                    wscontext);*/
                   //typeisarray = true;
  -            typeisarray= (outparamType.lastIndexOf("Array") > 0);
  +            //typeisarray= (outparamType.lastIndexOf("Array") > 0);
  +            typeisarray= (paraTypeName.lastIndexOf("Array") > 0);
                   }
                   typeisarray |= type.isArray();
               }
  @@ -336,11 +336,11 @@
                       }
                       else
                       {
  -                        ///paraTypeName = type.getLanguageSpecificName();
  -                    paraTypeName = WrapperUtils.getClassNameFromParamInfoConsideringArrays(
  +                        paraTypeName = type.getLanguageSpecificName();
  +                    /*paraTypeName = WrapperUtils.getClassNameFromParamInfoConsideringArrays(
                       returntype,
  -                    wscontext);
  -            typeisarray= (outparamType.lastIndexOf("Array") > 0);
  +                    wscontext);*/
  +            typeisarray= (paraTypeName.lastIndexOf("Array") > 0);
                       }
                       typeisarray |= type.isArray();
                   }
  @@ -555,7 +555,7 @@
                       else
                       {
                           paraTypeName = type.getLanguageSpecificName();
  -            typeisarray= (outparamType.lastIndexOf("Array") > 0);
  +            typeisarray= (paraTypeName.lastIndexOf("Array") > 0);
                       }
                       typeisarray |= type.isArray();
                   }
  @@ -639,7 +639,7 @@
                           }
                           else
                           {
  -                            if (arrayType.isSimpleType())
  +                            if (arrayType!= null && arrayType.isSimpleType())
                               {
                                   // Simple type in the schema
                                   String containedType =
  
  
  

Mime
View raw message