REST Web service

Monday, February 2, 2015 10:49:23 PM
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 5:32:32 PM
Avatar
re: curioususer on Monday, February 2, 2015 10:49:23 PM

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 6:46:31 AM
Avatar
re: inflectra.adam on 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 6:54:27 AM
Avatar
re: curioususer on 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 10:49:23 PM
  • Last Reply: Friday, February 6, 2015 6:54:27 AM
  • Replies: 3
  • Views: 574