You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2004/03/07 18:52:33 UTC

cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable Utils.java

gdaniels    2004/03/07 09:52:33

  Modified:    java/src/org/apache/axis/wsdl/symbolTable Utils.java
  Log:
  Fix http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1245
  
  Use SOAP-ENC type when nillable.
  
  Revision  Changes    Path
  1.37      +4 -0      ws-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java
  
  Index: Utils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- Utils.java	25 Feb 2004 14:02:51 -0000	1.36
  +++ Utils.java	7 Mar 2004 17:52:33 -0000	1.37
  @@ -388,6 +388,10 @@
               }
           }
   
  +        if ("true".equals(getAttribute(node, "nillable"))) {
  +            qName = getNillableQName(qName);
  +        }
  +        
           // A WSDL Part uses the element attribute instead of the ref attribute
           if (qName == null) {
               forElement.value = true;