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 Tom Jordahl <to...@macromedia.com> on 2004/03/08 22:10:31 UTC

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

Wasn't the problem here that this would allow soap-enc to be used in
document/literal service WSDL?

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: gdaniels@apache.org [mailto:gdaniels@apache.org] 
Sent: Sunday, March 07, 2004 12:53 PM
To: ws-axis-cvs@apache.org
Subject: 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;