Questions tagged [wshttpbinding]

The WsHttpBinding is a WCF (Windows Communication Framework) binding class that uses HTTP or HTTPS as a transport protocol and is complaint with a variety of WS* standards (reliability,security,etc). Services that use this binding are designed to inter-operate with WS* complaint clients.

263 questions
3
votes
1 answer

Consuming a WCF service in a Java Client using wsHttpBinding

I'm trying to get a Java Client to communicate with a WCF wshttpbinding WebService. But I've been unsucesful so far. The call either hangs, or I get: “SOAPFaultException: The message could not be processed. This is most likely because the action…
Jeff
  • 31
  • 1
  • 2
3
votes
1 answer

Unable to use basic authentication to access WCF web service

I am trying to configure a WCF service to allow for both Windows/NTLM and Basic Authentication. Unfortunately, given this configuration only Windows/NTLM works and basic authentication fails with an http status code of 401 Unauthorized. Our IIS 7.5…
ahsteele
  • 26,243
  • 28
  • 134
  • 248
3
votes
3 answers

PHP | SOAP 1.2 | How to set WS Addressing

Here is the WSDL ... I am using the SOAP Client in PHP with documentation HERE ... Soap Call $wsdl = 'https://api.krollcorp.com/EBusinessTest/Kroll.Dealer.EBusiness.svc/Docs?singleWsdl'; try { $client = new SoapClient($wsdl,…
ma77c
  • 1,052
  • 14
  • 31
3
votes
2 answers

How can netTcpBinding be slower than wsHttpBinding?

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…
mkus
  • 3,357
  • 6
  • 37
  • 45
3
votes
0 answers

Test wcf service with SOAPUI

I need to test a wcf wsHttpBinding service using SOAPUI. The service config:
Cabuxa.Mapache
  • 762
  • 1
  • 7
  • 19
3
votes
1 answer

Using WCF in .net 2

I've got a method of connecting and use a WCF method, which is on HTTPS and requires a username and password in .net 4. Now I need to do the same but within .Net 2 and I can't seem to get it to work. I keep on getting the below error. Can anyone…
Chris Cooper
  • 389
  • 3
  • 16
3
votes
3 answers

WCF Service over SSL Could not establish secure channel for SSL/TLS with authority 'test-service.hostname.com'

I am having an issue. We are trying to attach a client certifacte to a WCF service over SSL required. When I try to navigate to the service through a browser it will show me the 'You have created a service page' but only if I attach the certificate,…
Jamie Babineau
  • 746
  • 2
  • 12
  • 25
3
votes
1 answer

PHP Soap client with WCF BadContextToken

After few days of google -ing/trying/loosing hair I still can't find solution for this so please help :) Short info: I need to work with WCF service from PHP (SOAP client). It uses wsHttpBinding (ws-security) and there is no way to set…
Bernard
  • 441
  • 4
  • 17
3
votes
2 answers

Cross domain error in WCF wsHttpBindingwith silverlight

I have a WCF service and I am using wsHttpBinding in web.config. I have also created a test certificate from IIS7 and used it for https binding with website Web config of Service as below
Chirag
  • 375
  • 4
  • 30
3
votes
0 answers

Action cannot be processed due to ContractFilter mismatch at the EndpointDispatcher

I am trying to get a simple webservice running that sends emails out upon being triggered but I am getting the following error when trying to set it up: The message with Action 'localhost/IFabricService/StartMailRun' cannot be processed at the…
Jay
  • 3,012
  • 14
  • 48
  • 99
3
votes
1 answer

WSHttp binding and ReliableSession / MaxRetryCount

When using a WSHttpBinding in WCF with reliableSessions enabled, my service reference updates itself to: I cannot add the maxRetryCount attribute to the…
Jan Jongboom
  • 26,598
  • 9
  • 83
  • 120
3
votes
0 answers

The security protocol cannot secure the outgoing message

I am trying to return a custom fault exception using unity but I get the following error during Rst\Issue action: [Service Trace Viewer exceptions][1] Image: [1]: https://i.stack.imgur.com/oAxGT.png No signature message parts were specified for…
Legends
  • 21,202
  • 16
  • 97
  • 123
3
votes
1 answer

WCF: The request for security token could not be satisfied because authentication failed

I have two WCF services on the same machine. One is the publisher and one is the listener. The Publisher is dynamically creating proxies based upon and endpoint. I am configuring the proxy in code like this: WSHttpBinding binding = new…
Daryl
  • 138
  • 1
  • 1
  • 10
3
votes
0 answers

wsHttpBinding (with https and aspNetCompatibilityEnabled for routing) metadata error 302

I am working on a WCF service which runs along with ASP.NET MVC 2 application with https port which have been configured using webMatrix-ssl certificate. The service is running perfectly in the browser and could download wsdl as well. But when am…
Murugan Durai
  • 143
  • 3
  • 12
3
votes
1 answer

Minimal client which supports message-level security over the channel interface

I'm trying to build a minimal client for a WCF service, using the WSHttpBinding with SecurityMode: Message over a direct channel interface. My current code is very simple: EndpointIdentity i =…
Etan
  • 17,014
  • 17
  • 89
  • 148