5.Click the Add Reference button to add the
5.Click the Add Reference button to add the reference to your project. Visual Studio .NET uses to identify the methods that are available for execution from your project. 6.Add the following procedure to Form1to the click event of the second button: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As _ System.EventArgs) Handles Button2.Click SOAP exampleDim strToken As StringDim strDevId As StringDim strAppId As StringDim strCertId As String specify credentials required to access APIstrToken = Your Token Here strDevId = Your Dev Id Here strAppId = Your App Id Here strCertId = Your Cert Id Here Dim SOAPService As New ebay.eBayAPIInterfaceServiceSOAPService.Url = _ https://api.sandbox.ebay.com/wsapi?callname=GetSearchResults&siteid=0&appid= strAppId & version=383 SOAPService.RequesterCredentials = New ebay.CustomSecurityHeaderTypeSOAPService.RequesterCredentials.eBayAuthToken = strTokenSOAPService.RequesterCredentials.Credentials = New ebay.UserIdPasswordTypeSOAPService.RequesterCredentials.Credentials.AppId = strAppIdSOAPService.RequesterCredentials.Credentials.DevId = strDevIdSOAPService.RequesterCredentials.Credentials.AuthCert = strCertIdDim Request As New ebay.GetSearchResultsRequestTypeDim Response As New ebay.GetSearchResultsResponseType specify the search criteriaRequest.Query = computer Request.Version = 383 call the GetSearchResults method to run the searchResponse = SOAPService.GetSearchResults(Request) Dim items As ebay.SearchResultItemTypeTextBox1.Multiline = True loop through the results and display the resultsFor Each items In Response.SearchResultItemArrayTextBox1.Text = TextBox1.Text & Title: & items.Item.Title & vbCrLfTextBox1.Text = TextBox1.Text & Description: & _ items.Item.Description & vbCrLfTextBox1.Text = TextBox1.Text & Item Id: & items.Item.ItemID & _ vbCrLf & vbCrLf131Using
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Clan Web Hosting services