Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/291.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何使用FIXML作为请求数据请求.ashx?_C#_Ashx - Fatal编程技术网

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");