ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal ClientStubWriter.java
Date Mon, 07 Mar 2005 15:29:19 GMT
dicka       2005/03/07 07:29:19

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ClientStubWriter.java
  Log:
  Correct problem in generated stub when complex output params do not have a namespace.
  
  PR: AXISCPP-513
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.77      +9 -1      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.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- ClientStubWriter.java	4 Mar 2005 20:57:38 -0000	1.76
  +++ ClientStubWriter.java	7 Mar 2005 15:29:19 -0000	1.77
  @@ -638,8 +638,16 @@
                                           + ", \""
                                           + parameterName
                                           + "\""
  -                                        + ", Axis_URI_"
  +                                        + ", ");
  +                                if (namespace.length() == 0)
  +                                {
  +                                	writer.write("NULL");
  +                                }
  +                                else
  +                                {
  +                                	writer.write("Axis_URI_"
                                           + containedType);
  +                                }
                               }
                           }
                       }
  
  
  

Mime
View raw message