700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > SAAJ:SOAP with Attachments API for Java

SAAJ:SOAP with Attachments API for Java

时间:2022-10-02 05:12:17

相关推荐

SAAJ:SOAP with Attachments API for Java

介绍

支持带附件的SOAP消息Java接口(SAAJ:SOAP with Attachments API for Java),定义了一套API,使开发者可以产生、消费遵从SOAP 1.1, SOAP 1.2, 和SOAP Attachments Feature的消息。

SAAJ更改为新的名字:Jakarta SOAP with Attachments

https://eclipse-ee4j.github.io/metro-saaj/

附件可以是完整的XML文档、XML片段、图像、文本文档、或者其它任有正确的MIME类型的内容。

参考资源

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版本参考资源

Jakarta SOAP with Attachments 3.0:

https://jakarta.ee/specifications/soap-attachments/3.0/

参考实现

代码库:/eclipse-ee4j/metro-saaj

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

样例:

/eclipse-ee4j/metro-saaj/tree/master/saaj-samples/saaj-simple

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一起下载下来:

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。