.net を使用して Web サービスに接続しようとしています。
このための「設計図」があります。ただし、それはPHPです。.net を使用してこれを行いたいのですが、基本的に Visual Studio がありません。WebMatrix を実行しています。
ASP.Netフォーラムをチェックしたところ、そこでこの回答が得られました
「WebMatrix は、Web 参照を管理するためのツールを提供していません。Visual Studio で Razor Web ページ サイトを開き、代わりにそれを使用してください。」
SO からこのLINKを取得しまし たが、これは素晴らしいですが、目的を果たせず、システムに Visual Studio をインストールできません。Web Matrix を回避する方法を見つけなければなりません。
ここにPHPコードがあります
<?php
//1. Include soap library
require_once('lib/nusoap.php');
//2. instantiate soapclient class with the url of the soap server
$client = new nusoap_client("URL for wsdl");
//3. Make a call to the web service
//the parameters to the Web Service must be encapsulated in an array in which the keys are the names defined for the service
$result = $client->call("Parameters to the Web Service));
//Display your result
echo "the latitude is ".$result;
?>