Solved

20170 : Schema XML request error.     5 : XML Parse error.

Posted on 2011-02-23
3
1,141 Views
Last Modified: 2013-11-10
using ebay api to send messages to customer
AddMemberMessageAAQToPartner


I get these errors


when I send this message
<br>Text</br>

20170 : Schema XML request error.
Schema XML request error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize..


and when I send this message
<br>Text

5 : XML Parse error.
XML Error Text: "; nested exception is: org.xml.sax.SAXParseException: The element type "br" must be terminated by the matching end-tag "</br>".".
0
Comment
Question by:rgb192
3 Comments
 
LVL 17

Accepted Solution

by:
Dushan911 earned 250 total points
ID: 34965842
As below link mentioned they have not mentioned <br> tag on their input tags.
http://developer.ebay.com/devzone/xml/docs/reference/ebay/AddMemberMessageAAQToPartner.html#Samples
0
 
LVL 34

Assisted Solution

by:Beverley Portlock
Beverley Portlock earned 250 total points
ID: 34968702
<br/> is an empty tag - it never wraps anything so to parse correctly your examples above should be

<br/>Text<br/>

or

<br/>Text
0
 

Author Closing Comment

by:rgb192
ID: 35097606
thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now