Questions tagged as 'wcf'

1
answer

host wcf on IIS without domain

Do I need a registered domain to be able to consume a WCF in IIS from a server? Can not I use only the IP of the server?     
asked by 21.08.2014 / 18:40
2
answers

Facilities for client, WCF or Web API? [closed]

I need to create a Web service to insert data on a database that needs validation to ensure data integrity. I have as a requirement, to facilitate the use of my "clients". So, should I opt for WCF (SOAP) or Web API (Rest)?     
asked by 11.06.2014 / 19:17
1
answer

When I run my WCF REST enter the WCF Client Test screen

When I run my WCF REST enter the WCF Client Test screen. Before it was working. Why is this happening, that is, why does the WCF Client Test screen enter?     
asked by 21.05.2014 / 19:50
1
answer

AJAX request for WCF with POST

How to make an AJAX request for a WCF service using POST? I'm getting several errors with OPTIONS and POST methods that come in the same request. Here is my code: Contract [OperationContract] //[WebInvoke(Method = "GET", BodyS...
asked by 03.12.2016 / 18:55
1
answer

What is the difference of a WCF Service for a Duplex Service?

Follow the questions ... 1- What is the difference between a WCF Service and a Duplex Service? 2- When to use a Duplex Service? 3- Can we compare it to SignalR?     
asked by 13.07.2015 / 21:21
1
answer

Return only filled fields in the web service

I made a REST with WCF. In a method it returns me an object. It turns out that I do not fill in all the fields of this object and it shows all in the response xml. How do I display only the fields that have value, ie the ones that I fill in?   ...
asked by 27.05.2014 / 20:27
1
answer

wcf c # directory access error

I am writing a WCF service using C #. In one of my methods I try to access a directory on the network (any command like directory.Exists() or directory.GetFiles() ) and I get the following error:    System.ServiceModel.FaultExc...
asked by 28.03.2018 / 22:30
2
answers

WCF does not connect to SQLServer when published in IIS

I'm using WCF + SQLServer, when I run it through Visual Studio it works perfectly, when I publish and update in IIS an error occurs:    "A network-related or instance-specific error occurred while   establishing a connection to SQL Server. Th...
asked by 26.09.2017 / 20:26
2
answers

Return XML string in WCF

I need to send the result of this XML by a WCF method. <?xml version="1.0" encoding="utf-8"?><Siape> <matricula>8707350</matricula> <matricula_inst /> <nome>SOLANGE ALMEIDA MORAES</nome> <data_nasci...
asked by 02.08.2016 / 05:29
1
answer

Consume WebService WSDL

Good afternoon, I am trying to consume a WebService using ASP.NET, however, after adding the reference of the same and executing the method, the parameters return null, generating exception. I tried running through WebRequest too, but returne...
asked by 11.02.2015 / 17:48