axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal ClientStubWriter.java
Date Mon, 06 Dec 2004 16:56:55 GMT
whitlock    2004/12/06 08:56:55

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ClientStubWriter.java
  Log:
  Fix casting problem on AIX in generated stub in ManyTypeRefRoot testcase
  
  Revision  Changes    Path
  1.58      +10 -10    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.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- ClientStubWriter.java	30 Nov 2004 16:15:07 -0000	1.57
  +++ ClientStubWriter.java	6 Dec 2004 16:56:55 -0000	1.58
  @@ -717,11 +717,7 @@
                           {
                               containedType = qname.getLocalPart();
                               writer.write(
  -                                "\t\t\t"
  -                                    + currentParamName
  -                                    + " = ("
  -                                    + currentParaType
  -                                    + "&)m_pCall->getCmplxArray((void*) Axis_DeSerialize_"
  +                                "\t\t\tAxis_Array arr2 = m_pCall->getCmplxArray((void*)
Axis_DeSerialize_"
                                       + containedType);
                               //writer.write(", (void*) Axis_Create_"+containedType+", (void*)
Axis_Delete_"+containedType+", (void*) Axis_GetSize_"+containedType+", \""+currentType.getElementName().getLocalPart()+"\",
Axis_URI_"+containedType+");\n");
                               writer.write(
  @@ -735,7 +731,11 @@
                                       + currentType.getElementNameAsString()
                                       + "\", Axis_URI_"
                                       + containedType
  -                                    + ");\n");
  +                                    + ");\n\t\t\t"
  +                                    + currentParamName
  +                                    + " = ("
  +                                    + currentParaType
  +                                    + "&)arr2;\n");
                           }
                       }
                   }
  @@ -832,9 +832,7 @@
                       {
                           containedType = qname.getLocalPart();
                           writer.write(
  -                            "\tRetArray = ("
  -                                + outparamType
  -                                + "&)m_pCall->getCmplxArray((void*) Axis_DeSerialize_"
  +                            "\tAxis_Array arr2 = m_pCall->getCmplxArray((void*) Axis_DeSerialize_"
                                   + containedType);
                           //writer.write(", (void*) Axis_Create_"+containedType+", (void*)
Axis_Delete_"+containedType+", (void*) Axis_GetSize_"+containedType+", \""+returntype.getElementName().getLocalPart()+"\",
Axis_URI_"+containedType+");\n\t\t}\n");
                           writer.write(
  @@ -848,7 +846,9 @@
                                   + returntype.getElementNameAsString()
                                   + "\", Axis_URI_"
                                   + containedType
  -                                + ");\n\t\t}\n");
  +                                + ");\n\t\t\tRetArray = ("
  +                                    + outparamType
  +                                    + "&)arr2;\n\t\t}\n");
                       }
                       writer.write("\t}\n");
                       writer.write("\tupdateStateAfterResponse();\n");
  
  
  

Mime
View raw message