Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2011-02-23
3
1,163 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:
Dushan De Silva 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
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 Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

856 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