Questions tagged as 'rest'

1
answer

Delphi - DataSnap - Rest - TServerMethods1

I'm running some Datasnap tests with REST and json. In the ServerMethods unit, which Delphi itself creates, has the function ReverseString , but well, how do I know who sent it? I would like to keep a log of information from...
asked by 07.06.2017 / 16:39
1
answer

How to pass a list of an object containing another object (composition) to a JSON

I have two classes: Contact and Operator. A in the Contact class I have a composition: private Operadora operadora ; I have a DAO where I have a class that returns a list of Contacts, in the console the list is displayed like this: [Cont...
asked by 14.09.2015 / 18:53
1
answer

web APIs, REST and Object Orientation

I'm starting to study web APIs a little deeper and I was a bit in doubt with the following question: I work with ASP.NET WebAPI and therefore with object-oriented. I have in my solution a domain project containing domain types with their behavio...
asked by 01.02.2015 / 19:02
0
answers

On my site is asking for a dll that does not exist in my project

I'm having this error. The question is not how to solve it, but understand why it gives ERR , if in my project this DLL does not exist. In localhost the site usually goes up without this Dll . I just want to understand that.     
asked by 01.09.2017 / 11:09
1
answer

Circular dependency in API Rest with Spring Boot

I am venturing into developing a Rest API using Spring Boot, JPA with Hibernate and Maven to manage repositories. In my modeling I have a class Club : @Entity @Table( name = "CLUB") public class Club { /** * Id da entida...
asked by 24.05.2017 / 19:21
1
answer

What is the simple way to create a WebService Rest from an existing Java Web Dynanic project? [closed]

Talk to people I'm a beginner in the java world and I created a Web Dynamic project where I use Hibernate, PrimeFaces and TomCat. Everything is working, screens, registers (CRUD) and stuff. Only now I want to turn it into a webservice so I ca...
asked by 10.06.2015 / 21:26
0
answers

RestSharp using ssl certificate

I need to use certificate to connect to a https server with restsharp . I'm using this code: var client = new RestClient(url); client.ClientCertificates = new X509CertificateCollection(); client.ClientCertificates.Add(GetCertificado());...
asked by 01.05.2015 / 07:21
1
answer

Webservice SOAP only uses XML?

Working some time with webservice for mobile application I noticed that SOAP uses XML and REST uses JSON . Using SOAP means I have to use only XML ?     
asked by 26.06.2015 / 04:53
3
answers

Remove from: xml generated by my web service

When you generate XML in a web service rest, it looks like this: <getCnpjParceiroResponse xmlns="http://tempuri.org/"> <getCnpjParceiroResult xmlns:a="http://schemas.datacontract.org/2004/07/V99SuporteTecnicoContracts"...
asked by 23.05.2014 / 22:38
2
answers

Good practices for Rest services [closed]

When I made my first API rest, I defined my JSON structure and it always returned the same structure even the pair having given it or not. I talked to a new co-worker and he introduced me to another perspective. If the pair has not given it, it...
asked by 16.02.2018 / 12:38