wcf Questions
10
Solved
I've got a Client/Server wcf application
My executable doesn't define any ServiceContract, it doesn't even have a reference to System.ServiceModel (but instead has a reference to an assembly which...
Mima asked 19/2, 2009 at 9:36
4
Solved
I am posting this because I was unable to find any place on Stack Overflow that addresses this issue for a .Net-Core project utilizing WCF by adding the service reference through Connected Services...
Latterday asked 29/10, 2018 at 13:19
8
Solved
The API I'm trying to call requires a POST with an empty body. I'm using the WCF Web API HttpClient, and I can't find the right code that will post with an empty body. I found references to some Ht...
Lauralee asked 26/10, 2011 at 19:13
11
Solved
In my silverlight application I am trying to create a database connection using LINQ.
First I add a new LINQ to SQL class, and drag my table called "tblPersoon" into it.
Then in my service file I ...
Shiau asked 21/11, 2011 at 17:18
9
How can i check if a method in a web service is working fine or not ? I cannot use ping. I still want to check any kind of method being invoked from the web service by the client. I know it is diff...
Torrens asked 18/4, 2012 at 9:51
6
Solved
In the interface required to implement a WCF service, I declare the main class with the [ServiceContract()] attribute and any exposed method with [OperationContract()].
How can i expose public pro...
4
Solved
I am using AutoMapper in a WCF service to return User objects. User has properties such as AccountTeams which itself has child objects. All of the classes have AutoMapper maps.
Depending on the WC...
Chiro asked 10/1, 2013 at 19:51
8
Solved
For starters let me just throw it out there that I know the code below is not thread safe (correction: might be). What I am struggling with is finding an implementation that is and one that I can a...
Garniture asked 22/11, 2013 at 16:30
7
I have a WCF web service running in IIS 7 using a self-signed certificate (it's a proof of concept to make sure this is the route I want to go). It's required to use SSL.
Is it possible to use the...
Wobble asked 8/5, 2010 at 1:8
9
Solved
I've got a simple WCF service that has worked fine while I've been testing on my dev machine.
Now I've moved the web service to a web server, and I'm running the service (in debug mode) at http://...
Shippee asked 15/3, 2011 at 10:27
11
Solved
I'm trying to POST a JsonObject using HttpClient from Web API. I'm not quite sure how to go about this and can't find much in the way of sample code.
Here's what I have so far:
var myObject = (d...
Azores asked 24/5, 2011 at 21:25
4
Solved
I've installed a SSL certificate in IIS.
Now when I navigate to my domain https://www.example.com/ the page loads correctlty.
But when I try to approach a web service (which normally works perfect...
Reasoned asked 25/10, 2014 at 1:1
3
Solved
I am creating a WCF service hosted within IIS7 on Windows Vista SP1. I am getting the following error:
The certificate 'CN=SignedByLocalHost' must have a private key that is capable of key exchang...
Stature asked 5/12, 2008 at 17:24
3
Solved
I have Dot Net Framework 3.5 Web Service: http://www.dneonline.com/calculator.asmx
I want to consume it on dot Net Core (3 or 6, any version).
When I run the program, it throws exception:
PlatformN...
22
I am trying to consume a remote svc web service. I created the proxy class using svcutil.exe, and after that I've added that class to my console application, but it yields an error:
An unsecured...
5
I have a WCF service which I make API requests to.
This API call returns a JSON response object and also is able to return it in GZIP compression as well when "gzip" value is used in "Accept-Encodi...
5
I upgraded my project from dotNetCore 2.2 to 3.0 two weeks ago. Now I want to add a Webservice to it. I am using Visual Studio 2019
But I got this error when I clicked on Microsoft WCF Web Service...
Aundreaaunson asked 15/5, 2020 at 9:45
24
Solved
I've got a WCF Service running on my local IIS server. I've added it as a service reference to a C# Website Project and it adds fine and generates the proxy classes automatically.
However, when I t...
Uneventful asked 9/3, 2011 at 9:47
17
Solved
The communication object, System.ServiceModel.Channels.ServiceChannel,
cannot be used for communication because it is in the Faulted state.
What is this error all about, and how would I go a...
2
Solved
I managed to consume a java based web service (third party) with WS-Security 1.1 protocol. The web service needs only to be signed over a x509 certificate, not encrypted.
But I'm getting this error...
Taiga asked 25/7, 2018 at 16:21
10
Solved
I would like to pass values into the constructor on the class that implements my service.
However ServiceHost only lets me pass in the name of the type to create, not what arguments to pass to it...
Yeta asked 16/3, 2010 at 13:53
4
Solved
I've created and configured an SSL certificate as per these instructions from MSDN. I'm getting the error message that this question lists, but am not sure how to map the accepted answer in that qu...
Tedmund asked 10/9, 2010 at 21:6
3
Solved
I have a WCF Restful service which I am hosting as Windows service. I want to add cross domain support to my service. However, i can do this easily when I use global.asax file. But I want to host m...
7
Solved
I have deployed my WCF webservice locally and its working fine, But in a method I got unexpected result so I decided to debug my webservice in Visual Studio. But I get the following errors. (Even I...
Vasectomy asked 17/1, 2015 at 6:54
5
Solved
I have a complex JSON object that I want represent as C# class. I have a head start on the parent class called "Form", but how can I represent a collection for different types (see the "elements" o...
Brainstorming asked 17/1, 2011 at 23:11
© 2022 - 2025 — McMap. All rights reserved.