Here is the HTTP level trace of what my httpclient is sending to your server.
As far as I can tell all required fields are being sent. Why is Zoho server responding with 500 Internal Server Error?
Please help!
2011/05/31 20:02:27:970 PDT [DEBUG] wire - >> "POST /portal/yoxel/api/private/xml/message/add?apikey=a<apikey>&ticket=<ticket> HTTP/1.1[EOL]"
2011/05/31 20:02:27:970 PDT [DEBUG] wire - >> "Accept: application/xml,application/xhtml+xml,text/html,text/plain[EOL]"
2011/05/31 20:02:27:970 PDT [DEBUG] wire - >> "Accept-Encoding: deflate[EOL]"
2011/05/31 20:02:27:971 PDT [DEBUG] wire - >> "Content-Length: 630[EOL]"
2011/05/31 20:02:27:971 PDT [DEBUG] wire - >> "Content-Type: multipart/form-data; boundary=evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd[EOL]"
2011/05/31 20:02:27:971 PDT [DEBUG] wire - >> "Host: projects.zoho.com[EOL]"
2011/05/31 20:02:27:972 PDT [DEBUG] wire - >> "Connection: Keep-Alive[EOL]"
2011/05/31 20:02:27:972 PDT [DEBUG] wire - >> "User-Agent: Apache-HttpClient/4.0.1 (java 1.5)[EOL]"
2011/05/31 20:02:27:972 PDT [DEBUG] wire - >> "[EOL]"
2011/05/31 20:02:27:972 PDT [DEBUG] headers - >> POST /portal/yoxel/api/private/xml/message/add?apikey=<key>&ticket=<ticket> HTTP/1.1
2011/05/31 20:02:27:972 PDT [DEBUG] headers - >> Accept: application/xml,application/xhtml+xml,text/html,text/plain
2011/05/31 20:02:27:973 PDT [DEBUG] headers - >> Accept-Encoding: deflate
2011/05/31 20:02:27:973 PDT [DEBUG] headers - >> Content-Length: 630
2011/05/31 20:02:27:973 PDT [DEBUG] headers - >> Content-Type: multipart/form-data; boundary=evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd
2011/05/31 20:02:27:973 PDT [DEBUG] headers - >> Host: projects.zoho.com
2011/05/31 20:02:27:974 PDT [DEBUG] headers - >> Connection: Keep-Alive
2011/05/31 20:02:27:974 PDT [DEBUG] headers - >> User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
2011/05/31 20:02:27:974 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:974 PDT [DEBUG] wire - >> "evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd"
2011/05/31 20:02:27:975 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:975 PDT [DEBUG] wire - >> "Content-Disposition: form-data; name="projId""
2011/05/31 20:02:27:975 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:975 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:976 PDT [DEBUG] wire - >> "15301e67103a3795d91db262dbc69d00b3711e3d6848763c"
2011/05/31 20:02:27:976 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:976 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:976 PDT [DEBUG] wire - >> "evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd"
2011/05/31 20:02:27:976 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:977 PDT [DEBUG] wire - >> "Content-Disposition: form-data; name="mesgtitle""
2011/05/31 20:02:27:977 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:977 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:977 PDT [DEBUG] wire - >> "new yxl thread"
2011/05/31 20:02:27:978 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:978 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:978 PDT [DEBUG] wire - >> "evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd"
2011/05/31 20:02:27:978 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:979 PDT [DEBUG] wire - >> "Content-Disposition: form-data; name="mesgbody""
2011/05/31 20:02:27:979 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:979 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:979 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:980 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:980 PDT [DEBUG] wire - >> "evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd"
2011/05/31 20:02:27:980 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:981 PDT [DEBUG] wire - >> "Content-Disposition: form-data; name="mesgcat""
2011/05/31 20:02:27:981 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:981 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:982 PDT [DEBUG] wire - >> "15301e67103a3795d91db262dbc69d0023ca193a53051b7d"
2011/05/31 20:02:27:982 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:983 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:983 PDT [DEBUG] wire - >> "evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd"
2011/05/31 20:02:27:983 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:983 PDT [DEBUG] wire - >> "Content-Disposition: form-data; name="uploadfile"; filename="""
2011/05/31 20:02:27:983 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:983 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:984 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:27:984 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:984 PDT [DEBUG] wire - >> "evTYU7Z-ljZgrZ8dgi0ahWUmfa-ZzeiNWJvd"
2011/05/31 20:02:27:984 PDT [DEBUG] wire - >> "--"
2011/05/31 20:02:27:984 PDT [DEBUG] wire - >> "[\r][\n]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "HTTP/1.1 500 Internal Server Error[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Set-Cookie: zpct=5c30b9eb-537e-43c0-897e-a3e337cd92f5; Path=/[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Set-Cookie: JSESSIONID=F8852EC1FB93CB19DA509153E52C29E3; Path=/[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Set-Cookie: projtze=0; Path=/[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Content-Type: text/xml;charset=utf-8[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Date: Wed, 01 Jun 2011 03:02:43 GMT[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Server: ZGS[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "P3P: CP="CAO PSA OUR"[EOL]"
2011/05/31 20:02:28:025 PDT [DEBUG] wire - << "Transfer-Encoding: chunked[EOL]"
2011/05/31 20:02:28:026 PDT [DEBUG] wire - << "Strict-Transport-Security: max-age=604800[EOL]"
2011/05/31 20:02:28:026 PDT [DEBUG] wire - << "[EOL]"
Writer is a powerful online word processor, designed for collaborative work.