ActionService
Click here for a complete list of operations.
ValidateAddress
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /actionservice.asmx HTTP/1.1
Host: www.herbco.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.aspdotnetstorefront.com/ValidateAddress"
<?xml version="1.0" encoding="utf-8"?>
<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>
<ValidateAddress xmlns="http://www.aspdotnetstorefront.com/">
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<country>string</country>
<zip>string</zip>
</ValidateAddress>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<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>
<ValidateAddressResponse xmlns="http://www.aspdotnetstorefront.com/">
<ValidateAddressResult>
<SkinID>int</SkinID>
<LocaleSetting>string</LocaleSetting>
<Separator>string</Separator>
<CustomerID>int</CustomerID>
<AddressID>int</AddressID>
<DisplayOrder>int</DisplayOrder>
<NickName>string</NickName>
<FirstName>string</FirstName>
<Verified>boolean</Verified>
<LastName>string</LastName>
<Company>string</Company>
<Address1>string</Address1>
<Address2>string</Address2>
<Suite>string</Suite>
<City>string</City>
<State>string</State>
<Zip>string</Zip>
<Country>string</Country>
<Phone>string</Phone>
<Fax>string</Fax>
<Url>string</Url>
<EMail>string</EMail>
<AddressType>Unknown or Billing or Shipping or Account</AddressType>
<ResidenceType>Unknown or Residential or Commercial</ResidenceType>
<ShippingDate>dateTime</ShippingDate>
<PaymentMethodLastUsed>string</PaymentMethodLastUsed>
<CardType>string</CardType>
<CardName>string</CardName>
<CardNumber>string</CardNumber>
<CardExpirationMonth>string</CardExpirationMonth>
<CardExpirationYear>string</CardExpirationYear>
<CardStartDate>string</CardStartDate>
<CardIssueNumber>string</CardIssueNumber>
<ECheckBankABACode>string</ECheckBankABACode>
<ECheckBankAccountNumber>string</ECheckBankAccountNumber>
<ECheckBankAccountType>string</ECheckBankAccountType>
<ECheckBankName>string</ECheckBankName>
<ECheckBankAccountName>string</ECheckBankAccountName>
<PONumber>string</PONumber>
<AsXml>string</AsXml>
</ValidateAddressResult>
</ValidateAddressResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /actionservice.asmx HTTP/1.1
Host: www.herbco.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ValidateAddress xmlns="http://www.aspdotnetstorefront.com/">
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<country>string</country>
<zip>string</zip>
</ValidateAddress>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ValidateAddressResponse xmlns="http://www.aspdotnetstorefront.com/">
<ValidateAddressResult>
<SkinID>int</SkinID>
<LocaleSetting>string</LocaleSetting>
<Separator>string</Separator>
<CustomerID>int</CustomerID>
<AddressID>int</AddressID>
<DisplayOrder>int</DisplayOrder>
<NickName>string</NickName>
<FirstName>string</FirstName>
<Verified>boolean</Verified>
<LastName>string</LastName>
<Company>string</Company>
<Address1>string</Address1>
<Address2>string</Address2>
<Suite>string</Suite>
<City>string</City>
<State>string</State>
<Zip>string</Zip>
<Country>string</Country>
<Phone>string</Phone>
<Fax>string</Fax>
<Url>string</Url>
<EMail>string</EMail>
<AddressType>Unknown or Billing or Shipping or Account</AddressType>
<ResidenceType>Unknown or Residential or Commercial</ResidenceType>
<ShippingDate>dateTime</ShippingDate>
<PaymentMethodLastUsed>string</PaymentMethodLastUsed>
<CardType>string</CardType>
<CardName>string</CardName>
<CardNumber>string</CardNumber>
<CardExpirationMonth>string</CardExpirationMonth>
<CardExpirationYear>string</CardExpirationYear>
<CardStartDate>string</CardStartDate>
<CardIssueNumber>string</CardIssueNumber>
<ECheckBankABACode>string</ECheckBankABACode>
<ECheckBankAccountNumber>string</ECheckBankAccountNumber>
<ECheckBankAccountType>string</ECheckBankAccountType>
<ECheckBankName>string</ECheckBankName>
<ECheckBankAccountName>string</ECheckBankAccountName>
<PONumber>string</PONumber>
<AsXml>string</AsXml>
</ValidateAddressResult>
</ValidateAddressResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /actionservice.asmx/ValidateAddress?address1=string&address2=string&city=string&state=string&country=string&zip=string HTTP/1.1 Host: www.herbco.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Address xmlns="http://www.aspdotnetstorefront.com/"> <SkinID>int</SkinID> <LocaleSetting>string</LocaleSetting> <Separator>string</Separator> <CustomerID>int</CustomerID> <AddressID>int</AddressID> <DisplayOrder>int</DisplayOrder> <NickName>string</NickName> <FirstName>string</FirstName> <Verified>boolean</Verified> <LastName>string</LastName> <Company>string</Company> <Address1>string</Address1> <Address2>string</Address2> <Suite>string</Suite> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <Phone>string</Phone> <Fax>string</Fax> <Url>string</Url> <EMail>string</EMail> <AddressType>Unknown or Billing or Shipping or Account</AddressType> <ResidenceType>Unknown or Residential or Commercial</ResidenceType> <ShippingDate>dateTime</ShippingDate> <PaymentMethodLastUsed>string</PaymentMethodLastUsed> <CardType>string</CardType> <CardName>string</CardName> <CardNumber>string</CardNumber> <CardExpirationMonth>string</CardExpirationMonth> <CardExpirationYear>string</CardExpirationYear> <CardStartDate>string</CardStartDate> <CardIssueNumber>string</CardIssueNumber> <ECheckBankABACode>string</ECheckBankABACode> <ECheckBankAccountNumber>string</ECheckBankAccountNumber> <ECheckBankAccountType>string</ECheckBankAccountType> <ECheckBankName>string</ECheckBankName> <ECheckBankAccountName>string</ECheckBankAccountName> <PONumber>string</PONumber> <AsXml>string</AsXml> </Address>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /actionservice.asmx/ValidateAddress HTTP/1.1 Host: www.herbco.com Content-Type: application/x-www-form-urlencoded Content-Length: length address1=string&address2=string&city=string&state=string&country=string&zip=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Address xmlns="http://www.aspdotnetstorefront.com/"> <SkinID>int</SkinID> <LocaleSetting>string</LocaleSetting> <Separator>string</Separator> <CustomerID>int</CustomerID> <AddressID>int</AddressID> <DisplayOrder>int</DisplayOrder> <NickName>string</NickName> <FirstName>string</FirstName> <Verified>boolean</Verified> <LastName>string</LastName> <Company>string</Company> <Address1>string</Address1> <Address2>string</Address2> <Suite>string</Suite> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <Phone>string</Phone> <Fax>string</Fax> <Url>string</Url> <EMail>string</EMail> <AddressType>Unknown or Billing or Shipping or Account</AddressType> <ResidenceType>Unknown or Residential or Commercial</ResidenceType> <ShippingDate>dateTime</ShippingDate> <PaymentMethodLastUsed>string</PaymentMethodLastUsed> <CardType>string</CardType> <CardName>string</CardName> <CardNumber>string</CardNumber> <CardExpirationMonth>string</CardExpirationMonth> <CardExpirationYear>string</CardExpirationYear> <CardStartDate>string</CardStartDate> <CardIssueNumber>string</CardIssueNumber> <ECheckBankABACode>string</ECheckBankABACode> <ECheckBankAccountNumber>string</ECheckBankAccountNumber> <ECheckBankAccountType>string</ECheckBankAccountType> <ECheckBankName>string</ECheckBankName> <ECheckBankAccountName>string</ECheckBankAccountName> <PONumber>string</PONumber> <AsXml>string</AsXml> </Address>