ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Date Fri, 15 Oct 2004 14:07:24 GMT
dims        2004/10/15 07:07:24

  Modified:    java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
  Log:
  Fix for AXIS-1568 - NPE from wsdl2java if message element in WSDL file is wrong
  reported by Ian Dickinson (ian.dickinson@hp.com)
  
  Revision  Changes    Path
  1.106     +1 -1      ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java
  
  Index: SymbolTable.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- SymbolTable.java	4 Oct 2004 23:22:11 -0000	1.105
  +++ SymbolTable.java	15 Oct 2004 14:07:24 -0000	1.106
  @@ -2345,7 +2345,7 @@
   
           // If there is no binding MIME construct (ie., the mimeType parameter is
           // null), then get the MIME type from the AXIS-specific xml MIME type.
  -        if (mimeInfo == null) {
  +        if (mimeInfo == null && p.getType() != null) {
               QName mimeQName = p.getType().getQName();
   
               if (mimeQName.getNamespaceURI().equals(Constants.NS_URI_XMLSOAP)) {
  
  
  

Mime
View raw message