私は2つの方法を持つウェブサービスを持っています。 1メソッドは、文字列、日付のような非プリミティブなパラメータを持っています...別のものはプリミティブパラメータを持っていますプリミティブパラメータを持つブラウザのテストWebサービスメソッドはどのようになっていますか?
第1の方法私はこのようにテストすることができますhttp://localhost/Integration/CustomerManagement.asmx/UpdateToPaid?customerNumber=000001&startDate=01/01/2012&endDate=12/31/2012
うまくいきます。
第二の方法は、「Customerオブジェクトは、」Webメソッドにオブジェクトパラメータを持っています。私はこれをテストする方法を知らない?私はWAST(Web Application Stress Tool)を使ってこのメソッドをテストしなければなりません。
http://localhost/Integration/CustomerManagement.asmx?op=CreateUpdateIndividualCustomer
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateUpdateIndividualCustomer xmlns="http://tempuri.org/">
<customerDetails>
<CustomerNumber>string</CustomerNumber>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<JobTitle>string</JobTitle>
<Status>string</Status>
<Indicator>string</Indicator>
<Password>string</Password>
<PasswordQuestion>string</PasswordQuestion>
<PasswordAnswer>string</PasswordAnswer>
<IsApproved>boolean</IsApproved>
<FullName>string</FullName>
<ExtendedStatus>string</ExtendedStatus>
</customerDetails>
</CreateUpdateIndividualCustomer>
</soap:Body>
</soap:Envelop
私はちょうど、新しいコンソールアプリケーションを作成し、Webサービスへの参照を追加し、そこからそれを呼び出すと思います。 –