Hi,
I have a client application that should be able to handle the following:
1) Request sql statments that are to to be executed against the client.
2) Request Service Packs or Hoxfixes that will be executed against to the client.
3) There may be more types of tasks the client could do in the future.
Executing each of these task types...
I'm trying to use the PushSubscription feature of Exchange 2010. So far I've got the code to setup push on Exchange 2010:
ExchangeService esService = new ExchangeService();
esService.Credentials = new WebCredentials("user", "pass", "domain");
esService.Url = new Uri("https://exchange-box-2010/ews/exchange.asmx");
PushSubscription ps =...
Hi, I have created a WCF service in my project and I have some classes on the server side that I use on the servers side and on the client side via reference.
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Runtime.Serialization;
using System.Linq;
using System.Text;
using System.Collections....
I have a callback service that is hosted over wsDualHttpBinding. I'm looking to add a client that will poll for the data rather than receive the callback (will be a mobile device using wince for demo purposes). I was curious what the best way to do this is? You cannot create a client proxy using NetCFSvcUtil with a service hosted with ws...
Folks,
I'm about 90% of where I want to be with my WCF RESTful service but I'm having a little trouble with figuring out a good way to do POST data. I want it to work the way it does in the MVC engine where the body of the HTTP message in the POST is run through the model binder and it tries to convert that data into the data type of t...
Hello,
I am new with WCF, I am trying to deploy my WCF sample application on IIS, this application works fine in debug mode with VS2008, this application authenticate the WCF messages with following code. I am doing it like this, I have added the resulted .dlls web.config and the Service.svc in the wwwroot directory, and I have also ad...
I have a win forms client that accesses a wcf service for a long running operation. The service exposes subscribe and unsubscribe methods. When a client calls the subscribe method, service generates new guid for it and gets the current callback context, saves this guid and callback context in a client Dictionary and returns the Guid. On ...
Hi All,
I did the walkthrough here. I'm trying to Authenticate a user on the first call into a service and then each subsequent call, verify that the user is authenticated, and call a method. I'm having all kinds of trouble. CurrentUser.Identity.IsAuthenticated always seems to be false. On Application_AuthenticateRequest I run this...
...
I'm creating a custom binding (mostly for diagnostic purposes initially) that programatically changes thw way WCF messages are encoded. Here's what it looks like:
public class ConfigurableNetTcpBinding : Binding
{
public enum MessageEncoding
{
Text,
Binary,
MTOM,
ByteStream,
JSON,
};
...
I have a service method with a couple of parameters that will be always provided and additional parameters that will change by names and number of parameters (I will know which parameters to expect by the ACTION field)
To solve a design problem like the above I created a web service with the parameters that will be always provided and o...
I am trying to write a code activity which uses service discovery to locate a discoverable service. I created a service contract and config file for the service using svcutil. Then I added the generatedproxy.cs (this is the name i gave to it) and app.config files to my code activity project. I am using the following code in the code acti...
Hi everyone.
I'm building a WCF Service that uses Custom Username/Password validation on netTcpBinding with message level security. I've been researching MaxReceivedMessageSize settings and I've got a query of a rather technical nature. I've noticed that when you specify a custom username validator that it gets called deep inside the pl...
Hi,
This could be a entirely hosting service related problem but I'll post it here in case it is a more common problem.
I'm running a OData service on my ASP.NET MVC 2 site which works fine on my laptop IIS but when I deploy it to my site at Winhost I get 404 Resource not found error when trying to access the .svc-file.
Earlier I had ...
Scenario
DeclarativeServiceLibrary[FlowChart]
with Two Recieve - Send Reply Activities
persistence enabled and working
WebApplication
"Service Reference" is above mentioned declarative service library
Question
Is there anyway to Suspend workflow after receiving reply from first activity ?
Whether it is possible via exposed WCF ...
I've created a WCF 4 Router Service and am hosting it in IIS7. It works fine on my development machine, but when I deploy to the QA server is returns the following message:
The configuration section 'routing' cannot be read because it is missing a section declaration
The section it's complaining about is the standard WCF4 routing sect...
My WCF has 3 endpoints
webHttpBinding - for RESTFull pattern
wsHttpBinding - consumed by a VSTO plugin app. using service reference
mexHttpBinding.
In the bindings section of my app.config (server).
To configure security for RESTFull Service , this is how I configure
...
I'm having problems finding a general solution to deal with Enum fields on WPF and WCF, I need a little bit of help. Let's explain with an example:
When creating a person with a Sex enum value [Male, Female] I see three posibilites:
Male is default -> There are two posibilities but one is default. No problems binding the ComboBox....
Hi
I've got a WCF service which has multiple clients that it connects to.
What I want to do is to create the clients dynamically the WCF services consumes.
Creating the clients by inheriting from the ServiceFactory<TChannel> class is done and very simple. What I'm struggling with is how to read Endpoint behaviours from the web.config ...
I could not think of a better way to title this question. my apologies :)
Anyways, so I have been given a url to a service that I am to consume. There is no information that I have on this service as yet, and so before I ask the clients any dumb questions, I want to know if it really matters if I am consuming this service by adding it t...
Hello, I need to interface with a soap header of autentication with a json body.
I Created the contract like this:
[ServiceContract(Namespace = "http://tourico.com/webservices/hotelv3")]
public interface IHotelMobileFlow
{
[OperationContract, WebInvoke(
BodyStyle = WebMessageBodyStyle.Wrapped,
RequestFormat = WebMessa...