![]() |
XML Error? |
Post Reply ![]() |
Page 12> |
Author | |
dubya008 ![]() Newbie ![]() Joined: 10-November-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 10-November-2008 at 10:18am |
Hello,
I'm new with Product Cart and am trying to build some thing that will show me the orders outside of Product Cart. I have created some XML that always returns a 100 status, saying it is invalid XML, can some one look at it and tell me what I need to change? requestText="<?xml version=""1.0"" encoding=""utf-8"">" &_ "<GetOrderDetailsRequest>" &_ "<PartnerID>Webgistix</PartnerID>" &_ "<PartnerPassword>webgisix</PartnerPassword>" &_ "<PartnerKey>PXP-LED82I0PUH7ZD9968ESWJ8I93A</PartnerKey>" &_ "<OrderID>7</OrderID>" &_ "</GetOrderDetailsRFequest>" |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
there may be more issues but I'd suggest you correct the spelling on this tag:
"</GetOrderDetailsRFequest>"
should be
"</GetOrderDetailsRequest>"?
|
|
![]() |
|
dubya008 ![]() Newbie ![]() Joined: 10-November-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thank you. It is now.
requestText="<?xml version=""1.0"" encoding=""utf-8"">" &_ "<GetOrderDetailsRequest>" &_ "<PartnerID>Webgistix</PartnerID>" &_ "<PartnerPassword>webgisix</PartnerPassword>" &_ "<PartnerKey>PXP-LED82I0PUH7ZD9968ESWJ8I93A</PartnerKey>" &_ "<OrderID>7</OrderID>" &_ "</GetOrderDetailsRequest>" and still go the same error |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Ok, not sure beyond that but the typo was very obvious so I wanted to point that out.
|
|
![]() |
|
dubya008 ![]() Newbie ![]() Joined: 10-November-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Well thanks for the help any way!
|
|
![]() |
|
dubya008 ![]() Newbie ![]() Joined: 10-November-2008 Status: Offline Points: 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? |
|
![]() |
|
Matt ![]() Moderator Group ![]() Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
I'm running this from a vbs file would that have any thing to do with it?
|
|
![]() |
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 |