Questions tagged as 'wcf'

3
answers

An unhandled exception of type 'System.InvalidOperationException' occurred in System.ServiceModel.dll

I'm trying to consume a service but gives the error:   An unhandled exception of type 'System.InvalidOperationException'   occurred in System.ServiceModel.dll And the message:    "Could not find the default endpoint element   which ref...
asked by 12.03.2015 / 02:08
2
answers

Rodo in the browser my WebService and gives me a strange message

When giving a View In Browser in my WebService, brought me this message. It does not look like a message that the WebService is all ok. What message is this? Service This is a Windows© Communication Foundation service. Metadata publishing fo...
asked by 15.05.2014 / 14:34
1
answer

URL pattern in RESTful service

I'm developing a service that will provide some functions for external access, using REST architecture. It is the beginning of a RestAPI for the company. But let's get into the problem. I need to update some punctual data for a particular produc...
asked by 19.04.2016 / 15:05
1
answer

Error consuming json using ajax

I have the following return in json: { "ConsultarRegistroPorCodigoResult": { "Codigo": 2, "CodigoSetor": 1, "Login": "ednilson1", "Nome": "Ednilson", "RegistroAtivo": true, "Senha": "123456",...
asked by 10.05.2017 / 12:45
1
answer

XML exchange between service and client [closed]

I'm studying WCF and all the starting material I find all comes down to very basic things, exposing methods that get some parameters and return some value. I need to create a web service that will be the interface between the database and ext...
asked by 15.01.2017 / 20:44
1
answer

WCF and Daylight Saving Time [closed]

I'm having a date conversion problem in WCF. I get a Json a DateTime in Unix format "\/Date(1477320927000)\/" - 24-10-2016 12:55:27. Wcf receives this date as 24-10-2016 14:55:27. It gives a difference of 2 hours. I tried to u...
asked by 26.10.2016 / 14:33
2
answers

Array of Bytes x Stream

I'm developing a WCF service that will convert files. I will upload and then download the files. The files are not large. What is preferred in the case of sending and receiving, returning an array of bytes or a stream? Any other more speciali...
asked by 12.08.2015 / 22:41
1
answer

HttpUtility.HtmlDecode (), Html to Txt intent (at least), can anyone help?

I'm getting a record whose content is below (in HTML): &nbsp; &nbsp; <p style="text-align: justify;"><span style="font-family: times new roman,times;"><span style="font-size: medium;"><strong>EDECPJE N&o...
asked by 05.06.2015 / 17:12
1
answer

WCF Service Reference generates empty file

I'm having trouble referencing WCF services in Visual Studio. It does not generate any reference to the service classes to reference, the Reference.vb file is almost empty: '--------------------------------------------------------------...
asked by 26.01.2015 / 19:41
1
answer

Access Denied When Using MS SyncFramework

I'm trying to implement a system where I need to have a local database (SQL Compact) and a cloud (MSSQL) database that can be synchronized. The form I found and followed is the one specified in this link . But I have some problems when I hos...
asked by 30.05.2014 / 20:43