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

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>".".
LVL 1
rgb192Asked:
Who is Participating?
 
Dushan De SilvaConnect With a Mentor Technology ArchitectCommented:
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
 
Beverley PortlockConnect With a Mentor Commented:
<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
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.