You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2004/03/22 15:52:58 UTC

cvs commit: ws-axis/java/src/org/apache/axis/i18n resource.properties

dims        2004/03/22 06:52:58

  Modified:    java/src/org/apache/axis/utils JavaUtils.java
               java/src/org/apache/axis/i18n resource.properties
  Log:
  Fix for AXIS-309 - Java2WSDL should do the right thing with DataHandler
  
  Notes:
  - Added a warning if required classes are missing.
  
  Revision  Changes    Path
  1.107     +3 -0      ws-axis/java/src/org/apache/axis/utils/JavaUtils.java
  
  Index: JavaUtils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/utils/JavaUtils.java,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- JavaUtils.java	25 Feb 2004 14:02:48 -0000	1.106
  +++ JavaUtils.java	22 Mar 2004 14:52:58 -0000	1.107
  @@ -1180,6 +1180,9 @@
               }
               log.debug(Messages.getMessage("attachEnabled") + "  " +
                       attachmentSupportEnabled);
  +            if(!attachmentSupportEnabled) {
  +                log.warn(Messages.getMessage("attachDisabled"));
  +            }
           }
   
           return attachmentSupportEnabled;
  
  
  
  1.82      +1 -0      ws-axis/java/src/org/apache/axis/i18n/resource.properties
  
  Index: resource.properties
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/i18n/resource.properties,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- resource.properties	14 Mar 2004 16:58:40 -0000	1.81
  +++ resource.properties	22 Mar 2004 14:52:58 -0000	1.82
  @@ -818,6 +818,7 @@
   valuePresent=MessageElement.addChild called when an object value is present
   xmlPresent=MessageElement.setObjectValue called on an instance which was constructed using XML
   attachEnabled=Attachment support is enabled?
  +attachDisabled=Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. 
   noEndpoint=No endpoint
   headerNotNull=Header may not be null!
   headerNotEmpty=Header may not be empty!