wshttpbinding

how to enable WCF Session with wsHttpBidning with Transport only Security

Dear Devs I have a WCF Service currently deployed with basicHttpBindings and SSL enabled. But now i need to enable wcf sessions(not asp sessions) so i moved service to wsHttpBidnings but sessions are not enabled I have set [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)] But when i set SessionMode=SessionMo...

BasicHttpBinding vs wsHttpBinding vs WebHttpBinding

Dear Devs I need a comparisons chart of above 3 mentioned bindings in terms of features and performance. i have seen some between ws and basic but i need web as well. Please if anyone has link to any article please share i have tried google but no gain yet. ...

help setting up wsHttpBinding WCF service on .net

I'm trying to host a WCF service with wsHttpBinding. I created a certificate using makecert and put some lines in web.config. This is the error that I'm getting: System.ArgumentException: The certificate 'CN=WCfServer' must have a private key that is capable of key exchange. The process must have access rights for the private key. O...

WsHttpBinding with security mode TransportWithMessageCredential in IIS 7 not working

Hi everybody We are currently migrating a WCF service from IIS 6 to IIS 7. The service contains some non-SSL endpoints for internal streaming purposes and some exposed endpoints secured with SSL. The public, secure endpoints are implemented using wsHttpBinding and security mode="TransportWithMessageCredential". The binding reads as fol...

How to best transfer large payloads of data using wsHttp with WCF with message security

I have a case where I need to transfer large amounts of serialized object graphs (via NetDataContractSerializer) using WCF using wsHttp. I'm using message security and would like to continue to do so. Using this setup I would like to transfer serialized object graph which can sometimes approach around 300MB or so but when I try to do so ...

How to configure WCF service in IIS7: HTTPS, Sessions, wsHttpBinding (SOAP)

The situation: We have Windows 2008 web serverse with IIS7, (.NET4) We can comminicate with the webserver only through the default HTTPS (443) port There is an ASP.NET website hosted on the servers, the service is part of the website code. Some clients (desktop applications with WCF support) want to communicate with our new WCF ...

WCF Service : WSHttpBinding

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 { ...

How to read value of an attribute defined in app.config?

Hi every one, I have a app.config file that in the form of : <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <client> <endpoint address="http://something.com" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFileTransfer" contract="ABC" name="XXX" /> ...

Accessing wcf web service with powershell2

I'm trying to write a cmdlet that accesses one of my wcf webservices. I've been looking at the new cmdlet : New-WebServiceProxy, but it only really seems capable of consuming ASMX webservices. I've seen this article; which is focussed around Powershell v1.0 I'd rather use a better method (if one exists). http://keithhill.spaces.live.co...

Can we communicate from iPhone to WSDL which uses WSHttpBinding programmetically?

I know how to use NSURLConnection to communicate with WSDL with BasicHTTPBinding but when I try same code with WSHTTPBinding I get message "BadContexttoken" from the server. So I wanted to know whether we can prepare a framework on iPhone which can support WSHttpBinding also? ...

Consume WS-* Web Service with Flash?

Can Flash consume web services that embed WS-* such as WS-Security? The services are actually WCF services with .NET using WsHttpBinding... I need the security features of WS. ...

WCF & Java Interop - Please help

I’m trying to get a simple WCF application work with Java Client. Service exposes few simple operations using WSHttpBinding, which it does perfectly. Now, due to some reason (probably due to incomplete WS-* specifications at Java side) it seems impossible to generate a Java Client for this WCF service hosted on remote system. However...

WCF service with wsHttpBinding and x509 Certificate - can I consume/connect using VB/C# WITH PHP?

We connect to a web service hosted by another company. We send a customer's basic info to the service, and it replies with rates/prices for that customer. I am a PHP guy -- started out playing with basic HTML, then delved into PHP about 8 years ago, and my entire web app is PHP with javascrtipt/ajax mixed in as needed. I'm a learn-as-...

Do you need to open client firewall for WS-AT to work with WCF?

I am getting the following error trying to communicate from WCF -> WCF across the internet with a SSL certificate. I have 'No authentication required' checked in the WS-AT configuration on the server. After a few seconds I'm getting the following message on my client, and trying to figure out what is wrong in my configuration (or under...

axis 2 web service : null parameters issue with http binding

Hi, I am trying to develop a web service with axis2. The problem is that I don't get the parameters passed in the url for an http Binding. Here is my service.xml : <parameter name="ServiceClass">my.package.MyClass </parameter> <operation name="getUser"> <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageR...

How can netTcpBinding be slower than wsHttpBinding?

Hi, I have implemented a scenario which uses netTcpBinding and WsHttpBinding with Transport Security(https) as communication binding type in WCF. Then I compared the performance results. Interestingly, netTcpBinding was slower than wsHttpBinding. I have read a a lot of documents about binding performance and I know that the netTcpBindin...

WCF service binding wsHttp vs. basic with no authentication

I am attempting to create a WCF service with anonymous authentication. When I deploy the service to the destination server that is not on my current domain I receive the following error when attempting to call it: Content Type application/soap+xml; charset=utf-8 was not supported by the service http://myserver.com/page.svc. The...

How to setup WCF with wsHttpBinding, Transport Security with x509 certificate behind a load balancer (F5)

I'm having a difficult time setting up this WCF Service with wsHttpBinding, Transport Security, x509 and, the key part, the Load Balancer (F5). This all works without a problem in our Dev environment but as soon as I put it behind the F5 it fails giving me this message: System.ServiceModel.Security.SecurityNegotiationException: Could n...

Did anybody use WS-AtomicTransaction protocol to propagate transactions in WCF over the Internet?

Hi, Just curious, did anybody use WS-AT protocol to propagate transactions in WCF over the Internet in production(wsHttpBinding)? Is it hard to deploy/support? Is it a good approach to keep a WS-AT port open? Or maybe it is better to have a custom solution to support transactions? What do u think? ...

WCF wsHttp binding, for clientCredentialType should I use Basic or Windows?

Hello, I have several WCF wsHttp services using Transport security over an SSL connection. Presently I use "Windows" for the clientCredentialType and all has worked fine with exception of one scenario where my e-commerce site (its own SSL) had a problem communicating with the other server via SSL and I had to create a separate service ...