Questions tagged as 'wcf'

1
answer

Web API - Token

An MVC application makes access to the WEB API services. To access the WEB API, a token is mandatory. In the WEB API application there is a button that generates the token. How to make the WEB API accept only the token generated throug...
asked by 21.03.2016 / 21:53
2
answers

WCF ERROR: Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata

Well, this error is happening, after I did the procedure to access IIS remotely. Error: Cannot obtain Metadata from http://localhost:xxxx/Service.svc. If this is a Windows (R) Communication Foundation service to which you have acce...
asked by 01.06.2018 / 15:39
1
answer

Left Join in LINQ

I have the representation of 2 classes. 1st class: using System; using System.Runtime.Serialization; namespace WebService { [DataContract] public class PessoaDados { private Nullable<int> id; private str...
asked by 30.05.2017 / 15:20
1
answer

Error with WCF starting as a Windows service

I'm trying to start a WCF as a Windows service, however it returns me the following error:    HTTP could not register the URL link . Your process does not have access rights to this namespace (see link for details). How can I solve thi...
asked by 25.06.2018 / 17:57
1
answer

WCF parameter out bool

I created a WebService WCF , and in the interface IService1.cs I put the signature of the methods [ServiceContract] public interface IService1 { [OperationContract] bool insertConsulta(BConsulta bCos); [OperationContract] boo...
asked by 21.05.2016 / 18:33
1
answer

IIS - Directory Access Denied

I'm using windows server 2008 and IIS 6.1, I have a service that needs to access files in a particular directory, but I do not have access. What do I need to configure to gain access? AfteraddingAdministratorastheuser,theapplicationsaystha...
asked by 26.11.2014 / 02:04
1
answer

Serialization - WebApi for WCF with base type property (abstract)

I have a problem here where I have a WebApi consuming a WCF. Basically I'm having trouble receiving a WCF property that is the base type of the class I'm actually sending. I'll give you an example to make it easier to explain:      [DataContr...
asked by 17.07.2014 / 19:01
0
answers

Is it normal to pass null variables from the client side to the service side?

My goal is to create three applications: WCF, ASP.NEW Web API and WPF. My question is: Is it normal, the data that we initialize on the client side ie (WPF) and that we move to the service (WCF) come to null? Example of my code - WPF...
asked by 18.01.2017 / 14:54
1
answer

Change the WCF address in Windows Universal App from the development environment to the production environment

I'm developing an application in Universal Windows App (for Windows 10, Windows 10 Mobile, etc.), which basically this application makes consumption of data that are in the service running in WCF. It turns out that I have a unique solution wh...
asked by 10.11.2015 / 09:46
0
answers

Problem with service reference (wcf) in Visual Studio 2015

I'm using VS2015 (framework 4.6) in a solution with two projects, one project is from wcf (running on IIS) and the other project is a web application. I added my service (wcf) to my web application normally, but when trying to instantiate it, I...
asked by 22.09.2015 / 19:18