Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プロジェクトで使用する必要がある WSDL サービスがあります。
Web サービスの URL、ユーザー名、およびパスワードは、ユーザーごとに異なります。
サービス参照を追加する方法を知っています。私は特定のURLでそれを行います。サービスの URL を VS に渡します。
すべてのユーザーにサービスの異なる URL を持たせたい場合、どうすればよいですか?
エンドポイント アドレスはプログラムで変更できます。
MSDNで WCF の詳細を確認する
またはレガシー Web サービスの場合