The .net CF 2.0 application does not understand the WCF proxy. So, it neds to be converted to ASMX proxy first and then to be added as reference to .net CF 2.0 application.
But this is in theory. Need to know the exact steps of how to do it.
...
hi implementing an wcf service that executes scripts (C# code) saved in a specific folder.
but i have a problem it crashes in all pcs except the pc that im developing in all are the same edition of win7 . How ican see why it's crashing ?
the WCf service is hosted in a windows service
...
I am using WCF service in my C# 3.5 asp.net application to get business logic when I refresh that at some point its throwing exception saying
The server failed to resume the transaction
Let me know what will be the cause for this
...
I need to provide an export to excel feature for a large amount of data returned from a WCF web service.
The code to load the datalist is as below:
List<resultSet> r = myObject.ReturnResultSet(myWebRequestUrl); //call to WCF service
myDataList.DataSource = r;
myDataList.DataBind();
I am using the Reponse object to do the job:
Resp...
EDIT: the issue was with the [MessageHeader] attributes in the ResponseMessage class; Metro/JAX-WS doesn't seem capable of handling these attributes. Changing them to [MessageBodyMember] solved the issue.
As the title says, I need to get some Java 1.5 code to call a WCF web service. I've downloaded and used Metro to generate Java prox...
I have a WCF application hosted on IIS 6 that needs to
Have 2-way SSL authentication
Validate client certificate content with some client host information
Validate client certificate is issued by the valid subCA.
I was able to do 1) successfully. I am trying to achieve 2) and 3) by following this - basically creating a class that in...
Is there a way to route traffic to a target WCF service file based on the URL domain requested?
Basically, I have a single WCF RESTful services project with 3 service files offering different endpoints. It's hosted on a single IIS6 site looking for multiple host header values on port 80. I want to route traffic to different services fi...
I am having issues specifying the dataContractSerializer maxItemsInObjectGraph in host's web.config.
<behaviors>
<serviceBehaviors>
<behavior name="beSetting">
<serviceMetadata httpGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="True" />
<dataContractSerializer maxItemsInObjectGraph="214748364...
Hello, I've created the test self-hosted wcf application and tried to add support https.
Code of server application is:
using System;
using System.Security.Cryptography.X509Certificates;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Security;
namespace SelfHost
{
class Program
{
...
I have a wsf service and a client application. While trying to communicate the client and the service I've gotten the following message:
"The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:blob. The InnerException message was 'There was ...
What is the correct way to create a WCF service in separate assembly but then expose its endpoint through a Web Project in the same solution?
...
I would like to look at and modify the information submitted via the PUT verb inside a changeInterceptor.
For instance I might want to scrub all values passed in before updating my dataSource.
Or maybe I could call a Data Service via java script and not pass in all the current properties on the object rather complete there values on th...
Hello,
I'm trying to deploy a WCF service that uses a netTcpBinding (and a mexTcpBinding for metadata) on a remote server (Win 2008 R2) without installing IIS.
Trouble is, everything I'm trying is telling me I need various IIS components installed on the remote box.
Is that really the case? It seems to me that, with a tcp.net connectio...
I try to create a wcf service that supports OAuth.
I started with this example http://www.theleagueofpaul.com/blog/2010/05/11/ooo-aka-openid-odata-and-oauth-together/ but some modification but now I have problems with operationContext.IncomingMessageHeaders.Action because is null.
if (scopes.Contains(operationContext.IncomingMessageHea...
Hi all,
I am recving the exception while i try to upload a file of size grater than 50MB using the WCF service.
Following is my Config File: I have used "BASIC HTTP BINDING"
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your applicatio...
I'm getting some values in AfterReceiveRequest and want to use that in BeforeSendReply in WCF.
Please help me, how I can do that. I'm working in C# project files. I can't use Seesion, ViewState here. I can use
static fields, but It will not a good solution. Please give me best solution for this.
Below are some lines of my code.
pub...
In my code I'm using static field for storing a particular value.
public static int webServiceId;
I have remove that and use any other solution. But the value should retain after postback. We can't use Session or ViewState here. Coz I'm working with services (in Service layer).
Example:
I get webservice id in the below method of xy...
I was reading through introductory articles about windows communication foundation on MSDN and it looked to me like an alternative to using a windows or web services - (a much better alternative i thought). Is this the case or did i miss some thing - And yes i didn't read deeply.
It looked to me like WCF is a better option to a window...
I'm fairly new to WCF DataServices (OData) and I need to know the best way to instantiate the entity container on the client without hard-coding the URI. It seems like all of the examples on MSDN describe instantiating the client like this:
Uri uri = new Uri("http://www.someservice.svc");
DataServiceContext svc = new DataServiceContext(...
Hello All
In a Project being upgraded I have to Consume a WCF service ( Service A) published by 3rd party ( no Control) in my WCF Service.
I have been using ServiceA in My Web App project ( vs2008) and it has been working fine.
I started by Adding Service Reference in my WCF Project ( ServiceB). Lets say Name of the Service is "XYZ"...