473,789 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UPS says invalid licence code

86 New Member
Hi friends,
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
  1. <?xml version='1.0'?>
  2. <AccessRequest xml:lang='en-US'>
  3.     <AccessLicenseNumber>Licence number here</AccessLicenseNumber>           <UserId>bwahoff</UserId>
  4. <Password>password here</Password>
  5. </AccessRequest>
  6. <?xml version="1.0"?>
  7. <ShipmentConfirmRequest>
  8.   <Request>
  9.     <TransactionReference>
  10.       <CustomerContext>ShipConfirmUS</CustomerContext>
  11.       <XpciVersion>1.0001</XpciVersion>
  12.     </TransactionReference>
  13.     <RequestAction>ShipConfirm</RequestAction>
  14.     <RequestOption>nonvalidate</RequestOption>
  15.   </Request>
  16.   <LabelSpecification>
  17.     <LabelPrintMethod>
  18.       <Code>GIF</Code>
  19.     </LabelPrintMethod>
  20.     <LabelImageFormat>
  21.       <Code>GIF</Code>
  22.     </LabelImageFormat>
  23.     <LabelStockSize>
  24.       <Height>4</Height>
  25.       <Width>6</Width>
  26.     </LabelStockSize>
  27.   </LabelSpecification>
  28.   <Shipment>
  29.     <Shipper>
  30.       <Name>vdap.com</Name>
  31.       <AttentionName>Nhat Ho</AttentionName>
  32.       <PhoneNumber>111-111-1111</PhoneNumber>
  33.       <ShipperNumber>671173</ShipperNumber>
  34.       <Address>
  35.         <AddressLine1>12331 Ninth street</AddressLine1>
  36.         <City>Garden Grove</City>
  37.         <StateProvinceCode>CA</StateProvinceCode>
  38.         <PostalCode>92840</PostalCode>
  39.         <CountryCode>US</CountryCode>
  40.       </Address>
  41.     </Shipper>
  42.     <ShipFrom>
  43.       <CompanyName>vdap</CompanyName>
  44.       <AttentionName>Nhat Ho</AttentionName>
  45.       <PhoneNumber>111-111-1111</PhoneNumber>
  46.       <Address>
  47.         <AddressLine1>12331 Ninth street</AddressLine1>
  48.         <AddressLine2>
  49.         </AddressLine2>
  50.         <City>Garden Grove</City>
  51.         <StateProvinceCode>CA</StateProvinceCode>
  52.         <PostalCode>92840</PostalCode>
  53.         <CountryCode>US</CountryCode>
  54.       </Address>
  55.     </ShipFrom>
  56.     <ShipTo>
  57.       <CompanyName>An mai</CompanyName>
  58.       <AttentionName>An</AttentionName>
  59.       <PhoneNumber>111-111-1111</PhoneNumber>
  60.       <Address>
  61.         <AddressLine1>851 Redondo dr west</AddressLine1>
  62.         <City>Anahiem</City>
  63.         <StateProvinceCode>CA</StateProvinceCode>
  64.         <PostalCode>92801</PostalCode>
  65.         <CountryCode>US</CountryCode>
  66.       </Address>
  67.     </ShipTo>
  68.     <PaymentInformation>
  69.       <Prepaid>
  70.         <BillShipper>
  71.           <AccountNumber>671173</AccountNumber>
  72.         </BillShipper>
  73.       </Prepaid>
  74.     </PaymentInformation>
  75.     <Service>
  76.       <Code>03</Code>
  77.       <Description>Ground</Description>
  78.     </Service>
  79.     <ShipmentServiceOptions>
  80.       <ShipmentNotification>
  81.         <EMailMessage>
  82.           <EMailAddress>email@email.com</EMailAddress>
  83.           <Memo>UPS Label Testing</Memo>
  84.         </EMailMessage>
  85.       </ShipmentNotification>
  86.     </ShipmentServiceOptions>
  87.     <Package>
  88.       <Description>asdfads</Description>
  89.       <PackagingType>
  90.         <Code>02</Code>
  91.       </PackagingType>
  92.       <ReferenceNumber>
  93.         <Code>9V</Code>
  94.         <Value>asdfads</Value>
  95.       </ReferenceNumber>
  96.       <PackageWeight>
  97.         <UnitOfMeasurement>
  98.           <UnitOfMeasurement>LBS</UnitOfMeasurement>
  99.         </UnitOfMeasurement>
  100.         <Weight>20</Weight>
  101.       </PackageWeight>
  102.       <PackageServiceOptions>
  103.         <CurrencyCode>US</CurrencyCode>
  104.         <MonetaryValue>130</MonetaryValue>
  105.       </PackageServiceOptions>
  106.     </Package>
  107.   </Shipment>
  108. </ShipmentConfirmRequest>
  109.  
  110.  
i have searched on many of the similar post, but i am unable to accomplish it.
any help?
thank you
Jun 1 '09 #1
9 2897
tlhintoq
3,525 Recognized Expert Specialist
Are you really sure you want to be posting that information so others can see all your account numbers? Doesn't that give rise to people shipping on your account?
Jun 1 '09 #2
ravindarjobs
86 New Member
Thank you tlhintoq,

you are right,
but those are dummy values, those does'nt work for real work.

that is a dummy data.


thank you
Ravindar
Jun 2 '09 #3
ravindarjobs
86 New Member
i think that is not a correct practice to post even those dummy values too.

So how do i edit that post now?
any help?


thank you
Ravindar
Jun 2 '09 #4
tlhintoq
3,525 Recognized Expert Specialist
@ravindarjobs
View the post.
Hit the big "edit" button. The one with the scissors icon
Jun 3 '09 #5
ravindarjobs
86 New Member
I think that edit button will appear for only some period of time.
Each time when i create a post, i am able to see the edit button.
But after some period, i dont get the edit option.


thank you
Ravindar
Jun 3 '09 #6
Frinavale
9,735 Recognized Expert Moderator Expert
You're right, for regular members the editing window is only a short while.
I've removed more data from what was posted for you...if you see anything that you want changed just say so :)
Jun 3 '09 #7
JamieHowarth0
533 Recognized Expert Contributor
Hi ravindarjobs,

How are you transmitting this - in a SOAP envelope, via HTTP GET/POST, or XMLRPC?
My first suggestion would be to use a tool like Fiddler2 to manually test that the above XML data a) passes over to the UPS endpoint successfully, and b) you are getting some kind of request back.

By manually creating and testing the web request you are more likely to be able to see what is going wrong with the request, and subsequently why UPS is retuning a license error.

Hope this helps.

codegecko
Jun 3 '09 #8
ravindarjobs
86 New Member
Hi codegecko, thanks for the reply,

i have contacted the UPS team and they resolved my issue.
As i was using dummy values, it was giving that invalid licence error.
I have resolved that error and,i am at next step of creating a shipper.

I am getting going for now as that issue resoved.

You have mentioned a tool for xml, thank you for that one.
I can work more smoothly with it.


thank you
Ravindar
Jun 4 '09 #9
JamieHowarth0
533 Recognized Expert Contributor
Hi Ravindar,

Glad to hear you got it sorted.

codegecko
Jun 6 '09 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2472
by: Jakov | last post by:
Ok there are some issues about LGPL licence. I am not a lawyer, and reading LGPL licence is making me confused. This is my problem. I have woking on some commercial application, all the software in this application is my property. Let say this software is in package "my.commercial.package". Next on net I found some binaries and sources which are covered in LGPL licence. Let say this software is in package "some.LGPL.package". There are...
17
2061
by: Laszlo Zsolt Nagy | last post by:
Hi All! I know there has been a post about Python licencing but I have different questions. I tried to Google for "Python Licence" and "Python Licencing" but I could not find the answer. Is there a place where I can ready about Python licencing? (A FAQ maybe?) I really need to know the details of the licence, but not in the lawyer's language. Just simple questions: - How put a software under the Python licence?
2
8332
by: Dave | last post by:
Hi, Can anyone suggest a way to generate a licence key from C/C++ program? I want to create a licence file include an encrypted text and an expiry date. The private key is hard coded in the program which will be used to encrypt and decrypt the licence key from the licence text file. With RSA, I want to hardcode a plain text as a private key in the C/C++ program, and store a signed public-key (the licence key - also include an expiry...
3
1497
by: DD | last post by:
I am after help in generating the code... The end user enters a licence no in the software to use the software as you do with Microsoft products. Can anyone help Regards DD
2
2586
by: JezB | last post by:
I have a windows application that I'd like to sell eventually. What's the simplest way to provide a secure licensing mechanism ? I'd prefer to have a licence key that can't simply be distributed across the pirate community (eg. astalavista) that will then work on any pc, so I was thinking of somehow tying it to the machine (some unique ID like the NIC number, but I realise some computers without a network card don't have one!). I'd need to...
3
5282
by: Frank Perry | last post by:
Howdy, I'm trying to write data out the com port. I have taken the code from the sample on the MSDN Library CD and used the parts that seem relevant. I can open the com port with CreateFile and get a valid file handle back. But when I try to write to it, the WriteFile comes back and tells me the handle is invalid. The program has control of the port because using Hyperterminal, I can't connect when the program is connected. There...
6
1929
by: Hani Atassi | last post by:
If i am using a form type authintication, do I need a licence for each logged in user? The application maintain their own user list and they are not Windows accounts. If I am using SQL Server from my web application, and SQL server uses 1 windows account, how many CAL do I need for my web application to run on the internet?
84
6577
by: John Perks and Sarah Mount | last post by:
we have some Python code we're planning to GPL. However, bits of it were cut&pasted from some wxPython-licenced code to use as a starting point for implementation. It is possible that some fragments of this code remains unchanged at the end. How should we refer to this in terms of copyright statements and bundled Licence files? Is there, say, a standard wording to be appended to the GPL header in each source file? Does the original...
1
2015
by: IanWright | last post by:
I'm trying to think of a suitable licence model for a toolkit that I'm designing, and have come up with the following, and would like thoughts / opinions or suggestions that people can offer. The toolkit is going to allow setup + solving of specific non linear problems. The ideas I had were: 2 different licences. 1 Developer, 1 Runtime, which I want to strictly be used appropriately. Developer licence: Allow many instances of the toolkit...
1
10142
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9021
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3703
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.