Backend Design for Services Marketplace

I want to build a restful backend system for a services marketplace. The way the marketplace is supposed to work is as follows. Users must gain access to the marketplace by registering as either a service provider or a service consumer. When a servi...
more »

2017-03-19 23:03 (0) Answers

Decode String with swift 3

I got the following encoded string in my web service response \U00e0\U00aa\U0095\U00e0\U00ab\U0083\U00e0\U00aa\U00aa\U00e0\U00aa\U00be \U00e0\U00aa\U0095\U00e0\U00aa\U00b0\U00e0\U00ab\U0080\U00e0\U00aa\U00a8\U00e0\U00ab\U0087 \U00e0\U00aa\U009f\U0...
more »

2017-03-15 07:03 (1) Answers

Setting Parameters through url javaplay

so as part of some work I've been doing I was given a file with WebServices that are being used in a Swift application. I have zero familiarity with WebServices and only know Java through syntax understanding. I need to call one of these gets with a ...
more »

2017-03-12 21:03 (1) Answers

Creating user Story with least Rank

By Default, any user story created gets the highest Rank in an iteration. But my requirement is to add the user story at the bottom of iteration , not on Top, means with least rank. How can I manipulate the Rank of a User Story. In WSAPI 2.0 , I see ...
more »

2017-03-08 07:03 (1) Answers

How to expose soap webservices as REST API

I wrote the below code for making soap webservice call. How do I expose it as REST api? The below code makes a soap call and sends username and password as headers. The output will be from a webservice callled SR_spcWeb_spcServiceStub. Thanks in adva...
more »

2017-03-03 19:03 (0) Answers

Webservice issue - first call is too slow

We have a touch screen application that displays events and pictures sent to the app by Web services. There is one particular web service that I have an issue with. It pulls data from the table in SQL for 1 event that user choses on the screen. This ...
more »

2017-03-03 18:03 (0) Answers

cakephp compare password for webservice

I'm new to cakephp, I'm implementing a web service for update password where user will provide oldpassword, newpassword, username parametrs, I have to check in db if that username has the old password, then update db with newpassword. what I have do...
more »

2017-03-03 16:03 (2) Answers

How to fetch security token via SSO in Rally?

The security token API asks for basic authentication. I am using SSO for logging in a user. This is the API: https://rally1.rallydev.com/slm/webservice/v2.0/security/authorize Doc: https://rally1.rallydev.com/slm/doc/webservice/authentication.jsp ...
more »

2017-02-27 22:02 (1) Answers

Having RESTful service in RCP application

We have an existing eclipse RCP application that works as a standalone product. At a high level, this product is used to configure a image specification using its UI and we can export a sample Image based on these configuration. Now we are developin...
more »

2017-02-22 11:02 (1) Answers

C# WCF: Get Requesters URL

I have a C# WebService called via ajax (javascript). Is it possible to retrieve the requesting URL? Example: test/index.html calls the WebService via "GET". Can I retrieve this calling URL (test/index.html) on the server-side? Sorry I am new to th...
more »

2017-02-20 15:02 (1) Answers

Post restful method java error

Can anyone tell me why this error? Server Log: StandardWrapperValve[ws_site.ApplicationConfig]: Servlet.service() for servlet ws_site.ApplicationConfig threw exception java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line ...
more »

2017-02-20 14:02 (3) Answers

org.springframework.web.client.RestClientException

I get the following exception when I try to get User from my Web Service. org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.shopping.model.User] and co...
more »

2017-02-19 23:02 (1) Answers

Rest WebService for performing business operation

As I've read, Rest is used for create/update/delete/get of Resource using PUT/POST/DELETE/GET method. Now Let's say, I've to expose a service which take 'price' and 'date' as request and it calculates 'service tax', 'sb cess', 'krishikalyalcess' on ...
more »

2017-02-19 03:02 (2) Answers

Consume REST Web Service from relative uri

Is it possible to consume a RESTful web service from a relative uri, instead of an absolute? When I run the following code, I get an exception java.lang.IllegalArgumentException: URI is not absolute. RestTemplate rt = new RestTemplate(); User x = r...
more »

2017-02-17 21:02 (1) Answers

Rate limiting signup API

We are are small start up and we are using SailsJS(which sits on top of NodeJS) on our backend. Ours is a API driven architecture. I want to implement rate limiting for most of the API's. I want to start with a small use case for Signup. Signup is a ...
more »

2017-02-17 20:02 (1) Answers

REST: GET calls

I am reading a book on REST. It recommends for GET requests, the method name should be in HTTP method header and any parameters required to retrieve the data should be in the URI. Example: www.flickr.com/search=penguins Now, in many cases, a number...
more »

2017-02-16 11:02 (2) Answers

https rest webservice call using HttpClient

I am using Apache HttpClient 4.5.3 version and trying to make a REST call to a https url and seeing the below error. What am I missing log4j:WARN No appenders could be found for logger (com.qssinc.automation.common.utils.TestResultLogger). log4j:WAR...
more »

2017-02-14 23:02 (0) Answers

Implement generic abstract jaxrs service

I'm struggling on implementing a generic abstract jaxrs service without duplicating several jaxrs annotations. So, for example, here is my service and entity structure: AbstractEntity.java import javax.xml.bind.annotation.XmlElement; public abstr...
more »

2017-02-14 19:02 (0) Answers