如何通过SOAP protocl发送XML [英] how to send XML via the SOAP protocl
问题描述
hi
我有一个digdally签名的soap xml文档,我希望通过soap协议发送到Web服务,因为他们不支持POST或GET方法。我如何去做,有任何人有任何示例代码。我看过vb .net中的网络服务,但无法理解它。
谢谢
您需要使用哪种语言和平台?
这很简单,真的。如果您要发送到您在上一个帖子中发布的WSDL服务,那么这是一种非常简单的格式。您只需要查看它们导入的两个XML模式并找到MailBoxCollectRequest元素。然后你要发送带有soap的信封:带有soap:Body的信封,里面有MailBoxCollectRequest,里面有你的数字签名的XML。
 
hi
i have a digtally signed soap xml document that i wish to send to a web service via the soap protocol as they dont support the POST or GET method. How do i go about it and has anyone got any sample code. Ive looked at the web services in vb .net but cant make any sense of it.
thanks
What language and platform do you need to do this in?
It's fairly simple, really. If you're sending to the service whose WSDL you posted in a previous thread, then it's a pretty simple format. You'll just need to look at the two XML schemas they import and find the MailBoxCollectRequest element. Then you'll want to send XML with a soap:Envelope with a soap:Body inside it, with the MailBoxCollectRequest inside that, and with your digitally-signed XML inside of that.
这篇关于如何通过SOAP protocl发送XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!