これは非常に初心者の質問ですが、HttpContext.Current.Request.Files の使用方法に慣れていません。
私の webService Url は次のようになります。
http://127.0.0.1/iisEntry/myApi.asmx
次の Web メソッドにファイルをアップロードする方法について、誰か簡単なコードを作成していただけませんか?
public void AddDocument(String title)
{
var action = new AddDocumentAction
{
File = HttpContext.Current.Request.Files[0],
DocumentTitle = title
}
processor.Process(action);
}