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 wsDualHttpBinding (I understand that), but you cannot host a callback service over basicHttpBinding. I really need the same service hosted over both basicaHttpBinding (clients will poll for data) and wsDualHttpBinding (callback will notify clients of data). Any ideas on the best way to handle this without creating two separate services to host the same data?
WCF Callback Service hosted over basicHttpBinding and wsDualHttpBinding
1.7k Views Asked by Sean At
1
There are 1 best solutions below
Related Questions in WCF
- couldn't copy pdb file to another directory while consuming wcf web service
- Call wcf from android app
- WCF Service not accepting multiple body parameters
- Error in Calling some service in WCF Client
- WCF channel Factory caching
- How to convert a List<string> to an IEnumerable<ServiceReference.datatable> C# Silverlight WCF RIA Services LINQ to SQL
- WCF reusing types with inheritance - cannot generate client code
- System.ServiceModel.FaultException'1' Where might the error be?
- How to configure proxy address for multiple WCF-bindings at once?
- How pass XML from PHP to the Soap WCF service?
- Multiple service contract inter-commnication
- WCF Service not returning virtual property ServiceProvider
- How to get information about error from HttpContext in WCF services
- Using Service Bus to access On Premise WCF Service
- Test case for WCF REST Service
Related Questions in CALLBACK
- Change setInterval value dynamically
- Pass Data between two view controllers using 'Delegation' : Objective-C
- I'm trying to make the "merge function" work by writing a Callback.
- Can ajaxSetup.success callback prevent ajax.complete callback from being called?
- Passing a callback function in options object to other function
- Nested asynchronous calls using AngularJS
- callback google play on installed app
- Defining Callbacks for custom Javascript Functions
- Passing function name as callback doesn't work as expected in my class
- What is the purpose of javax.security.auth.callback.*?
- Querying DynamoDB with Lambda does nothing
- Android version of NSNotificationCenter (event binding)
- async js callback for each upload
- Does django server support url callbacks (webhooks)?
- How to update label from callback function in code behind?
Related Questions in BASICHTTPBINDING
- basicHttpBinding ReceiveTimeout of client
- PerCall InstanceContextMode behaviour of WCF service
- Moving from HTTP based basicHttpBinding to HTTPS
- BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService
- ksoap2 (Android) and GZIPped BasicHttpBinding
- Type.GetType("System.ServiceModel.BasicHttpBinding" returns null
- Securing WCF with basichttpbinding
- basicHttpBinding to wsHttpBinding over SSL
- How do you configure a WCF service with two endpoints to use a different ListenUri for each endpoint?
- Can WCF hosted in Windows Service accessible over internet?
- Web Service basicHTTPBinding
- Can data contract serialization be used with BasicHttpBinding?
- Using custom WCF username/password (UserNamePasswordValidator) authentication with Java
- Why is the first WCF client call slow?
- SharePoint: 401 Auth error while adding file to SharePoint library from Silverlight
Related Questions in WSDUALHTTPBINDING
- ComboBox not binding on WCF callback
- Large data transfer using wsDualHttpbinding fails
- wsDualHttpBinding not working outside network with WPF Client
- wsDualHttpBinding always timeout, while other services work as expected
- Multiple messages per poll in wsDualHttpBinding
- WCF The caller was not authenticated by the service in a WsDualHttpBinding
- Firewall not working in wcf services.
- WCF with wsDualHttpBinding blocking calls
- WCF service hangs when calling method, however method is working
- WCF Timeout - WSDualHttpBinding, How to set OperationTimeout
- [WCF Duplex]Could not find endpoint element that references contract in the ServiceModel client configuration section
- WCF wsDualHttpBinding says 'Failed to allocate a managed memory buffer ...'
- is it possible to apply https on WsDuallHttpBinding in WCF?
- WCF wsdualhttpbinding strange behaviour at client side that has no clear (Exception details)
- WCF Callback Service hosted over basicHttpBinding and wsDualHttpBinding
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What do you mean by two separate services hosting the same data? Do you expect to share same service instance to handle both wsDualHttpBinding and basicHttpBinding requests?
Your current problem is that service interface for duplex communication cannot be used for basicHttpBinding. You have to create second service contract and implement it in the same service. In that case you can expose two endpoints for the service: one duplex with WSDualHttpBinding and one with BasicHttpBinding. Endpoints must have different relative addresses. From the perspective of the client those endpoints are separate services - each of them requires separate client proxy. So unless your service is singleton you will have new service instance for each client proxy. New service instance means no data sharing.
Thera are some possibilities to modify this behavior but it means replacing Instance provider.