C# 如何使用FIXML作为请求数据请求.ashx?
如何向处理程序请求C# 如何使用FIXML作为请求数据请求.ashx?,c#,ashx,C#,Ashx,如何向处理程序请求http://site/APIs/FIHandler.ashx使用FIXML作为请求数据。我有一个FIXML,看起来像这样: <FIXML xsi:schemaLocation="http://www.website.com/fixml XferTrnAdd.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.finacl
http://site/APIs/FIHandler.ashx
使用FIXML
作为请求数据。我有一个FIXML
,看起来像这样:
<FIXML xsi:schemaLocation="http://www.website.com/fixml XferTrnAdd.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.finacle.com/fixml">
<Header>
<RequestHeader>
.......
</RequestHeader>
</Header>
<Body>
...
...
</Body>
</FIXML>
但找不到如何将FIXML
作为请求数据发布。
请指导我如何做到这一点
WebClient client = new WebClient ();
Label1.Text = client.DownloadString ("http://somesite.com/Stores/GetOrderCount.ashx?sCode=VIC");