i am progamming to generate UPS labels in asp.net 2.0
when i sent the follwoing xml request to UPS development server,
it say invalid licence code.
But indeed mine is original licence and it has worked fine with address validation perfectly, but why do i face problem doing access request.
Expand|Select|Wrap|Line Numbers
- <?xml version='1.0'?>
- <AccessRequest xml:lang='en-US'>
- <AccessLicenseNumber>Licence number here</AccessLicenseNumber> <UserId>bwahoff</UserId>
- <Password>password here</Password>
- </AccessRequest>
- <?xml version="1.0"?>
- <ShipmentConfirmRequest>
- <Request>
- <TransactionReference>
- <CustomerContext>ShipConfirmUS</CustomerContext>
- <XpciVersion>1.0001</XpciVersion>
- </TransactionReference>
- <RequestAction>ShipConfirm</RequestAction>
- <RequestOption>nonvalidate</RequestOption>
- </Request>
- <LabelSpecification>
- <LabelPrintMethod>
- <Code>GIF</Code>
- </LabelPrintMethod>
- <LabelImageFormat>
- <Code>GIF</Code>
- </LabelImageFormat>
- <LabelStockSize>
- <Height>4</Height>
- <Width>6</Width>
- </LabelStockSize>
- </LabelSpecification>
- <Shipment>
- <Shipper>
- <Name>vdap.com</Name>
- <AttentionName>Nhat Ho</AttentionName>
- <PhoneNumber>111-111-1111</PhoneNumber>
- <ShipperNumber>671173</ShipperNumber>
- <Address>
- <AddressLine1>12331 Ninth street</AddressLine1>
- <City>Garden Grove</City>
- <StateProvinceCode>CA</StateProvinceCode>
- <PostalCode>92840</PostalCode>
- <CountryCode>US</CountryCode>
- </Address>
- </Shipper>
- <ShipFrom>
- <CompanyName>vdap</CompanyName>
- <AttentionName>Nhat Ho</AttentionName>
- <PhoneNumber>111-111-1111</PhoneNumber>
- <Address>
- <AddressLine1>12331 Ninth street</AddressLine1>
- <AddressLine2>
- </AddressLine2>
- <City>Garden Grove</City>
- <StateProvinceCode>CA</StateProvinceCode>
- <PostalCode>92840</PostalCode>
- <CountryCode>US</CountryCode>
- </Address>
- </ShipFrom>
- <ShipTo>
- <CompanyName>An mai</CompanyName>
- <AttentionName>An</AttentionName>
- <PhoneNumber>111-111-1111</PhoneNumber>
- <Address>
- <AddressLine1>851 Redondo dr west</AddressLine1>
- <City>Anahiem</City>
- <StateProvinceCode>CA</StateProvinceCode>
- <PostalCode>92801</PostalCode>
- <CountryCode>US</CountryCode>
- </Address>
- </ShipTo>
- <PaymentInformation>
- <Prepaid>
- <BillShipper>
- <AccountNumber>671173</AccountNumber>
- </BillShipper>
- </Prepaid>
- </PaymentInformation>
- <Service>
- <Code>03</Code>
- <Description>Ground</Description>
- </Service>
- <ShipmentServiceOptions>
- <ShipmentNotification>
- <EMailMessage>
- <EMailAddress>email@email.com</EMailAddress>
- <Memo>UPS Label Testing</Memo>
- </EMailMessage>
- </ShipmentNotification>
- </ShipmentServiceOptions>
- <Package>
- <Description>asdfads</Description>
- <PackagingType>
- <Code>02</Code>
- </PackagingType>
- <ReferenceNumber>
- <Code>9V</Code>
- <Value>asdfads</Value>
- </ReferenceNumber>
- <PackageWeight>
- <UnitOfMeasurement>
- <UnitOfMeasurement>LBS</UnitOfMeasurement>
- </UnitOfMeasurement>
- <Weight>20</Weight>
- </PackageWeight>
- <PackageServiceOptions>
- <CurrencyCode>US</CurrencyCode>
- <MonetaryValue>130</MonetaryValue>
- </PackageServiceOptions>
- </Package>
- </Shipment>
- </ShipmentConfirmRequest>
any help?
thank you