Mule ESB Consume Multiple REST Services

My API name is A, and I have to call 2 REST services in my API. I was able to call one REST service, and tried calling 2nd REST service using Scatter-Gather but no luck. Here is my flow diagram for calling single REST service Based on service res...
more »

2017-06-21 22:06 (1) Answers

How to send json data in POST request using C#

I want to send json data in POST request using C#. I have tried few ways but facing lot of issues . I need to request using request body as raw json from string and json data from json file. How can i send request using these two data forms. Ex: F...
more »

2017-06-21 14:06 (5) Answers

USI Webservice SOAP Format

I am in the process of developing process to communicate with the Unique Student Identifier (USI) Webservice. I have a Vanguard token, courtesy of some nice (SoapClient avoiding) code by Sergey Vidusov (thanks!) and I'm trying to use the contents of ...
more »

2017-06-21 12:06 (0) Answers

How to test https rest webservice in postman

I have deployed the a rest webservice over https using self signed certificate. Now i am facing the issue in postman while trying to test it. Error is same as follows:- I also follow the post from this link using-self-signed-certificates-with-postma...
more »

2017-06-19 19:06 (1) Answers

When should I create a web service?

I know this question sounds like pretty basic to most of you. But as a newbie, I can't figure it out completely. I have an Android app which have PHP in server side. Client-server communications are sent as JSON over HTTP. It may include authenticat...
more »

2017-06-17 09:06 (0) Answers

Microservices Restful API - DTOs or not?

REST API - DTOs or not? I would like to re-ask this question in Microservices' context. Here is the quote from original question. I am currently creating a REST-API for a project and have been reading article upon article about best practices....
more »

2017-06-15 18:06 (2) Answers

Sending multiple Json Structures in JAX-RS?

I have the following JAX-RS Post Method in my Java Handler class: @POST @Path("/onlineApplication/person/{personId}/address/{addressId}/changeAddress") @Produces(MediaType.APPLICATION_JSON) public Response changePersonAddress(@PathParam("changeId") ...
more »

2017-05-24 15:05 (0) Answers

RESTeasy service input parameter is empty

I have written the below resteasy service and taking the request parameter from the rest URL as /{categoryId} and input it to my method as String categoryID. @Path("/getArticlebyCat/{categoryID}") @PermitAll @GET @Produces("applicati...
more »

2017-05-22 06:05 (2) Answers

Understanding Web App Permissions with MySQL

Assume I have a schema defined with the 4 following entities: Users -> Timeline (fk: userId) -> Entries (fk: timelineId) -> Tags (fk: entryId), where fk means foreign key. Now, let's say I want to check in the web application...
more »

2017-05-21 15:05 (2) Answers

Using Facebook API disables my account

I'm trying to use the Facebook API in my web app. I've created a dedicated FB account to create the FB app and access it through the API. I'm not aware or any wrongdoing, I'm not scraping the site, I'm using the API, I'm not sending too many reques...
more »

2017-05-20 13:05 (0) Answers

Yahoo finance ichart service availability

Following Has Yahoo finance web service disappeared? API changed? Down temporarily? Now seems something wrong with a ichart service too: https://ichart.yahoo.com/table.csv?s=NFLX&a=0&b=1&c=2016&d=4&e=16&f=2017&g=h&ign...
more »

2017-05-18 08:05 (2) Answers

Remote SOAP web service keeps breaking connection

Short Description I'm using JBoss SwitchYard to connect to secured remote SOAP web service. For some reason after the request is sent; remote web service is stopping any further communication; so I'm not receiving a response. Question I need an id...
more »

2017-05-15 10:05 (0) Answers

Writing to JSONobject through Restful Webservice

I am learning how to use Restful Webservice, i dont really know if my approach is good or totally wrong, so bear with me I got a project structure, which look like this : I want to by calling the right URL, save the string accordingly in Datum.Js...
more »

2017-05-14 15:05 (1) Answers

Best practice to post data with web-services

I created an android app where I tap on the screen to put some waypoints , get their position and some extra data, then post the data using cakephp. I want to know what are the best practice to send data for my case ? Example, should I post every p...
more »

2017-05-09 12:05 (1) Answers

ID values in REST-style URLs

If my application has more than one way to identify a resource, say for example a globally unique identifier, and also compound key of more human-friendly values, which is considered preferable? As an example: https://localhost:12345/api/cust...
more »

2017-05-08 17:05 (1) Answers

upload file using rest services in spring mvc

I want to upload a file( any type of file ) into a forlder using web services and spring mvc so I have a sever side and a client side. On my client side this is the code @RequestMapping(value = "/uploadMultipleFile", method = RequestMethod.POST...
more »

2017-05-07 10:05 (0) Answers

Best practice for web service security

What is the best way to secure web service end points? An unauthorized app should not be able to access web service. Webservice shouldn't be accessed on a un-authorized client (eg. browser, fiddler). ...
more »

2017-05-06 07:05 (0) Answers