0

How can I call an existing webservice (somewhere) from Microsoft Visual Studio 2008 (C#) with only a valid xml-string/file?

I receive these xml-files from another system and this system can not call directly this webservice. These xml-files are 100% ok, but I want to know how to make the code.

Do I need to make the proxy classes?

4

2 に答える 2

0

サービスを説明するWSDLファイルを意味しますか?wsdl.exeコマンドラインツールを使用してコードを生成し、生成されたファイルをプロジェクトに追加できます。Visual StudioのWebサービス検出メカニズムは、既知のURLからサービスを追加することを目的としています。

于 2010-12-03T14:08:43.487 に答える
0

Webrequest-method を使用し、soap-message に受信した xml-string を入力して、それを webservice に送信しました。

だから私の質問は閉じることができます。

于 2010-12-14T09:39:51.163 に答える