Tagged Questions
Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications.
0
votes
0answers
4 views
storing/caching large objects for session for WCF
I have wcf webservice which is acting as B2B service. Basically I have suppliers and partners.
Here is how my WCF service works;
1) My service gets the products from several different suppliers by ...
0
votes
1answer
19 views
Illegal Hex Chars in XML after encryption & decryption
I've to encrypt WCF messages manually with two way encryption for some reasons and I can not use default built-in security mechanisms of WCF.
Without encryption, everything works fine, but after ...
0
votes
0answers
8 views
runtime error appended to rest service xml result while connecting first time
I have implemented different types on WCF REST(GET and POST) service.
Earlier all service working properly and I get result in proper format(XML format).
In all Get service I am returning result in ...
0
votes
1answer
19 views
Invoke WCF method in Generic Class property with Reflection
I have the following class:
Public Class WcfClient(Of T)
Private _Cliente As T
Public ReadOnly Property Client As T
Get
Return _Cliente
End ...
1
vote
0answers
15 views
Date Header missing in WCF service
I am setting up a WCF service using SOAP over Http that uses custom authentication. I have an IClientMessageInspector implementation that should set both the authorisation string in the http header of ...
0
votes
0answers
8 views
Can I consume WCF Web HTTP by SOPA Client
I have WCF service exposed via SOAP endpoint for clients. I would like to use the IIS caching: http://msdn.microsoft.com/pl-pl/library/ee230443(v=vs.110).aspx
This requires to expose WCF as a HTTP ...
0
votes
0answers
6 views
WCF Service on Windows Server 2012 failing with System.Xml.XmlException: Unexpected end of file
I'm having trouble running WCF Service on Windows Server 2012.
To reproduce the problem, I've created a simplest possible WCF Service, as Visual Studio sets it up from template. Everything works as ...
0
votes
0answers
11 views
Silverlight client consuming WCF service
Please bear with me as I am new to WCF services/ Windows services. I've created a WCF service hosted in a Windows service. I want to consume that WCF service in a Silverlight in-browser application ...
0
votes
1answer
21 views
How to do data mapping with WCF and EF
My Question is about returning EF entity using WCF service. As wcf required Data Members for returning data. Solution i have to do mapping of entity to WCF data members which is quit hectic.
Is there ...
0
votes
0answers
8 views
How to retrieve image using WCF service in Android
I'm getting null value in Bitmap decode stream when I try to read values from JSONobject. I do not know where I made mistake. Please try to find my mistake or give alternate solution for my problem. ...
0
votes
1answer
27 views
ASP.NET MVC Synchronous vs Asynchronous WCF calls
I working on an ASP.NET MVC which is loading its data completely via a WCF service. What my model does is just call the WCF service. The controller then passes the model to the view. I read in this ...
1
vote
2answers
37 views
HttpContext.Current is null in an asynchronous Callback - ASP.net C#
Trying to access the HttpContext.Current in a method call back so can I modify a Session variable, however I receive the exception that HttpContext.Current is null. The callback method is fired ...
0
votes
0answers
4 views
WCF Error in Prism 4.1 Silverlight project
I've create a Project which Host WCF Services it is with EF 6.1 , DevArt Oracle Connector, Unit. I'm able to run this project And Ny *.svc URL is also working. Now I Tried to Use this service in my ...
0
votes
0answers
33 views
How to use XDocument properly
I have a WCF service in which Iam reading and adding some records to a xml file.I load the xml document in constructor and use it in all the methods and save when its updated.
I want to know if this ...
1
vote
0answers
18 views
How Do I Reference a WCF Client from a WCF Service While Without Changing the Latter's Binding?
I have a C# WCF service and I need to reference another web service. The old service is written in Visual Basic and is not WCF.
The earlier is supposed to deprecate the latter, but there are some ...
1
vote
0answers
13 views
WCF - It is likely that certificate … may not have a private key that is capable of key exchange
I am trying to facilitate encrypted SOAP messaging in my WCF service. In order to do this, I have to install and configure a certificate for production. When I use the existing machine certificate, ...
0
votes
0answers
6 views
WCF - Print Form That's Referenced From Windows Form Application
I have a Windows Form App that contains a Print method which prints a form. I also have a WCF service that references that Print method.
When the Print method runs from the Windows Form App, the form ...
1
vote
2answers
46 views
How to bind WPF DataGrid to ObservableCollection
Can you give me a tip how to bind a WPF DataGrid to ObservableCollection. I had seen some posts and didn't find a direct answer. There and everywhere intricate problems are described but my problem ...
0
votes
1answer
24 views
System.Runtime.Serialization.SerializationException on a string value
I have a WCF REST service that is returning a business object that contains a string field called 'GeoDataKML'. This field is just a string value, but it has KML string inside it (encoded, so that it ...
0
votes
0answers
12 views
WCF RIA Service with Unity 3.5.1.0
I'm trying to Use this Blog for WCF RIA Applcation . So I Create a Silverlight Nevigation Applciation which gave me 2 projects abs & abs.Web
More I create 3 project in solution :
abs.Data (c#), ...
1
vote
1answer
23 views
C# WCF - net.tcp cannot find endpoint
I'm getting the following error message when trying to implement net.tcp WCF in C#:
"Could not find default endpoint element that references contract 'EventInterfaceService.IEventInterface'
in ...
0
votes
0answers
21 views
Host a WCF Service in a Managed Windows Service but endpoint not found
I have a dulpex WCF Service, which is hosted in a Windows Service. I installed the Windows Service from the command line via InstallUtil.exe, start the service from service management panel. Now it is ...
0
votes
0answers
18 views
WSSecurityTokenSerializer Error while reading SAML security token from the SAML response
While trying to read the SamlAttributes in my SAML file and I get the following error while reading the token.
SecurityToken securityToken = ...
0
votes
1answer
12 views
jQuery AJAX POST request resulting in Error 500: Internal Server Error
I have created an AJAX-enabled WCF service using the following code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
...
2
votes
0answers
16 views
Federated Security - Separate SSL and RP certificates (.NET 4.5 & WIF)
I am currently working on a solution using an STS, a client and a WCF service which is consumed by the client. Currently this is all done through configuration with the client successfully retrieving ...
0
votes
1answer
17 views
WCF binding with both certificate and username/password [on hold]
I've to make a C# dll to use webservices in some applications (as a com object). The server requires an authentification using both certificate and username/password.
I've tried many solutions but ...
0
votes
1answer
22 views
Calling Webservice inside webservice WCF
I'm working on a SAOP project wich contains :
C# client
C# server (WCF)
J2EE server (with webservice)
On my C# Server, i'v my service and i'm adding the J2EE WSDL to this project to calling a ...
1
vote
0answers
26 views
WCF vs plain HTTP for file tranfer [on hold]
I would like to ask what WCF can give me in comparison to using plain HTTP with file slicing by myself. Is streamed mode in WCF in fact something more than slicing?
Thanks.
0
votes
0answers
11 views
Problems with JAX-WS client and Microsoft.NET WCF web services with Custom Binding for Message Level Security
Need help to encrypt request SOAP message from a JAX-WS client to a Microsoft.NET WCF web services using Custom Binding.
We tried invoking the WCF web services with BasicHttpBinding and it works just ...
0
votes
0answers
26 views
Json format failed - REST API over WCF [on hold]
I have Server that exposed REST API over WCF.
My architecture has Services project that send objects that parsed to Json and Xml.
In the last week I did some internal refactoring and use new ...
1
vote
0answers
12 views
Configuring: TIBCO EMS Transport Channel for WCF
Has anybody used EMS WCF plugin (Net.Tems Listener Adapter)?
How can I configure number of listeners to the
queue or topic, threading/max jobs/flow control and keep alive.. settings in my WCF ...
0
votes
0answers
27 views
How to reach a method in a WCF(Self host in a windows service)
Basically I have a windows service.
protected override void OnStart(string[] args)
{
MyApplication.Start();
}
It hosts a WCF service, inside the WCF, we have the method.
public object ...
0
votes
1answer
28 views
Routing error - No subscribers were found. WCF-SQL Adapter
I'm attempting to call a Stored proc, get some data back, map that to the desired schema, output the result.
However, I'm getting the following error:
The Messaging engine failed to process a ...
0
votes
1answer
10 views
Could not find default endpoint element that references contract in the ServiceModel client configuration section
I am trying to develop a WCF service and host it in IIS. But when I try to consume service, I get this error.
Could not find default endpoint element that references contract ...
0
votes
1answer
12 views
How can I host a WCF service without an SVC file in IIS
I'd like to deploy a dual interface (SOAP/REST/XML/JSON) WCF service in IIS with just a config file and the binaries and no svc file in the URL
We use VS2012 and .Net 4.5
We have something like it ...
0
votes
1answer
12 views
Adding cookie to BasicHttpBinding
Hello i have a web service on server. I am connecting to this web service with client based on BasicHttpBinding. We add to this service cookie based authentication and now i want to add support for ...
0
votes
0answers
10 views
showing result of datagridview from callback function
I am working on a .net desktop application and it uses a WCF services. It has callback async functionality which I didn't use before. In main function I have:
clWCFCaller wcVerifyServer = new ...
0
votes
0answers
17 views
WCF uploading file by stream on IIS
I have WCF service with method:
[OperationContract, WebInvoke(UriTemplate = "UploadFile")]
void UploadFile(Stream fileContents);
And client app (can't acces it's code) that send fie by stream to ...
0
votes
0answers
5 views
CRM 2013 Organization Service and SOAP Endpoint - How it works
I am using C# CRM 2013 SDK for accessing "Organization.svc" service's Execute() Method and on intercepting the SOAP messages via Fiddler, I found that there are calls for WS-Trust before an actual ...
0
votes
1answer
16 views
transfert large file with wcf service
I want to run a WCF service file transfer
my problem is when sending a large file, I get this exception message ProtocolException
(413) Request Entity Too Large.
this is my configuration
I ...
0
votes
1answer
5 views
Unable to send image file as part Datacontract
I am developing a Wcf Restful Service which contains data contract "User" shown below
[DataContract]
public class User
{
public User()
{
}
[DataMember(Name = "Name")]
public ...
0
votes
0answers
19 views
Hosting both WCF server and client in a same Windows 8.1 machine does not work
I have two web based application. One of them is a WCF server application and the other is a client application and consume first application services.
When they are hosted in a Windows 8 machine's ...
-1
votes
0answers
7 views
WCF Callback Over Internet/Intranet
WCF Callback Over Internet/Intranet.
While using wsDualHttpBinding its work perfectly in local machine, but when used over network the subscriber produces error saying "Authentication Failed".
I am ...
0
votes
0answers
29 views
Windows-service hosted WCF service with Dependency Injection
I have a WCF service hosted in Windows service, the service contract looks like this:
namespace ServiceLayer.WcfServiceLibrary.Contracts
{
[ServiceContract]
public interface ...
1
vote
1answer
32 views
.net application slow down but after restart iis and sql server service it works fine for some hours [on hold]
we are facing application slow down and user unable to use it. for simple transaction it takes 5 to 10 minutes or not responding. but if we restart IIS & Sql Service then it work fine but only for ...
0
votes
0answers
15 views
The HTTP request was forbidden with client authentication scheme 'Ntlm' Sharepoint WCF 2010
I have spent almost 2 days on this issue and till now no solution have worked yet.
I'm trying to connect to a sharepoint WCF Service lists.asmx.
I'm currently using this config
<binding ...
0
votes
1answer
20 views
Entities in MVC and WCF
I am working in an MVC web application. This application also use WCF service and Entity-framework.
In solution explorer I have two projects 1. MVC 2. WCF Service.
I am little bit confuse how should I ...
1
vote
1answer
26 views
Silverlight client consuming WCF service throws System.ServiceModel.CommunicationException
Please bear with me as I am noob in WCF services/ Windows services. I've created a WCF service hosted in a Windows service. I want to consume WCF service in a Silverlight in-browser application. Below ...
0
votes
0answers
7 views
Remote file sync using WCF and Microsoft Sync File
I'm a newbie in MSF. I need to implement a project which can synchronize files on difference computers. I searched and found a sample project, here is the link: Sync file using WCF and WSF
But, this ...
0
votes
0answers
5 views
web reference - inactivityTimeout
I'm using a web reference written by a co-worker, and i'm getting an InnerChannel_Faulted error, it got something to do with the inactivityTimeout value.
i've tried to increase the value, but it ...