XML Error? |
Post Reply | Page 12> |
Author | |
dubya008
Newbie Joined: 10-November-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 11-November-2008 at 12:23pm |
I'm not certain but i have a sneaky suspicion that it had to do with the tabs in the XML statement. The one that you gave to me (besides the first line) was the same as mine.
Don't Know if this is the correct place to ask this but how long is an order in the cart considered new? |
|
Matt
Moderator Group Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
Hi dubya008, if you have some time let us know. We can add it to the troubleshooting tips.
|
|
dubya008
Newbie Joined: 10-November-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Never Mind i've found the problem. Thank you for all of the help
|
|
dubya008
Newbie Joined: 10-November-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
<?xml version='1.0' encoding='utf-8' ?><GetOrderDetailsRequest><PartnerID>Webgis
tix</PartnerID><PartnerPassword>webgisix</PartnerPassword><PartnerKey>PXP-LED82I 0PUH7ZD9968ESWJ8I93A</PartnerKey><OrderID>7</OrderID></GetOrderDetailsRequest> <?xml version="1.0"?> <ProductCartResponse><RequestStatus>100</RequestStatus><ErrorList><ErrorCode>101 </ErrorCode><ErrorDesc>Invalid XML document</ErrorDesc></ErrorList></ProductCart Response> |
|
Matt
Moderator Group Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
It should not. Please print your xml out to a msg box and paste it here so we can see it.
|
|
dubya008
Newbie Joined: 10-November-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
I'm running this from a vbs file would that have any thing to do with it?
|
|
Matt
Moderator Group Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
Here is the correct XML so you can compare it with your own. You may want to write your XML out to the screen so you can be sure it is correctly formed.
<?xml version='1.0' encoding='utf-8' ?> <GetOrderDetailsRequest> <PartnerID></PartnerID> <PartnerPassword></PartnerPassword> <PartnerKey></PartnerKey> <OrderID>7</OrderID> </GetOrderDetailsRequest> This works. I tested it with the sample applications provided in the SDK. |
|
dubya008
Newbie Joined: 10-November-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
I'm still getting that error. Do you think it could be some thing else?
|
|
Matt
Moderator Group Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
You are missing a "?".
It should be: requestText="<?xml version=""1.0"" encoding=""utf-8"" ?>" &_ |
|
dubya008
Newbie Joined: 10-November-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Is there any one who has had this problem in the past?
I have downloaded the XML tools and that is where I came up with this XML to submit. Am I missing some things? |
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |