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 Emitter.java
Date Wed, 17 Oct 2001 17:32:42 GMT
butek       01/10/17 10:32:42

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
  Log:
  Fixed QName of serializer.
  
  Revision  Changes    Path
  1.61      +1 -1      xml-axis/java/src/org/apache/axis/wsdl/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/Emitter.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- Emitter.java	2001/10/17 15:31:03	1.60
  +++ Emitter.java	2001/10/17 17:32:42	1.61
  @@ -1223,7 +1223,7 @@
   
           QName qname = type.getQName();
           //pw.println("            qn = new org.apache.axis.utils.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + type.getJavaLocalName() + "\");");
  -        pw.println("            qn = new org.apache.axis.utils.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + qname.getLocalPart() + "\");");
  +        pw.println("            qn = new org.apache.axis.utils.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + type.getJavaLocalName() + "\");");
           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());");
  
  
  

Mime
View raw message