生成 SOAP 信封和数字签名
目前,我们有一个模型,只需编写 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 XML 签名部分,您可以使用 Apache Santuario。
For the XML signature part you could use Apache Santuario.