axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.ja va
Date Wed, 17 Oct 2001 18:16:53 GMT

Berin,

I changed this the other day because it fixed a problems I was having.
What exactly did this break for you?

--
Tom Jordahl


-----Original Message-----
From: butek@apache.org [mailto:butek@apache.org]
Sent: Wednesday, October 17, 2001 1:33 PM
To: xml-axis-cvs@apache.org
Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java


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