Muralidhar Tupuri | Posted XML message here and the headers that are set . Not able to find logs with RTMT. Looked Tomcat logs under System. Nothing in there except access log says there is incoming request. Enabled macro traces for VMREST. Please point where I can find logs. Also let me know what is wrong with the following . Receiving 400. Regards, Murali ---------------------
https://10.10.210.4/vmrest/messages httpCon.setRequestMethod("POST"); httpCon.setRequestProperty("Content-Type", "multipart/form-data; boundary="+ boundary); httpCon.setRequestProperty("Accept","application/xml"); httpCon.setRequestProperty("User-Agent","GAT"); httpCon.setRequestProperty("Connection","keep-alive"); httpCon.setRequestProperty ("Authorization", "Basic " + encoding); httpCon.setRequestProperty("Keep-Alive","true"); --1351c6f18a3 Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Messages><Message> <Subject>GAT Message</Subject><ArrivalTime>0</ArrivalTime><F romSub>false</FromSub><From><Type>SUBSCRIBER</Type><SmtpAddress>vpim1@cuc8</Smtp Address></From></Message></Messages> --1351c6f18a3 Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Recipients total="1"><Recipient><Type>TO</Type><Address><Type>SUBSCRIBER</Type> <SmtpAddress>vpim2@cuc8</SmtpAddress></Address></Recipient></Recipients> --1351c6f18a3-- |
| Please sign in to flag this as inappropriate. |