介绍
支持带附件的SOAP消息Java接口(SAAJ:SOAP with Attachments API for Java interface),定义了一套API,使开发者可以产生、消费遵从SOAP 1.1, SOAP 1.2, 和SOAP Attachments Feature的消息。
参考资源
1.4版本参考资源
Jakarta SOAP with Attachments 1.4:
https://jakarta.ee/specifications/soap-attachments/1.4/
2.0版本参考资源
Jakarta SOAP with Attachments 2.0:
https://jakarta.ee/specifications/soap-attachments/
3.0版本参考资源
参考实现
代码库:https://github.com/eclipse-ee4j/metro-saaj
主页:https://eclipse-ee4j.github.io/metro-saaj/
SAAJ参考实现下载
打开主页:https://eclipse-ee4j.github.io/metro-saaj/
点击右边的Download:
跳转到如下页面:
在maven工程的pom.xml文件中dependencies章节增加如下片段:
<dependencies>
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
<version>3.0.2</version>
</dependency>
</dependencies>
会将依赖的jakarta.xml.soap-api一起下载下来: