Quantcast
Channel: Micro Focus Forums
Viewing all articles
Browse latest Browse all 11924

Invalid XML response with readCursorRequest

$
0
0
We get XML parse exceptions for certain objects while trying to read folder entries with readCursorRequest. It happens if the 'phone' attribute in phone messages holds some special characters. While values for other attributes are XML encoded, the value for 'phone' is not. This leads to an invalid XML response. We get this with Groupwise 12, while a test with Groupwise 8 shows no problems.

Invalid XML with Groupwise 12 (see gwt:phone attribute):

<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"><s:Header/>
<s:Body><gwm:readCursorResponse>
<gwm:items>
<gwt:item xsi:type="gwt:PhoneMessage">
<gwt:id>529899B0.GWdom.POone.100.16D3865.1.187.1@5 :4D887BA8.GWdom.POone.100.16D3865.1.7F.1@13</gwt:id>
<gwt:sid>391</gwt:sid>
<gwt:version>2</gwt:version>
<gwt:modified>2013-11-29T12:42:14Z</gwt:modified>
<gwt:container sid="127">4D887BA8.GWdom.POone.100.16D3865.1.7F.1@ 13</gwt:container>
<gwt:created>2013-11-29T12:42:08Z</gwt:created>
<gwt:msgId>529899B0.GWdom.POone.200.200005E.1.50E. 1</gwt:msgId>
<gwt:messageId>&lt;529899B00200005E0000050E@berlin .qs.net&gt;</gwt:messageId>
<gwt:clientMessageId>52988BA0.DFC : 94 : 63064</gwt:clientMessageId>
<gwt:source>received</gwt:source>
<gwt:delivered>2013-11-29T12:42:09Z</gwt:delivered>
<gwt:security>Normal</gwt:security>
<gwt:subject>M&amp;Möller Bläh &amp; Blüb</gwt:subject>
<gwt:distribution>
<gwt:from><gwt:displayName>Bert Meier</gwt:displayName><gwt:email>bmeier@berlin.qs.net</gwt:email><gwt:uuid>D38E47E0-02A0-0000-B701-9D14AFB706B2</gwt:uuid></gwt:from>
<gwt:to>bmeier</gwt:to>
<gwt:sendoptions><gwt:statusTracking>DeliveredAndO pened</gwt:statusTracking></gwt:sendoptions>
</gwt:distribution>
<gwt:options><gwt:priority>Standard</gwt:priority></gwt:options>
<gwt:size>514</gwt:size>
<gwt:threading><gwt:id>&lt;529899B00200005E0000050 E@berlin.qs.net&gt;</gwt:id></gwt:threading>
<gwt:retentionModified>2013-11-29T12:42:08Z</gwt:retentionModified>
<gwt:caller>M&amp;Möller</gwt:caller>
<gwt:company>Müller</gwt:company>
<gwt:phone>Bläh & Blüb</gwt:phone>
</gwt:item>
</gwm:items>
<gwm:status><gwt:code>0</gwt:code></gwm:status>
</gwm:readCursorResponse></s:Body></s:Envelope>


Valid XML with Groupwise 8:

<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header/><S:Body><gwm:readCursorResponse xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events">
<gwm:items>
<gwt:item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="gwt:PhoneMessage">
<gwt:id>5298930A.DOMAINvecto.POone.100.16C6463.1.5 69.1@5:4E8F1FD5.DOMAINvecto.POone.100.16C6463.1.12 B.1@13</gwt:id>
<gwt:sid>1385</gwt:sid>
<gwt:version>3</gwt:version>
<gwt:modified>2013-11-29T12:19:48Z</gwt:modified>
<gwt:container sid="299">4E8F1FD5.DOMAINvecto.POone.100.16C6463.1 .12B.1@13</gwt:container>
<gwt:created>2013-11-29T12:13:46Z</gwt:created>
<gwt:status><gwt:opened>1</gwt:opened><gwt:read>1</gwt:read></gwt:status>
<gwt:msgId>5298930A.DOMAINvecto.POone.200.20000E7. 1.4DEE.1</gwt:msgId>
<gwt:messageId>&lt;5298930A020000E700004DEE@gwvect o.qs.net&gt;</gwt:messageId>
<gwt:clientMessageId>529884FA.6D8 : 231 : 59696</gwt:clientMessageId>
<gwt:source>received</gwt:source>
<gwt:delivered>2013-11-29T12:13:46Z</gwt:delivered>
<gwt:security>Normal</gwt:security>
<gwt:subject>Müller M&amp;M</gwt:subject>
<gwt:distribution>
<gwt:from><gwt:displayName>Jens Meyer auf&apos;m Hofe</gwt:displayName><gwt:email>jmeyer@gwvecto.qs.net</gwt:email><gwt:uuid>AA6C7700-0DA5-0000-B2DA-B2370DAB99A5</gwt:uuid></gwt:from>
<gwt:to>jmeyer</gwt:to>
<gwt:sendoptions><gwt:statusTracking>None</gwt:statusTracking></gwt:sendoptions>
</gwt:distribution>
<gwt:options><gwt:priority>Standard</gwt:priority></gwt:options>
<gwt:size>554</gwt:size>
<gwt:threading><gwt:id>&lt;5298930A020000E700004DE E@gwvecto.qs.net&gt;</gwt:id></gwt:threading>
<gwt:retentionModified>2013-11-29T12:13:46Z</gwt:retentionModified>
<gwt:caller>Müller</gwt:caller>
<gwt:company>Schmäller</gwt:company>
<gwt:phone>M&amp;M</gwt:phone>
<gwt:flags><gwt:wantsToSeeYou>1</gwt:wantsToSeeYou></gwt:flags>
</gwt:item>
</gwm:items>
<gwm:status><gwt:code>0</gwt:code></gwm:status>
</gwm:readCursorResponse></S:Body></S:Envelope>

Viewing all articles
Browse latest Browse all 11924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>