I just added the following dependency to my project:
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
<version>1.5.1</version>
</dependency>
If you are using a version older than 1.5.1, you need to create the file META-INF/services/javax.xml.soap.SAAJMetaFactory
with the following line to provide the fully-qualified name of the SAAJ factory class and it worked:
com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl
The javax.xml.soap.saaj-api seems to be abandoned.
And it’s very strange that a package named com.sun
is the one to work.
Anyway, it works.