ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - XML Error?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XML Error?

 Post Reply Post Reply Page  12>
Author
Message
dubya008 View Drop Down
Newbie
Newbie


Joined: 10-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dubya008 Quote  Post ReplyReply Direct Link To This Post Topic: XML Error?
    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>"
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 10:41am
there may be more issues but I'd suggest you correct the spelling on this tag:
 
"</GetOrderDetailsRFequest>"
should be
 
"</GetOrderDetailsRequest>"?
Back to Top
dubya008 View Drop Down
Newbie
Newbie


Joined: 10-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dubya008 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 10:50am
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
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 10:55am
Ok, not sure beyond that but the typo was very obvious so I wanted to point that out.
Back to Top
dubya008 View Drop Down
Newbie
Newbie


Joined: 10-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dubya008 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 11:14am
Well thanks for the help any way!
Back to Top
dubya008 View Drop Down
Newbie
Newbie


Joined: 10-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dubya008 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 12:56pm
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?
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 1:26pm
You are missing a "?". 

It should be:


requestText="<?xml version=""1.0"" encoding=""utf-8"" ?>" &_
Back to Top
dubya008 View Drop Down
Newbie
Newbie


Joined: 10-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dubya008 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 1:53pm
I'm still getting that error. Do you think it could be some thing else?
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 1:59pm
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.
Back to Top
dubya008 View Drop Down
Newbie
Newbie


Joined: 10-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dubya008 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2008 at 2:12pm
I'm running this from a vbs file would that have any thing to do with it?
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.088 seconds.