axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl JavaStubWriter.java
Date Thu, 29 Nov 2001 15:10:10 GMT
butek       01/11/29 07:10:10

  Modified:    java/src/org/apache/axis/wsdl JavaStubWriter.java
  Log:
  qname local parts shouldn't be capitalized in this code.  Thanks, Sam, for pointing it out.
  
  Revision  Changes    Path
  1.10      +3 -3      xml-axis/java/src/org/apache/axis/wsdl/JavaStubWriter.java
  
  Index: JavaStubWriter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/JavaStubWriter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JavaStubWriter.java	2001/11/26 16:55:58	1.9
  +++ JavaStubWriter.java	2001/11/29 15:10:10	1.10
  @@ -359,7 +359,7 @@
           firstSer = false ;
   
           QName qname = type.getQName();
  -        pw.println("            qn = new javax.xml.rpc.namespace.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + Utils.capitalizeFirstChar(qname.getLocalPart()) + "\");");
  +        pw.println("            qn = new javax.xml.rpc.namespace.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + qname.getLocalPart() + "\");");
           pw.println("            cls = " + type.getJavaName() + ".class;");
           pw.println("            call.addSerializer(cls, qn, new org.apache.axis.encoding.BeanSerializer(cls));");
           pw.println("            call.addDeserializerFactory(qn, cls, org.apache.axis.encoding.BeanSerializer.getFactory());");
  @@ -393,7 +393,7 @@
   
               QName qn = p.type.getQName();
               String typeString = "new org.apache.axis.encoding.XMLType( new javax.xml.rpc.namespace.QName(\""
+ qn.getNamespaceURI() + "\", \"" +
  -                    Utils.capitalizeFirstChar(qn.getLocalPart()) + "\"))";
  +                    qn.getLocalPart() + "\"))";
               if (p.mode == Parameters.Parameter.IN) {
                   pw.println("        call.addParameter(\"" + p.name + "\", " + typeString
+ ", org.apache.axis.client.Call.PARAM_MODE_IN);");
               }
  @@ -408,7 +408,7 @@
           if (parms.returnType != null) {
               QName qn = parms.returnType.getQName();
               String outputType = "new org.apache.axis.encoding.XMLType(new javax.xml.rpc.namespace.QName(\""
+ qn.getNamespaceURI() + "\", \"" +
  -              Utils.capitalizeFirstChar(qn.getLocalPart()) + "\"))";
  +              qn.getLocalPart() + "\"))";
               pw.println("        call.setReturnType(" + outputType + ");");
   
               pw.println();
  
  
  

Mime
View raw message