2013-02-08 50 views
0

我是ASP.NET Web服務的新手。 我寫過我的web服務,web方法。我希望我的Web服務的輸出使用SOAP而不是默認的HTTP POST協議。 我該怎麼做? 我需要輸出爲SOAP,因爲我需要反序列化XML文件,在我的Web應用程序中,我將使用Web服務。如何爲ASP.NET Web服務設置SOAP協議?

請幫忙。

回答

0

按照以下步驟

1.In the Web Service Details window, select an operation for that Web service. 
    2.On the Diagram menu, choose Properties. 
    3.In the Properties window, set the appropriate SOAP properties under the Implementation heading. 

http://msdn.microsoft.com/en-us/magazine/cc164007.aspx

+0

不好意思問,但我在那裏會發現Web服務詳細信息窗口? – Trupti