IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Services Web Java Discussion :

[EWS] Utilisation de ExchangeWS


Sujet :

Services Web Java

  1. #1
    Membre averti
    Homme Profil pro
    Développeur Web
    Inscrit en
    Janvier 2007
    Messages
    387
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2007
    Messages : 387
    Points : 301
    Points
    301
    Par défaut [EWS] Utilisation de ExchangeWS
    Bonjour,

    Je tente déserpérément de connecter une boite Hotmail avec ExchangeWS.

    J'ai essayé de me connecter avec "autoDiscoverUrl" et sans, mais impossible de me connecter.

    Dans la dernière version, le problème est le suivant :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "    <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006">[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "        <Error Time="16:03:29.7141481" Id="0">[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "            <ErrorCode>600</ErrorCode>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "            <Message>EMailAddress not found in request body</Message>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "            <DebugData></DebugData>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "        </Error>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "    </Response>[\r][\n]"
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "</Autodiscover>"
    Voici le log complet :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
     
    13:févr.  17:02:43.872 INFO Thread-2 com.toto.mobile.service.Starter - Context Started
    13:févr.  17:03:02.181 INFO "http-bio-8080"-exec-3 com.toto.mobile.engine.ExchangeWSEngine - Start ExchangeWSEngine/start
    13:févr.  17:03:02.231 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.0.1
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.cookie-policy = rfc2109
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@185a5c6b
    13:févr.  17:03:02.241 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - Java version: 1.7.0_13
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - Java vendor: Oracle Corporation
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - Java class path: C:\Users\creali\bin\bootstrap.jar;C:\Users\creali\bin\tomcat-juli.jar;C:\Program Files\Java\jdk1.7.0_13\lib\tools.jar
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - Operating system name: Windows 7
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - Operating system architecture: amd64
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - Operating system version: 6.1
    13:févr.  17:03:02.291 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SUN 1.7: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunRsaSign 1.7: Sun RSA signature provider
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunEC 1.7: Sun Elliptic Curve provider (EC, ECDSA, ECDH)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunJSSE 1.7: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunJCE 1.7: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunJGSS 1.7: Sun (Kerberos v5, SPNEGO)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunSASL 1.7: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5, NTLM; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5, NTLM)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory)
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunPCSC 1.7: Sun PC/SC provider
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpClient - SunMSCAPI 1.7: Sun's Microsoft Crypto API provider
    13:févr.  17:03:02.301 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.auth.scheme-priority = [NTLM, Basic, Digest]
    13:févr.  17:03:02.311 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 0
    13:févr.  17:03:02.311 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 20000
    13:févr.  17:03:02.351 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection:  config = HostConfiguration[host=https://hotmail.com], timeout = 0
    13:févr.  17:03:02.351 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=https://hotmail.com]
    13:févr.  17:03:02.361 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Open connection to hotmail.com:443
    13:févr.  17:03:02.921 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "GET /autodiscover/autodiscover.xml HTTP/1.1[\r][\n]"
    13:févr.  17:03:02.921 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
    13:févr.  17:03:02.941 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n]"
    13:févr.  17:03:02.941 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Host: hotmail.com[\r][\n]"
    13:févr.  17:03:02.941 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Cache-Control: no-cache, no-store, must-revalidate, no-transform[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Pragma: no-cache[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Type: text/html; charset=utf-8[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Expires: -1[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Location: https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1360771383&rver=6.1.6206.0&wp=MBI_SSL_SHARED&wreply=https:%2F%2Fmail.live.com%2Fautodiscover%2Fautodiscover.xml&lc=1033&id=64855&mkt=en-US&cbcxt=mai[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Server: Microsoft-IIS/7.5[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "xxn: 48[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: KVC=16.2.7203.0205; domain=.mail.live.com; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: KVC=16.2.7203.0205; domain=.mail.live.com; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: KSC=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: kr=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: bsc=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: rru=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: prc=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: mt=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: DWN=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:03.792 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "MSNSERVER: H: SNT133-W48 V: 16.2.7203.205 D: 2013-02-05T15:42:30[\r][\n]"
    13:févr.  17:03:03.802 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Date: Wed, 13 Feb 2013 16:03:02 GMT[\r][\n]"
    13:févr.  17:03:03.802 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Length: 360[\r][\n]"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; KVC=16.2.7203.0205; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; KVC=16.2.7203.0205; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; KSC=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; kr=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; bsc=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; rru=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; prc=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; mt=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; DWN=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:03.852 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Redirect required
    13:févr.  17:03:03.852 INFO "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Redirect requested but followRedirects is disabled
    13:févr.  17:03:03.862 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.auth.scheme-priority = [NTLM, Basic, Digest]
    13:févr.  17:03:03.862 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 0
    13:févr.  17:03:03.862 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 20000
    13:févr.  17:03:03.862 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection:  config = HostConfiguration[host=https://autodiscover.hotmail.com], timeout = 0
    13:févr.  17:03:03.862 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=https://autodiscover.hotmail.com]
    13:févr.  17:03:03.862 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Open connection to autodiscover.hotmail.com:443
    13:févr.  17:03:03.932 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "GET /autodiscover/autodiscover.xml HTTP/1.1[\r][\n]"
    13:févr.  17:03:03.932 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
    13:févr.  17:03:03.932 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n]"
    13:févr.  17:03:03.932 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Host: autodiscover.hotmail.com[\r][\n]"
    13:févr.  17:03:03.932 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "[\r][\n]"
    13:févr.  17:03:04.322 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "HTTP/1.1 405 Method not allowed[\r][\n]"
    13:févr.  17:03:04.322 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "X-TransactionID: 9a8cf208-af02-496b-962c-94fe0382a950;DUB402-EAS195;17.0.93.128;2013-02-13 16:03:04 UTC;0 ms[\r][\n]"
    13:févr.  17:03:04.322 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Date: Wed, 13 Feb 2013 16:03:03 GMT[\r][\n]"
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Length: 0[\r][\n]"
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.auth.scheme-priority = [NTLM, Basic, Digest]
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 0
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 20000
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection:  config = HostConfiguration[host=http://autodiscover.hotmail.com], timeout = 0
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=http://autodiscover.hotmail.com]
    13:févr.  17:03:04.332 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Open connection to autodiscover.hotmail.com:80
    13:févr.  17:03:24.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Closing the connection.
    13:févr.  17:03:24.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted
    13:févr.  17:03:24.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
    13:févr.  17:03:24.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=http://autodiscover.hotmail.com]
    13:févr.  17:03:24.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.util.IdleConnectionHandler - Adding connection at: 1360771404342
    13:févr.  17:03:24.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads
    13:févr.  17:03:26.951 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.auth.scheme-priority = [NTLM, Basic, Digest]
    13:févr.  17:03:26.951 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 100000
    13:févr.  17:03:26.951 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 100000
    13:févr.  17:03:26.961 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection:  config = HostConfiguration[host=https://hotmail.com], timeout = 0
    13:févr.  17:03:26.961 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=https://hotmail.com]
    13:févr.  17:03:26.961 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Open connection to hotmail.com:443
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "POST /autodiscover/autodiscover.xml HTTP/1.1[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Content-type: text/xml; charset=utf-8[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "User-Agent: ExchangeServicesClient/0.0.0.0[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Accept: text/xml[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Keep-Alive: 300[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Connection: Keep-Alive[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Host: hotmail.com[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Content-Length: 326[\r][\n]"
    13:févr.  17:03:27.101 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "[\r][\n]"
    13:févr.  17:03:27.111 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - >> "<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006"><Request><EMailAddress>tototechnology@hotmail.com</EMailAddress><AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema></Request></Autodiscover>"
    13:févr.  17:03:27.751 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.methods.EntityEnclosingMethod - Request body sent
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Cache-Control: no-cache, no-store, must-revalidate, no-transform[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Pragma: no-cache[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Type: text/html; charset=utf-8[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Expires: -1[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Location: https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1360771407&rver=6.1.6206.0&wp=MBI_SSL_SHARED&wreply=https:%2F%2Fmail.live.com%2Fautodiscover%2Fautodiscover.xml&lc=1033&id=64855&mkt=en-US&cbcxt=mai[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Server: Microsoft-IIS/7.5[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "xxn: 10[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: KVC=16.2.7203.0205; domain=.mail.live.com; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: KVC=16.2.7203.0205; domain=.mail.live.com; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: KSC=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: kr=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: bsc=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: rru=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: prc=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: mt=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: DWN=; domain=.mail.live.com; expires=Thu, 01-Jan-1970 12:00:01 GMT; path=/[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "MSNSERVER: H: SNT133-W10 V: 16.2.7203.205 D: 2013-02-05T15:42:30[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Date: Wed, 13 Feb 2013 16:03:26 GMT[\r][\n]"
    13:févr.  17:03:27.911 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Length: 360[\r][\n]"
    13:févr.  17:03:27.911 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; KVC=16.2.7203.0205; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.911 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; KVC=16.2.7203.0205; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.911 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; KSC=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.911 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; kr=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.911 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; bsc=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.921 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; rru=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.921 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; prc=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.921 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; mt=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.921 WARN "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie rejected: "$Version=0; DWN=; $Path=/; $Domain=.mail.live.com". Illegal domain attribute ".mail.live.com". Domain of origin: "hotmail.com"
    13:févr.  17:03:27.921 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Redirect required
    13:févr.  17:03:27.921 INFO "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Redirect requested but followRedirects is disabled
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "<html><head><title>Object moved</title></head><body>[\r][\n]"
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "<h2>Object moved to <a href="https://login.live.com/login.srf?wa=wsignin1.0&amp;rpsnv=11&amp;ct=1360771407&amp;rver=6.1.6206.0&amp;wp=MBI_SSL_SHARED&amp;wreply=https:%2F%2Fmail.live.com%2Fautodiscover%2Fautodiscover.xml&amp;lc=1033&amp;id=64855&amp;mkt=en-US&amp;cbcxt=mai">here</a>.</h2>[\r][\n]"
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "</body></html>[\r][\n]"
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.auth.scheme-priority = [NTLM, Basic, Digest]
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 100000
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 100000
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection:  config = HostConfiguration[host=https://autodiscover.hotmail.com], timeout = 0
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=https://autodiscover.hotmail.com]
    13:févr.  17:03:27.931 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Open connection to autodiscover.hotmail.com:443
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "POST /autodiscover/autodiscover.xml HTTP/1.1[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Content-type: text/xml; charset=utf-8[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "User-Agent: ExchangeServicesClient/0.0.0.0[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Accept: text/xml[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Keep-Alive: 300[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Connection: Keep-Alive[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Host: autodiscover.hotmail.com[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Content-Length: 326[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "[\r][\n]"
    13:févr.  17:03:27.991 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - >> "<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006"><Request><EMailAddress>tototechnology@hotmail.com</EMailAddress><AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema></Request></Autodiscover>"
    13:févr.  17:03:28.342 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.methods.EntityEnclosingMethod - Request body sent
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "HTTP/1.1 401 Authorization header is missing[\r][\n]"
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "WWW-Authenticate: Basic realm="ActiveSync"[\r][\n]"
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "X-TransactionID: aced420f-ad12-4ff6-b2e0-f85e2ce4845a;DUB402-EAS44;17.0.93.128;2013-02-13 16:03:28 UTC;0 ms[\r][\n]"
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Date: Wed, 13 Feb 2013 16:03:28 GMT[\r][\n]"
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Length: 0[\r][\n]"
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Authorization required
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.auth.AuthChallengeProcessor - Supported authentication schemes in the order of preference: [NTLM, Basic, Digest]
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.auth.AuthChallengeProcessor - Challenge for NTLM authentication scheme not available
    13:févr.  17:03:28.402 INFO "http-bio-8080"-exec-3 org.apache.commons.httpclient.auth.AuthChallengeProcessor - Basic authentication scheme selected
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.auth.AuthChallengeProcessor - Using authentication scheme: basic
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.auth.AuthChallengeProcessor - Authorization challenge processed
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Authentication scope: BASIC 'ActiveSync'@autodiscover.hotmail.com:443
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Retry authentication
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection in response to directive: Keep-Alive
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Authenticating with BASIC 'ActiveSync'@autodiscover.hotmail.com:443
    13:févr.  17:03:28.402 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.HttpMethodParams - Credential charset not configured, using HTTP element charset
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "POST /autodiscover/autodiscover.xml HTTP/1.1[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Content-type: text/xml; charset=utf-8[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "User-Agent: ExchangeServicesClient/0.0.0.0[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Accept: text/xml[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Keep-Alive: 300[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Connection: Keep-Alive[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Content-Length: 326[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Authorization: Basic dmFkZXJldHJvdGVjaG5vbG9neUBob3RtYWlsLmZyOjFlbXBpcmUx[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "Host: autodiscover.hotmail.com[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - >> "[\r][\n]"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - >> "<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006"><Request><EMailAddress>tototechnology@hotmail.com</EMailAddress><AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema></Request></Autodiscover>"
    13:févr.  17:03:28.422 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.methods.EntityEnclosingMethod - Request body sent
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Type: text/html[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "X-TransactionID: e8c4b44b-75b6-42cc-8f6c-43472396500c;DUB402-EAS44;17.0.93.128;2013-02-13 16:03:28 UTC;920.4708 ms[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Set-Cookie: A_87524=EgB2AQMAAAAEgAAACoAA2ogKTlPXxzsbMxcXLnI97do3BGuDtP/zHIp1qmT2EfG/ZaZwqjlDofTDXZQ3EdcOsiVAkgy+ByM+MnCoUXhuP/EZilYUlXE5qdK0gz+Q+TWT5suvc4jjLsHKj/1L4c+cK9ihDZuFPDL0CxdfXHU0/5+KE+UqKqG6hmDVC9xehhLlAF4A5QD9vwYANIj64FG5G1FRuRtR9hsEAAoRIAAAHwB2YWRlcmV0cm90ZWNobm9sb2d5QGhvdG1haWwuZnIAVgAAHnZhZGVyZXRyb3RlY2hub2xvZ3lAaG90bWFpbC5mcgAAAAFGUgAFNTk1MTAAAAAABAwCAAB57HVAAARDAARWYWRlAAVSZXRybwUKAAAAAAAAAAAAAAAAD+zQ4FKXZlkAAFG5G1FRLi5RAAAAAAAAAAAAAAAADQAxOTUuNi4yNDUuODIABAAAAAAAAAAAAAAAADYBAAABAAABAAABAAAAAAAAAAA=; domain=autodiscover.hotmail.com; expires=Thu, 14-Feb-2013 16:03:29 GMT; path=/; secure; HttpOnly[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Date: Wed, 13 Feb 2013 16:03:29 GMT[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.header - << "Content-Length: 447[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; A_87524=EgB2AQMAAAAEgAAACoAA2ogKTlPXxzsbMxcXLnI97do3BGuDtP/zHIp1qmT2EfG/ZaZwqjlDofTDXZQ3EdcOsiVAkgy+ByM+MnCoUXhuP/EZilYUlXE5qdK0gz+Q+TWT5suvc4jjLsHKj/1L4c+cK9ihDZuFPDL0CxdfXHU0/5+KE+UqKqG6hmDVC9xehhLlAF4A5QD9vwYANIj64FG5G1FRuRtR9hsEAAoRIAAAHwB2YWRlcmV0cm90ZWNobm9sb2d5QGhvdG1haWwuZnIAVgAAHnZhZGVyZXRyb3RlY2hub2xvZ3lAaG90bWFpbC5mcgAAAAFGUgAFNTk1MTAAAAAABAwCAAB57HVAAARDAARWYWRlAAVSZXRybwUKAAAAAAAAAAAAAAAAD+zQ4FKXZlkAAFG5G1FRLi5RAAAAAAAAAAAAAAAADQAxOTUuNi4yNDUuODIABAAAAAAAAAAAAAAAADYBAAABAAABAAABAAAAAAAAAAA=; $Path=/; $Domain=autodiscover.hotmail.com"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "    <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006">[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "        <Error Time="16:03:29.7141481" Id="0">[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "            <ErrorCode>600</ErrorCode>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "            <Message>EMailAddress not found in request body</Message>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "            <DebugData></DebugData>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "        </Error>[\r][\n]"
    13:févr.  17:03:29.643 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "    </Response>[\r][\n]"
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 httpclient.wire.content - << "</Autodiscover>"
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection in response to directive: Keep-Alive
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=https://autodiscover.hotmail.com]
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.util.IdleConnectionHandler - Adding connection at: 1360771409653
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.auth.scheme-priority = [NTLM, Basic, Digest]
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 0
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 20000
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection:  config = HostConfiguration[host=http://autodiscover.hotmail.com], timeout = 0
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=http://autodiscover.hotmail.com]
    13:févr.  17:03:29.653 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Open connection to autodiscover.hotmail.com:80
    13:févr.  17:03:49.663 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Closing the connection.
    13:févr.  17:03:49.663 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted
    13:févr.  17:03:49.663 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
    13:févr.  17:03:49.663 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=http://autodiscover.hotmail.com]
    13:févr.  17:03:49.663 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.util.IdleConnectionHandler - Adding connection at: 1360771429663
    13:févr.  17:03:49.663 DEBUG "http-bio-8080"-exec-3 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads
    13:févr.  17:03:51.939 INFO "http-bio-8080"-exec-3 com.toto.mobile.engine.ExchangeWSEngine - AutodiscoverLocalException : -->microsoft.exchange.webservices.data.AutodiscoverLocalException: The Autodiscover service couldn't be located. 	at microsoft.exchange.webservices.data.AutodiscoverService.internalGetLegacyUserSettings(Unknown Source) 	at microsoft.exchange.webservices.data.AutodiscoverService.getLegacyUserSettings(Unknown Source) 	at microsoft.exchange.webservices.data.AutodiscoverService.internalGetLegacyUserSettings(Unknown Source) 	at microsoft.exchange.webservices.data.AutodiscoverService.getUserSettings(Unknown Source) 	at microsoft.exchange.webservices.data.ExchangeService.getAutodiscoverUrl(Unknown Source) 	at microsoft.exchange.webservices.data.ExchangeService.autodiscoverUrl(Unknown Source) 	at com.toto.mobile.engine.ExchangeWSEngine.start(ExchangeWSEngine.java:135) 	at com.toto.mobile.service.AccountService.exchange(AccountService.java:180) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:601) 	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395) 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250) 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 	at java.lang.Thread.run(Thread.java:722) <--
    13:févr.  17:03:52.009 INFO "http-bio-8080"-exec-3 com.toto.mobile.engine.ExchangeWSEngine - Exception : -->microsoft.exchange.webservices.data.ServiceLocalException: The Url property on the ExchangeService object must be set. 	at microsoft.exchange.webservices.data.ExchangeService.validate(Unknown Source) 	at microsoft.exchange.webservices.data.ServiceRequestBase.validate(Unknown Source) 	at microsoft.exchange.webservices.data.CreateRequest.validate(Unknown Source) 	at microsoft.exchange.webservices.data.CreateItemRequestBase.validate(Unknown Source) 	at microsoft.exchange.webservices.data.CreateItemRequest.validate(Unknown Source) 	at microsoft.exchange.webservices.data.ServiceRequestBase.validateAndEmitRequest(Unknown Source) 	at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(Unknown Source) 	at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(Unknown Source) 	at microsoft.exchange.webservices.data.ExchangeService.internalCreateItems(Unknown Source) 	at microsoft.exchange.webservices.data.ExchangeService.createItem(Unknown Source) 	at microsoft.exchange.webservices.data.Item.internalCreate(Unknown Source) 	at microsoft.exchange.webservices.data.EmailMessage.internalSend(Unknown Source) 	at microsoft.exchange.webservices.data.EmailMessage.send(Unknown Source) 	at com.toto.mobile.engine.ExchangeWSEngine.start(ExchangeWSEngine.java:161) 	at com.toto.mobile.service.AccountService.exchange(AccountService.java:180) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:601) 	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395) 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250) 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 	at java.lang.Thread.run(Thread.java:722) <--
    13:févr.  17:03:52.009 INFO "http-bio-8080"-exec-3 com.toto.mobile.engine.ExchangeWSEngine - End ExchangeWSEngine/start
    Voici le code appelant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
     
    class ValidateRedirectionUrlCallback implements IAutodiscoverRedirectionUrl
    {
     
    	@Override
    	public boolean autodiscoverRedirectionUrlValidationCallback(String redirectionUrl) throws AutodiscoverLocalException
    	{
                    //Temporairement, retourne toujours vrai
    		return true;
    	}
    }
    public class ExchangeWSEngine
    {
    public void start(String username, String domain, String password)
    	{
    ExchangeService service = new ExchangeService();
     
    		ExchangeCredentials credentials = new WebCredentials(username+"@"+domain+".fr", password);
    		service.setCredentials(credentials);
    ValidateRedirectionUrlCallback callback = new ValidateRedirectionUrlCallback();
    			service.autodiscoverUrl(username+"@"+domain+".com", callback);
    }
    }
    Merci d'avance.

    Cordialement.

  2. #2
    Membre averti
    Homme Profil pro
    Développeur Web
    Inscrit en
    Janvier 2007
    Messages
    387
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2007
    Messages : 387
    Points : 301
    Points
    301
    Par défaut
    Réponse obtenue de la part de Microsoft : Hotmail ne gère pas (plus ?) EWS :
    http://answers.microsoft.com/fr-fr/w...e-faa3ec42ebe5

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [EWS-Java] Utilisation de ExchangeWS
    Par PP(Team) dans le forum Autres Solutions d'entreprise
    Réponses: 0
    Dernier message: 14/02/2013, 15h15
  2. utiliser les tag [MFC] [Win32] [.NET] [C++/CLI]
    Par hiko-seijuro dans le forum Visual C++
    Réponses: 8
    Dernier message: 08/06/2005, 15h57
  3. utilisation du meta type ANY
    Par Anonymous dans le forum CORBA
    Réponses: 1
    Dernier message: 15/04/2002, 12h36
  4. [BCB5] Utilisation des Ressources (.res)
    Par Vince78 dans le forum C++Builder
    Réponses: 2
    Dernier message: 04/04/2002, 16h01
  5. Réponses: 2
    Dernier message: 20/03/2002, 23h01

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo