REST Web service

Monday, February 2, 2015
Avatar
Hello,

How can we use RestService in eclipse (http://www.inflectra.com/SpiraDemo/Services/v4_0/RestService.svc.). wsImport command doesn't work. How can we basically work with REST Api?

Thanks in advice
3 Replies
Tuesday, February 3, 2015
Avatar
re: curioususer Monday, February 2, 2015

Hi Bilge

Using a REST API you don't use wsImport that is for a SOAP API (e.g. (http://www.inflectra.com/SpiraDemo/Services/v4_0/ImportExport.svc) for REST you would use a simple HTTP client to interact:

http://www.javacodegeeks.com/2012/09/simple-rest-client-in-java.html

Regards

Adam

Friday, February 6, 2015
Avatar
re: inflectra.adam Tuesday, February 3, 2015
Thanks Adam,

I now use ImportExport web service. It may not be the right place to develop this question but I had a difficulty on a specific issue. I need to take custom parameters for test steps. I can't get NAME from TST_CUSTOM_PROPERTY_VALUE. Is it possible?

Thanks with regards,
Bilge 
Friday, February 6, 2015
Avatar
re: curioususer Friday, February 6, 2015
Hello again Adam,

What I mean is there is CustomProperty_AddCustomListValue  web method but there isn't a Retrieve method for retrieving RemoteCustomListValue. How can we manage to get this done? I need to NAME.

Thanks with regards,
Bilge
Statistics
  • Started: Monday, February 2, 2015
  • Last Reply: Friday, February 6, 2015
  • Replies: 3
  • Views: 1454