Exchange 2000 IM, WM 5.1.0680 and characters like äöü



Priit
07-09-2005, 10:49 PM
Hello,
We have the Exchange 2000 Instant Messaging (RVP) server. All Exchange
service packs and hot fixes installed.

As soon as we install Windows Messenger 5.1.0680 on the client machines we
are unable to communicate with users whose AD Display name or Full name
contains special characters like (äöü). The users whose name contains the
mentioned characters are unable to communicate with anyone.

Can anyone test with similar configuration (Exchange 2000 IM + WM 5.1.0680)
that the issue exists? Add one of the characters (äöü) to your AD display
name and test, if you can communicate.

We have narrowed down the problem to a xml query that the messenger client
sends to the server. The following packets are captured on the IM server.
This is a successful query produced by Windows Messenger version 5.0.0381,
note the r:description tag in xml (the ä character is intact):
HTTP header:
NOTIFY /instmsg/local/im.domain.com/instmsg/aliases/mart.test HTTP/1.1
RVP-Ack-Type: DeepOr
RVP-Hop-Count: 1
RVP-Notifications-Version: 0.2
Host: im.domain.com
Content-Length: 832
Content-Type: text/xml
RVP-From-Principal: http://im.domain.com/instmsg/aliases/priit.test
Data:
<?xml version="1.0"?>

<r:notification xmlns:d='DAV:' xmlns:r='http://schemas.microsoft.com/rvp/'
xmlns:a='http://schemas.microsoft.com/rvp/acl/'>
<r:message>
<r:notification-from>
<r:contact>
<d:href>http://im.domain.com/instmsg/aliases/priit.test</d:href>
<r:description>Priit Test</r:description>
</r:contact>
</r:notification-from>
<r:notification-to>
<r:contact>
<d:href>http://im.domain.com/instmsg/aliases/mart.test</d:href>
<r:description>Märt Test</r:description>
</r:contact>
</r:notification-to>
<r:msgbody><r:mime-data><![CDATA[MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-MMS-IM-Format: FN=Tahoma; EF=; CO=8080; CS=ba; PF=22
Session-Id: {AFBF95DB-974B-4DA9-B591-6B5525721C47}

test1]]>
</r:mime-data></r:msgbody></r:message>
</r:notification>

This one is an unsuccessful query by Windows Messenger 5.1.0680, note the
r:description tag in xml (the ä character is encoded or sth) :
HTTP header:
NOTIFY /instmsg/local/im.domain.com/instmsg/aliases/mart.test HTTP/1.1
RVP-Ack-Type: DeepOr
RVP-Hop-Count: 1
RVP-Notifications-Version: 0.2
Host: im.domain.com
Content-Length: 778
Content-Type: text/xml
RVP-From-Principal: http://im.domain.com/instmsg/aliases/priit.test

Data:
<?xml version="1.0"?>

<r:notification xmlns:d='DAV:' xmlns:r='http://schemas.microsoft.com/rvp/'
xmlns:a='http://schemas.microsoft.com/rvp/acl/'>
<r:message>
<r:notification-from>
<r:contact>
<d:href>http://im.domain.com/instmsg/aliases/priit.test</d:href>
<r:description>Priit Test</r:description>
</r:contact>
</r:notification-from>
<r:notification-to>
<r:contact>
<d:href>http://im.domain.com/instmsg/aliases/mart.test</d:href>
<r:description>MĆHDR before tEXtrt Test</r:description>
</r:contact>
</r:notification-to>

<r:msgbody><r:mime-data><![CDATA[MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-MMS-IM-Format: FN=Tahoma; EF=; CO=8080; CS=ba; PF=22
Session-Id: {F8ECF04E-2C24-48AA-81A9-E2E7C9FB2126}

test2]]></r:mime-data></r:msgbody>

</r:message>
</r:notification>

This is the server reply to the unsuccessful query:
HTTP header:
HTTP/1.1 400 Bad Request
Server: Microsoft-IIS/5.0
Date: Thu, 02 Jun 2005 06:56:26 GMT
Connection: close
Content-Type: text/html
Content-Length: 210
RVP-Notifications-Version: 0.2
Connection: close

Data:
<HTML>
<HEAD>
<TITLE>Bad Request</TITLE>
</HEAD>
<BODY>
<H2>Failure 400 (Bad Request)</H2>
<HR>
NOTIFY on node http://im.domain.com/instmsg/aliases/mart.test failed with
error C00CE508 while parsing
<HR>
</BODY>
</HTML>

Windows Messenger displays an error message:
The following message could not be delivered to all recipients:
test2

Does anyone have a similar problem or does anyone know how to solve the
problem. Is it possible to change the way that the server parses xml or the
client creates the xml query?

Priit


Exchange 2000 IM, WM 5.1.0680 and characters like äöü