The client generated by Axis, Error when importing webService:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.RuntimeException: No support for attachments
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException: No support for attachments
at org.apache.axis.Message.setup(Message.java:372)
at org.apache.axis.Message.<init>(Message.java:235)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
Problem Reason
Missing jars: mail.jar and activation.jar
Solution
Introduce dependencies
javax.mail
mail
1.4.7
javax.activation
activation
1.1.1
Read More:
- Zuul Gateway Failed to Import Dependency [How to Solve]
- Springboot reports an error After adding the import annotation: application failed to start
- [Solved] Sqoop Error: ERROR tool.ImportTool: Import failed: java.io.IOException
- Idea create Maven project Error: [error] no longer supports source option 1.5. Please use version 1.6 or higher, and the idea reports an error: error: Java does not support the error of release version 5
- [Solved] maven Import Error: PKIX path building failed
- How to Solve Hbase JAVA import Package Error
- [How to Solve] Idea prompt does not support Lombok
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- [Solved] Failed to instantiate java.util.List using constructor NO_CONSTRUCTOR with arguments
- How to Solve JasperFillManager.fillReport Stuck issue (No Error and No Processing)
- Spring project import @Resource Annotation Error [How to Solve]
- [Solved] JAVA Project Import jstl Error: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- idea Error: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could [Solved]
- [Solved] SpringBoot Microservices: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded dat
- [Solved] IntelliJ idea error: error: Java does not support release 5
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource
- [Solved] memcached Install Error: failed to ignore SIGHUP: no error
- [Solved] AS Error: Error inflating class android.support.v4.view.ViewPager
- Java will convert Excel to list set or JSON, export excel file to local, excel import and export, easyexcel tool class