83065

Attachment support is disabled when using axistools-maven-plugin

I have used the maven plugin axistools-maven-plugin in version 1.4 for many projects to build webservice clients from wsdl. And I always get the error message that is coming from wsdl2java:

15.07.2011 08:47:02 org.apache.axis.utils.JavaUtils isAttachmentSupported WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

Unless the classes are generated correctly, I just wanted to ask if anyone has the same problem and maybe solved it.

Background of this question is that I will have to implement a webservice interface that is handling the transfer of big files via SOAP WS. So maybe using attachments would be a better choise than dumping the content into an byte[]

Thanks for your comments and answers.

Answer1:

You are pulling in the javax.mail dependency. The error message states that you will not be able to send mail attachments since you are missing the javax.activation dependency.

This wont influence your SOAP webservice.

Recommend

  • How to display rendered html content in text widget of tkinter in python 3.4.x
  • Adding @NotNull or Pattern constraints on List
  • Whats wrong with this C shell script?
  • PHP SwiftMailer or PEAR Mail
  • Java Iterate Over Collection
  • Instead of adding another element It is landing to a another page
  • how to check smtp server is working or not using php
  • Windows Phone 7.1 “Send To” functionality?
  • How to increase the python speed over loops?
  • Restructure php contact form
  • TypeError: Cannot visit Mail::Multibyte::Chars
  • Zend Framework 2 - Building a simple form with Validators
  • Django Class view didn't return an HttpResponse object. It returned None instead
  • php notice undefined index http_host in $GLOBALS['HTTP_SERVER_VARS']['HTTP_HOST'
  • VirtualDocumentRoot handling non-existent folders
  • Keep same scale in different graphs ggplot2
  • JFreechart X and Y axis scaling
  • How to best manage SMTP clients
  • auth.provider is not set to 'password' when user signs-in with email and password
  • Getting unread count in Sent Folder using Google Apps Script - GMail
  • android Navigation Bar hiding and persantage of usable screen overlap
  • File extension of zlib zipped html page?
  • iOS Cordova first plugin - plugin.xml to inject a feature
  • Breaking out column by groups in Pandas
  • How solve “Qt: Untested Windows version 10.0 detected!”
  • Unable to install Git-core+svn by MacPorts
  • Unable to decode certificate at client new X509Certificate2()
  • C: Incompatible pointer type initializing
  • Problem deserializing objects from cache on MyBatis 3/Java
  • Email verification using google app script and google forms
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • Cannot connect to cassandra from Spark
  • Launch Runnable Jar from Web Start
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • sending mail using smtp is too slow
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?