PavcSharp

From CDYNE Wiki
Revision as of 15:22, 25 October 2011 by imported>Alauerman
Jump to navigation Jump to search

Using as a Service Reference
Add a service reference to your project that will point to http://pav3.cdyne.com/PavService.svc?wsdl

Sample Code

Verify Address

pav.PavServiceClient PSC = new pav.PavServiceClient("pavsoap");
pav.Address PavAdd = new pav.Address();
PavAdd = PSC.VerifyAddress("CDYNE Corporation", "2125 Smith Ave", " ", " ", "Chesapeake", "VA", "23320", "LICENSE KEY");
        Console.WriteLine(
               PavAdd.FirmNameOrRecipient.ToString() + " " +
               PavAdd.PrimaryAddressLine.ToString() + " " +
               PavAdd.SecondaryAddressLine.ToString() + " " +
               PavAdd.CityName.ToString() + " " +
               PavAdd.StateAbbreviation.ToString() + " " +
               PavAdd.ZipCode.ToString() + " " +
               PavAdd.County.ToString() + " " +
               PavAdd.Urbanization.ToString() + " " +
               PavAdd.Country.ToString()
               );

Verify Address Advanced

Get Intelligent Mail Barcode

Get Zip Codes For City and State

Get City Names For A Zip Code

Get Urbanization List For Zip Code