
Anonymous
Not applicable
2015-10-07
01:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TRestClient KO (errror 500) vs PostMan (or SoapUi)
Hi all,
I'm using TRestClient with DELETE Method and it failed with a 500 error response message. When I do the same on PostMAn or SoapUi it works great.
Any Idea ?
Thanks.
Here is the full trace :
Address:
Http-Method: DELETE
Content-Type:
Headers: {Accept=, Authorization=}
--------------------------------------
: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 1
Response-Code: 500
Encoding: UTF-8
Content-Type: text/html; charset=utf-8
Headers: {connection=, Content-Length=, content-type=, Date=, Server=, Server-Time=}
Payload: <h1>Server Error (500)</h1>
I'm using TRestClient with DELETE Method and it failed with a 500 error response message. When I do the same on PostMAn or SoapUi it works great.
Any Idea ?
Thanks.
Here is the full trace :
Address:
Http-Method: DELETE
Content-Type:
Headers: {Accept=, Authorization=}
--------------------------------------
: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 1
Response-Code: 500
Encoding: UTF-8
Content-Type: text/html; charset=utf-8
Headers: {connection=, Content-Length=, content-type=, Date=, Server=, Server-Time=}
Payload: <h1>Server Error (500)</h1>
251 Views
2 Replies

Anonymous
Not applicable
2015-10-12
03:51 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
500 error indicates the server encountered an unexpected condition which prevented it from fulfilling the request, Maybe you don't configure correctly the parameters on tRestClient, we need more details to investigate this issue. can you please upload some screenshots of the component settings and show us an example how you call it on SOAPUI?
Best regards
Shong
500 error indicates the server encountered an unexpected condition which prevented it from fulfilling the request, Maybe you don't configure correctly the parameters on tRestClient, we need more details to investigate this issue. can you please upload some screenshots of the component settings and show us an example how you call it on SOAPUI?
Best regards
Shong
251 Views

Anonymous
Not applicable
2019-07-09
08:21 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shong
I have the same issue when i use the post method,i want to send a json file to my api, i tried with the component Trest,Trestclient and TfileFetch but i get the error 500.
please find below the configuration of my Trest.
Thanks in advance
251 Views
