Browser doesn't show any XML tag tree

I am calling a REST based service and the URL that I am calling doesn't show any XML tags but by pressing F12 (developer mode) I found out that the response code is 200 meaning it is successful. I am kind of lost here. What I am suppose to do at th...
more »

2017-08-16 16:08 (1) Answers

How to resolve javax.xml.bind.UnmarshallException?

I am new RESTful web Services and after going through some documentation I am in a state to invoke a web service. It looks like I am receiving a 200 status back from the service producer when I look at the response object but I am also getting javax....
more »

2017-08-14 17:08 (0) Answers

Vulnerabilties Pleks VS cPanel

As a web hosting reseller i have a question: Pleks or cPanel I mean, who is more secure ? With less hack vulnerabilities ? Some people tell me Plesk is more secure and with cPanel you have a lot of security breach. Thank you. ...
more »

2017-08-13 14:08 (3) Answers

Run-time error with http setRequestHeader

Public Function WebRequest(url As String, sVal1 As String, sVal2 As Integer) As String Dim xmlhttp As MSXML2.xmlhttp Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.setRequestHeader "Content-Type", "application/json" 'xmlht...
more »

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

How to perform input validation with

I am implementing a REST API using An implementation goal is to be as secure as possible, so every input should be validated. For input validation, I am implementing a public class ValidatingHttpRequest that implements HttpServletReque...
more »

2017-08-10 11:08 (1) Answers

Calling a Web Service in a JSP

I am new to calling a REST service in a JSP. I have a form which goes through a struts2 action. I have a javascript function which performs a basic email validation. So instead of performing this validation using JavaScript I need to call a service w...
more »

2017-08-09 22:08 (1) Answers

JSONObject to Java bean class not working

I have written a webservice in jersy client and converting a json string to bean class but date is showing error . I tried @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")but still it gives the same error in the method. How to convert the String to date ...
more »

2017-08-07 16:08 (2) Answers

Xamarin forms not sending Authorization header

I know this question might seem like a duplicate, but I have tried every solution I saw before asking this question again. I'm trying to consume a REST API which I wrote myself with Django Rest Framework, using C# HttpClient in Xamarin Forms. The re...
more »

2017-08-02 20:08 (2) Answers

Large video storage and streaming using CMIS

I am building a content management application to store large sized mp4 videos and provide a streaming playback experience for the user. The application needs to be compliant with CMIS standards. I have gone through the standard and see that appendC...
more »

2017-08-01 20:08 (1) Answers

spring rest api versioning

In my spring controller, I have 2 rest api methods. example: getUser, getRole One client is accessing it by like "/api/v1". Now I want to update one of the methods. i.e., getRole. So the new method/version will be "/api/v2". But no change in methods ...
more »

2017-08-01 14:08 (4) Answers

Interface as return on GET method using JAX-RS

The code below does not follow any pattern and was created by me just to illustrate the problem. The return type defined for a GET method is an interface, but all fields in the concrete class are created in JSON. In the example below, the "anyThing...
more »

2017-07-28 16:07 (1) Answers

Recaching page and web service under high load

I have a web shop with two layers of cache. One the web service and one in my web project. The problem is that when I want to recache, because of price changes or adding new products, the site crashes and a request limit is reached. In the web servi...
more »

2017-07-28 13:07 (0) Answers

Calling REST WS with different parameters

I have a basic doubt while calling a REST WS from the ajax frontend. I am calling the WS from ajax as: url: self.GET_GOAL_VIEW_URL + '?userEmail=' + eMail, or as: url: self.GET_GOAL_VIEW_URL, Now in cases where the userEmail parameters would b...
more »

2017-07-27 06:07 (1) Answers

ASIForDataRequest request fails

I am trying to call web service with the help of ASIHTTPREQUEST, now when webservice called it will directly go in to the RequestFailed. Below is code with which I call the request: -(void)Submit_Called_For_LoginApi { ASIFormDataRequest *request...
more »

2017-07-20 15:07 (0) Answers

Authorization of actions across microservices

A modern multi-user web application imposes a lot of restrictions on the actions that users can perform. In other words, the actions require authority. For example, a user can only change its own personal data, and only members of a group can post co...
more »

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