I have downloaded the sample code and WSDL files from FedEx.
I have created references to both WSDL files:
C:\Sep-WSDLs\AddressVa lidationService _v1.wsdl
C:\Sep-WSDLs\RateAvail ableServicesSer vice_v2.wsdl
I have created Imports statements for both references:
Expand|Select|Wrap|Line Numbers
- Imports System.Web.Services.Protocols
- Imports Validate = FedEx_Tester.WebReference.AddressValidationService
- Imports Rate = FedEx_Tester.WebReference1.RateAvailableServicesService
- 'Imports AddressValidationWebServiceClient.AddressValidationWebReference
- 'Imports RateAvailableWebServiceClient.RateAvailableServicesWebReference
- Public Class Form1
- Dim strKey As String = "MNYPn7v1XXSxlyrs"
- Dim strPassword As String = "JhEK8KXSrKcyuB26VIQIxg9kt"
- Dim strAccount As String = "510087640"
- Dim strMeter As String = "1197029"
- Private Sub ValidateAddress()
- txtResult.Text = ""
- ' Build a AddressValidationRequest object
- Dim request As AddressValidationRequest = New AddressValidationRequest()
What am I missing?
Thanks.