wshttpbinding

Consuming a WCF service in a Java Client using wsHttpBinding

夙愿已清 提交于 2020-01-15 05:26:07
问题 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 'http://tempuri.org/ISampleService/GetServiceName' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service

PHP Soap client with WCF BadContextToken

半世苍凉 提交于 2020-01-13 05:53:51
问题 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 basicHttpBinding. Everything is behind VPN so I can't offer you link to webservice. Also data is considered secret (request from client) so I can't give you full info, only some "common" things. Here is WS config: <configuration> <system.serviceModel> <bindings

PHP Soap client with WCF BadContextToken

本小妞迷上赌 提交于 2020-01-13 05:53:07
问题 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 basicHttpBinding. Everything is behind VPN so I can't offer you link to webservice. Also data is considered secret (request from client) so I can't give you full info, only some "common" things. Here is WS config: <configuration> <system.serviceModel> <bindings

WCF upload large images as wsHttpBinding

大城市里の小女人 提交于 2020-01-06 05:16:30
问题 I've created a WCF Service to upload images. It works fine with images < 50KB or so but I get "The remote server returned an error: (400) Bad Request." with larger images. I've been looking for ages and tried lots of different things, including setting the maxRequestLength and several other settings. On the client-side of things the web.config is picking it up as a basicHttpBinding and I'm after a wsHttpBinding (for the more up-to-date feature-set). If I manually change the the binding type

WCF upload large images as wsHttpBinding

廉价感情. 提交于 2020-01-06 05:16:12
问题 I've created a WCF Service to upload images. It works fine with images < 50KB or so but I get "The remote server returned an error: (400) Bad Request." with larger images. I've been looking for ages and tried lots of different things, including setting the maxRequestLength and several other settings. On the client-side of things the web.config is picking it up as a basicHttpBinding and I'm after a wsHttpBinding (for the more up-to-date feature-set). If I manually change the the binding type

Testing WCF service wsHttpBinding with security mode=“TransportWithMessageCredential”

自作多情 提交于 2020-01-05 05:50:27
问题 I have tried using soapUI to test, however it does not support wsHttpBinding when security is enabled. soapUI does work when using wsHttpBinding and security is none. We also tried out the WCF Storm, which does work and we can load our our client config file, however we are looking at other alternatives to WCF Storm. Are there any other tools which are similar to soapUI, which SO recommends and that will work with the above configurations? 回答1: wsHttpBinding is just Microsoft's obscure naming

WCF issues with wsDualHttpBinding and netTcpBinding behind firewalls

强颜欢笑 提交于 2020-01-01 19:03:16
问题 I have a standalone WCF service running on a server behind a firewall. It currently uses wsDualHttpBinding as the service utilizes callbacks. The client works fine in a LAN environment. We have opened the firewall to allow traffic on a custom port and so the discovery of the service now works from outside LAN. Due to the nature of wsDualHttpBinding this obviously cannot work if the client is behind a firewall of its own. So naturally, netTcpBinding comes to mind which should solve the

WCF: Is using WsHttpBinding interoperable?

亡梦爱人 提交于 2019-12-31 00:44:16
问题 As the name states... right now I'm using BasicHttpBinding, but I'm wondering if I can switch to WSHttpBinding and still be interoperable with, for example, Java. 回答1: wsHttpBinding and the newer ws2007HttpBinding both implement WS-* standards. You may have to configure the details so that they interoperate with your specific clients. 回答2: WSHttpBinding offers a lot of interoperable features but in the same time it by default uses message security with Windows authentication, service

How to configure WCF Service with wsHttpBinding hosted on IIS and consumable over Web?

这一生的挚爱 提交于 2019-12-25 01:07:41
问题 I'm not experienced with WCF Service in general (this is my 1'st attempt to create, configure and consume WCF Service). I've created my WCF Service, tested it through WCF Test Client (on Development PC "in" Visual Studio) and everything was working. I've hosted it in IIS on our Server (not Development PC) adding it to ASP.Net v4.0 Application Pool, tested it with Windows Forms Application (from Development PC) in which I've added Service Reference to hosted WCF Service and everything was

Getting “The Security Support Provider Interface (SSPI) negotiation failed” when using a ServiceHostFactory

坚强是说给别人听的谎言 提交于 2019-12-24 14:43:19
问题 I recently started using a custom ServiceHostFactory because I want to use dependency injection with WCF. Both my client and service are being run from VS2010 on my local machine and the service is using the ASP.NET Development Server. Why am I having this problem now? I've had success with wsHttpSecurity in the past, having both the client and service on my local machine. I really think the only difference here is the use of a ServiceHostFactory. I've tried using the userPrincipalName