It's all about the answers!

Ask a question

RQMConnectionHelper.putToServer() always get http 500 error


Mei Li (1144) | asked Sep 23 '09, 4:37 a.m.
I'm integrating RQM2.0 with RTC,in my code there uses a snippet RQMConnectionHelper.putToServer(urlLink, xmlDoc),but always get http 500 error ,did it not work well...When I use RQMConnectionHelper.getFromServer,this method can work well...I don't know if RQM2.0 didn't provide putToServer method work well or not ???Thank you for your reply~

One answer



permanent link
John Nason (2.4k1012) | answered Sep 25 '09, 12:55 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
A response code of 500 is "internal server error".
One thing to check is the content that you are PUTing to the server.
As a sanity check, try doing a GET on existing content, then PUT that same content back to the server. That should work without problem. If it does, then it is time to start looking at the content that you are PUTing when you get the 500.
Regards,
John

I'm integrating RQM2.0 with RTC,in my code there uses a snippet RQMConnectionHelper.putToServer(urlLink, xmlDoc),but always get http 500 error ,did it not work well...When I use RQMConnectionHelper.getFromServer,this method can work well...I don't know if RQM2.0 didn't provide putToServer method work well or not ???Thank you for your reply~

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.