axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.ja va
Date Mon, 24 Sep 2001 16:05:20 GMT

Hi Russell:

Should we be checking for packageName==null here?

--G

-----Original Message-----
From: butek@apache.org [mailto:butek@apache.org]
Sent: Monday, September 24, 2001 11:55 AM
To: xml-axis-cvs@apache.org
Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java


butek       01/09/24 08:54:42

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
  Log:
  Added the package name to the classname fields in deploy.xml.
  
  Revision  Changes    Path
  1.26      +4 -3      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.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Emitter.java	2001/09/19 13:14:41	1.25
  +++ Emitter.java	2001/09/24 15:54:42	1.26
  @@ -1396,7 +1396,7 @@
               NamedNodeMap attributes = type.getAttributes();
               String typeName =
capitalize(attributes.getNamedItem("name").getNodeValue());
   
  -            pw.println("      <" + namespacePrefix + ":" + typeName + "
classname= \"" + typeName + "\"/>");
  +            pw.println("      <" + namespacePrefix + ":" + typeName + "
classname= \"" + packageName + "." + typeName + "\"/>");
           }
           pw.println("   </beanMappings>");
   
  @@ -1450,8 +1450,9 @@
        * Write out deployment instructions for given WSDL binding
        */
       private void writeDeployBinding(PrintWriter deployPW, Binding
binding) throws IOException {
  -        deployPW.println("      <option name=\"className\" value=\"" +
  -                binding.getQName().getLocalPart() + "Skeleton" + "\"/>");
  +        deployPW.println("      <option name=\"className\" value=\""
  +                + packageName + "."
  +                + binding.getQName().getLocalPart() + "Skeleton" +
"\"/>");
   
           String methodList = "";
           Iterator operationsIterator =
binding.getBindingOperations().iterator();
  
  
  

Mime
View raw message