以下は、C# winforms に統合するためにサード パーティが提供する Web サービスです。
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="GetRecharge">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="account_no" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="smc" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="amount" type="xs:int" />
<xs:element minOccurs="0" name="Uniqueid" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetRechargeResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="GetRechargeResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element></xs:schema>
また、この Web サービスをテストするための URL も提供されています。この svc Web サービスを C# winforms で使用するにはどうすればよいですか。コード スニペットは大歓迎です。
編集: VS2010 でプロジェクトに Web 参照を追加しようとしましたが、次のエラーが発生しています: