生成 SOAP 信封和数字签名

发布于 2024-12-06 20:40:06 字数 399 浏览 4 评论 0原文

目前,我们有一个模型,只需编写 SOAP 主体,然后手动将其包装到在脚本中完成的 SOAP 信封中。然后,该数据会被传递到向网络服务发出请求的应用程序。此外,生成肥皂的应用程序的语言将是 C++ 而不是 C#。

我正在考虑构建一个也可以生成数字签名的 SOAP 生成器,并寻找一些小而易于实现的东西,因为我不需要它来实际发出请求,因为它只是传递 xml 来传递发送请求的另一个服务。

我在看 gSoap http://www.cs.fsu.edu/~engelen/ Soap.html

但是仅仅为了生成 XML 可能需要很多额外的东西,有什么技巧或其他库可以做到这一点吗?

谢谢

So currently we have a model of just writing a SOAP Body and then manually wrapping that into a SOAP Envelope that is done in a script. That then gets passed to an app that makes a request to a webservice. Also, the language the app that would generate the soap would be C++ not C#.

I am looking into building a SOAP Generator that could also generate digital signatures and looking something small and easy to implement as I do not need it to actually make the request as it just hands off the xml to pass another service that sends the request.

I was looking at gSoap http://www.cs.fsu.edu/~engelen/soap.html

But it may be alot of extra stuff just for generating XML, any tips or other libraries that can do this?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

弃爱 2024-12-13 20:40:06

对于 XML 签名部分,您可以使用 Apache Santuario

For the XML signature part you could use Apache Santuario.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文