Situation:
I am attempting to call a REST Web Service and post some JSON, but i'm getting an error before the call ever makes it to the end point. the error is as follows:
"Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details."
Any ideas what could be causing this?
Tip:
Try enabling the REST message logging from the System Properties
abpm.webservice.rest.jersey.dumpmessages
Administer > Setup > Application Settings > Update System Properties
Services > Web Service Configuration
Once this is enabled, you should be able to see the REST request being sent in the KernelApplication.log file
- /ServerKernel/logs/applicationlogs
2016-03-15 15:42:06 INFO: 1 * Sending client request on thread Flow Thread(192168000193145807452531400259)
2016-03-15 15:42:06 1 > POST adeptia.com/test/api/testing/UpdateData?TokenNo=13245
2016-03-15 15:42:06 1 > Content-Type: application/text
2016-03-15 15:42:06
2016-03-15 15:42:07 Mar 15, 2016 3:42:07 PM org.glassfish.jersey.filter.LoggingFilter log
2016-03-15 15:42:07 INFO: 2 * Client response received on thread Flow Thread(192168000193145807452531400259)
2016-03-15 15:42:07 2 < 200
2016-03-15 15:42:07 2 < Cache-Control: no-cache
2016-03-15 15:42:07 2 < Content-Length: 10
2016-03-15 15:42:07 2 < Content-Type: application/json; charset=utf-8
2016-03-15 15:42:07 2 < Date: Tue, 15 Mar 2016 20:41:21 GMT
2016-03-15 15:42:07 2 < Expires: -1
2016-03-15 15:42:07 2 < Pragma: no-cache
2016-03-15 15:42:07 2 < Server: Microsoft-IIS/8.5
2016-03-15 15:42:07 2 < X-AspNet-Version: 4.0.30319
2016-03-15 15:42:07 2 < X-Powered-By: ASP.NET
Comments
0 comments
Article is closed for comments.