我想使用SOAP调用WCF服务?使用SOAP调用调用WCF
这是我的合同:
[ServiceContract(Namespace = "http://www.MySite.com/Services/TransferFile")]
public interface ITransferFile : ICloseableAndAbortable
{
/// <summary>
/// This will send the file which is associated with this rule to all the subscribers.
/// </summary>
/// <param name="ruleId"></param>
[OperationContract]
void ByRuleId(int ruleId);
}
当前设置为这种结合,将我需要改变呢?
<endpoint address="" binding="wsHttpBinding" contract="FileTransfer.Wcf.ITransferFile">
那么我怎么称呼它通过肥皂?例如使用(HttpWebRequest的)的WebRequest
很多感谢
我有一个正在使用Sharepoint设计器的同事,创建一个将调用Web服务的工作流,snag是他正在使用的第三方工具无法做到的WCF,它只能理解SOAP Action和body ..因此我正在寻找一个简单的例子我可以在.net(WebRequest)中测试,然后通过他所需的字符串 – dbones 2009-09-25 14:22:40