Questions tagged as 'web-service'

1
answer

Python - HTTP Digest Authentication with urllib2

I needed to authenticate on a test server to consume a service in a webservice, I was able to make the authentication and generate the xml with the following code based on a code SOen operacao = 'consulta' Agencia = "X" Agente = "X" Origem =...
asked by 16.06.2014 / 19:39
1
answer

Upload Image using WebService C #

I would like some help to know how to upload an image using webservice c #, I've tried several forms and several examples but I could not. I have tried to convert an image to base64 string, I did not succeed. The form for communication betwee...
asked by 20.06.2014 / 20:27
1
answer

ASP MVC 4 and WebService

I have a WebService with all the methods I need to make the system work, and I also have a ASP NET MVC 4 page. I have already made the reference in the services references of the WebService. I am trying to use a webservice method which re...
asked by 10.04.2014 / 02:22
1
answer

How to consume EFD-Reinf's WebService in C #? (Shipping Events)

I am starting the EFD-Reinf information submission tests, in C #. From Visual Studio, I added a Service Reference to my project with the URL:    link I have the digital certificate installed on my machine. He requests permission...
asked by 13.11.2018 / 14:43
1
answer

Creating a communication app

Good evening guys, I'm planning to develop a whatsapp style communication app, more in the intention of learning anyway, nothing more. Good, the app will have contact list | conversations | pending requests. In this question I will only refer...
asked by 12.07.2014 / 06:57
1
answer

Alternative connection for WebService

Good afternoon! I have the following function: function API($conteudoAEnviar) { try{ $cabecalho = array( 'Content-Type: application/json', 'Authorization: Basic ' . base64_encode(TOTVS_JSON_USER_S...
asked by 03.09.2018 / 22:01
0
answers

XSD with Schema with restriction "pattern, enumeration, max and min" Java

I'm trying to generate a wsdl where it will generate xsd reflecting entity classes. The problem is that I can not generate the restriction in xsd as needed by each property of the appropriate classes. What I'm generating: <xs:co...
asked by 23.08.2018 / 16:08
1
answer

Get json through ajax / javascript

I have a webservice developed in Java that is responsible for returning all the compositions of a particular fabric / piece (textile area). you must first obtain the current drawing and then the remaining ones. So far there is...
asked by 06.06.2018 / 15:57
0
answers

JaxB Converting Abstract Class with Retrofit

I have a Core project where the User class exists @XmlSeeAlso(value = {UserClient.class, UserProfessional.class}) public abstract class User implements Serializable { UserProfessional class @Getter @XmlRootElement(name="professional") @Xm...
asked by 19.10.2018 / 06:33
0
answers

How to get data from json to php

I have the following webservice script, I connect normally with the external host (code: 200) But in echo ResponseBody nothing appears. How do I show the data? <?php $USER_NAME ="abc"; $PASSWORD = "abc"; $sessionResponse = null; $se...
asked by 18.05.2018 / 20:39