我想使用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