Skip Menu |

This queue is for tickets about the EWS-Client CPAN distribution.

Report information
The Basics
Id: 55890
Status: resolved
Priority: 0/
Queue: EWS-Client

People
Owner: OLIVER [...] cpan.org
Requestors: bk [...] bentux.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Don`t know
Date: Wed, 24 Mar 2010 12:06:23 +0100
To: bug-EWS-Client [...] rt.cpan.org
From: Bastian Kames <bk [...] bentux.de>
Hi, I got the following error warning: Cannot process the message because the content type 'text/xml; charset="utf-8"' was not the expected type 'text/xml; charset=utf-8'. HTTP Auth ist aktiv. If I change the Password or Username It show error: Unauthorized What is wrong ? My System is Exchange2010 Thanks Bastian
Subject: Re: [rt.cpan.org #55890] Don`t know
Date: Wed, 24 Mar 2010 15:36:34 +0000
To: bug-EWS-Client [...] rt.cpan.org
From: Oliver Gorwits <oliver.gorwits [...] oucs.ox.ac.uk>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Bastian, On 24/03/2010 11:06, Bastian Kames via RT wrote: Show quoted text
> warning: Cannot process the message because the content type 'text/xml; > charset="utf-8"' was not the expected type 'text/xml; charset=utf-8'. > > HTTP Auth ist aktiv. If I change the Password or Username It show error: > Unauthorized > > What is wrong ? > > My System is Exchange2010
I've not tested with Exchange 2010, so I wonder if the SOAPAction header I send is no longer correct. You could try changing the text used in EWS::Client::Role::GetItem and EWS::Client::Role::FindItem to something like: http://schemas.microsoft.com/exchange/services/2010/messages/.... Otherwise, I will try to think of some debugging command to send you later to show me the output. regards, - -- Oliver Gorwits, Network and Telecommunications Group Oxford University Computing Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuqMYIACgkQ2NPq7pwWBt5AAgCfRromNLJCQ9O0inhmG2fMvOEA 4GoAn0m6+Y51PkywehDS62hkcJFSuXhA =kR+t -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #55890] Don`t know
Date: Thu, 25 Mar 2010 11:12:34 +0100
To: bug-EWS-Client [...] rt.cpan.org
From: Bastian Kames <bk [...] bentux.de>
Hi Oliver, thank you for fast replay. I changed GetItem and FindItem to 2010 but same result. Don`t know if the schema change in 2010 ! regards bastian On Wed, 24 Mar 2010 11:36:51 -0400, "oliver.gorwits@oucs.ox.ac.uk via RT" <bug-EWS-Client@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55890 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Bastian, > > On 24/03/2010 11:06, Bastian Kames via RT wrote:
>> warning: Cannot process the message because the content type 'text/xml; >> charset="utf-8"' was not the expected type 'text/xml; charset=utf-8'. >> >> HTTP Auth ist aktiv. If I change the Password or Username It show error: >> Unauthorized >> >> What is wrong ? >> >> My System is Exchange2010
> > I've not tested with Exchange 2010, so I wonder if the SOAPAction header > I send is no longer correct. > > You could try changing the text used in EWS::Client::Role::GetItem and > EWS::Client::Role::FindItem to something like: > > http://schemas.microsoft.com/exchange/services/2010/messages/.... > > Otherwise, I will try to think of some debugging command to send you > later to show me the output. > > regards, > > - -- > Oliver Gorwits, Network and Telecommunications Group > Oxford University Computing Services > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkuqMYIACgkQ2NPq7pwWBt5AAgCfRromNLJCQ9O0inhmG2fMvOEA > 4GoAn0m6+Y51PkywehDS62hkcJFSuXhA > =kR+t > -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #55890] Don`t know
Date: Thu, 25 Mar 2010 17:30:20 +0000
To: bug-EWS-Client [...] rt.cpan.org
From: Oliver Gorwits <oliver.gorwits [...] oucs.ox.ac.uk>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/03/2010 10:12, Bastian Kames via RT wrote: Show quoted text
> thank you for fast replay. > I changed GetItem and FindItem to 2010 but same result. > > Don`t know if the schema change in 2010 !
Yes that could be the issue, but I don't have a 2010 server to test against, sorry :( If I work out the command to dump the response from the server, it will probably show the problem in an error message. - -- Oliver Gorwits, Network and Telecommunications Group, Oxford University Computing Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkurnawACgkQ2NPq7pwWBt5eYQCg2hNoVQRBscuGF++9VbuWC80K HzgAoIZR9CvgR85ht/ta2bdARfm3pvdl =vLWd -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #55890] Don`t know
Date: Thu, 25 Mar 2010 19:19:21 +0100
To: "bug-EWS-Client [...] rt.cpan.org" <bug-EWS-Client [...] rt.cpan.org>
From: Bastian Kames <bk [...] bentux.de>
Okay, Send me your debug code when you are ready. If this get no results, I'll give you access to our exchange server (Linux Konsole). Off course if you want !! Bastian Am 25.03.2010 um 18:30 schrieb "oliver.gorwits@oucs.ox.ac.uk via RT" <bug-EWS-Client@rt.cpan.org Show quoted text
>:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55890 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 25/03/2010 10:12, Bastian Kames via RT wrote:
>> thank you for fast replay. >> I changed GetItem and FindItem to 2010 but same result. >> >> Don`t know if the schema change in 2010 !
> > Yes that could be the issue, but I don't have a 2010 server to test > against, sorry :( > > If I work out the command to dump the response from the server, it > will probably show the problem in an error message. > > > - -- > Oliver Gorwits, Network and Telecommunications Group, > Oxford University Computing Services > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkurnawACgkQ2NPq7pwWBt5eYQCg2hNoVQRBscuGF++9VbuWC80K > HzgAoIZR9CvgR85ht/ta2bdARfm3pvdl > =vLWd > -----END PGP SIGNATURE----- >
Subject: Re: [rt.cpan.org #55890] Don`t know
Date: Wed, 31 Mar 2010 11:10:36 +0200
To: bug-EWS-Client [...] rt.cpan.org
From: Bastian Kames <bk [...] bentux.de>
Hi, any suggestions for me ? Thanks Bastian On Thu, 25 Mar 2010 13:30:39 -0400, "oliver.gorwits@oucs.ox.ac.uk via RT" <bug-EWS-Client@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55890 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 25/03/2010 10:12, Bastian Kames via RT wrote:
>> thank you for fast replay. >> I changed GetItem and FindItem to 2010 but same result. >> >> Don`t know if the schema change in 2010 !
> > Yes that could be the issue, but I don't have a 2010 server to test > against, sorry :( > > If I work out the command to dump the response from the server, it > will probably show the problem in an error message. > > > - -- > Oliver Gorwits, Network and Telecommunications Group, > Oxford University Computing Services > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkurnawACgkQ2NPq7pwWBt5eYQCg2hNoVQRBscuGF++9VbuWC80K > HzgAoIZR9CvgR85ht/ta2bdARfm3pvdl > =vLWd > -----END PGP SIGNATURE-----
Subject: [rt.cpan.org #55890] How to dump response from server
Date: Thu, 1 Apr 2010 09:18:45 +0800
To: <bug-EWS-Client [...] rt.cpan.org>
From: "Greg Shaw (shawgreg)" <shawgreg [...] cisco.com>
Hi Oliver, In Bug 55890 you make the following comment: "If I work out the command to dump the response from the server, it will probably show the problem in an error message." I have managed to do this by adding trace lines to XML::Compile::Transport::SOAPHTTP.pm In function _prepare_call I've added one for 'trace $request->as_string();' at line 172 and 'trace $response->as_string();' at line 178 Obviously, you then need to turn on Log::Report mode => 'DEBUG'; Hope this helps. Cheers, Greg.
Hello Bastian, I've not been able to find our what is needed for Exchange 2010, because I no longer have access to an Exchange server to test against (I changed jobs recently). I've added a note to the module documentation and hopefully someone will be able to test against an Exchange 2010 server for us, and send a patch. regards, oliver.