SAAJ:SOAP with Attachments API for Java interface

介绍

支持带附件的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/
SAAJ:SOAP with Attachments API for Java interface_第1张图片

2.0版本参考资源

Jakarta SOAP with Attachments 2.0:
https://jakarta.ee/specifications/soap-attachments/
SAAJ:SOAP with Attachments API for Java interface_第2张图片

3.0版本参考资源

SAAJ:SOAP with Attachments API for Java interface_第3张图片

参考实现

代码库:https://github.com/eclipse-ee4j/metro-saaj
SAAJ:SOAP with Attachments API for Java interface_第4张图片

主页:https://eclipse-ee4j.github.io/metro-saaj/
SAAJ:SOAP with Attachments API for Java interface_第5张图片

SAAJ参考实现下载

打开主页:https://eclipse-ee4j.github.io/metro-saaj/

点击右边的Download:
SAAJ:SOAP with Attachments API for Java interface_第6张图片
跳转到如下页面:
SAAJ:SOAP with Attachments API for Java interface_第7张图片

在maven工程的pom.xml文件中dependencies章节增加如下片段:

  
    
      com.sun.xml.messaging.saaj
      saaj-impl
      3.0.2
    
  

会将依赖的jakarta.xml.soap-api一起下载下来:
在这里插入图片描述

在这里插入图片描述

你可能感兴趣的:(java,SOAP,xml)