wcf-binding

Windows Phone 7 - Available WCF bindings

余生颓废 提交于 2020-01-13 17:07:09
问题 I've been looking for documentation on the WCF Bindings supported by WP7 for a while and can't seem to find it. Can someone post a link to any documentation available they find. If it's from Microsoft (MSDN) even better. Thanks... 回答1: Search is your friend, even on MSDN ;) UPDATE: Bing is also a good search tool. First result for +wp7 +wcf +supported +bindings gives this article: What is not supported in WCF for Windows Phone? 回答2: I failed at finding a list on MSDN, so I just went through

Windows Phone 7 - Available WCF bindings

半腔热情 提交于 2020-01-13 17:06:38
问题 I've been looking for documentation on the WCF Bindings supported by WP7 for a while and can't seem to find it. Can someone post a link to any documentation available they find. If it's from Microsoft (MSDN) even better. Thanks... 回答1: Search is your friend, even on MSDN ;) UPDATE: Bing is also a good search tool. First result for +wp7 +wcf +supported +bindings gives this article: What is not supported in WCF for Windows Phone? 回答2: I failed at finding a list on MSDN, so I just went through

Issue related to WCF <readerQuotas> maxDepth

倾然丶 夕夏残阳落幕 提交于 2020-01-13 10:43:14
问题 I have a WCF service with HTTP Bindings. AppConif file maxDepth="32". This works on all machines except ONE. My question is why doesn't this work on this machine when maxDepth="32". When I set maxDepth="2147483647", it works on all machine. Appreciate your help! 回答1: The maxDepth attribute is documented here: http://msdn.microsoft.com/en-us/library/ms731325.aspx, and as you can see, it defines the maximum number of nested nodes in the XML structure. I guess a client of the machine in question

Issue related to WCF <readerQuotas> maxDepth

╄→尐↘猪︶ㄣ 提交于 2020-01-13 10:42:49
问题 I have a WCF service with HTTP Bindings. AppConif file maxDepth="32". This works on all machines except ONE. My question is why doesn't this work on this machine when maxDepth="32". When I set maxDepth="2147483647", it works on all machine. Appreciate your help! 回答1: The maxDepth attribute is documented here: http://msdn.microsoft.com/en-us/library/ms731325.aspx, and as you can see, it defines the maximum number of nested nodes in the XML structure. I guess a client of the machine in question

WCF IIS hosted service multiple Service Contracts implemented by a single service - how do I share uri between endpoints via config

99封情书 提交于 2020-01-12 07:26:49
问题 I have a set of Service Contracts which split up my service interface into chunks of related functionality. I am currently implementing all contracts using a single service class (may want to split these later but for now the single service class suffices). I am trying to use configure the endpoints using a config file (as opposed to via code). The problem is I get a ServiceActivationException because the two endpoints (one for each service contract) are trying to listen on the same uri. The

Wcf HTTP and HTTPS on the same host/port

喜欢而已 提交于 2020-01-11 11:17:38
问题 Hello, I know how to create a self hosted wcf for http or https, but not at the same time. I would like a wcf for this 2 urls : https:// 127.0.0.1:13070/ProxySips/ http:// 127.0.0.1:13070/ProxySips/ At the moment I have the configuration for https (with a certificate: makecert + netsh) and it works fine: app.config <system.serviceModel> <bindings> <basicHttpBinding> <binding name="basicHttp" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text">

WCF and JSON binding

柔情痞子 提交于 2020-01-11 03:24:05
问题 I am trying to create a wcf service that returns json. I have some problems with my config file and i also don't know how to test it. <?xml version="1.0"?> <configuration> <system.web> <compilation debug="false" targetFramework="4.0" /> </system.web> <system.serviceModel> <services> <service name="ContactLibraryJSON.ContactLibrary"> <endpoint address="" binding="webHttpBinding" bindingConfiguration="JSONEndpointBehavior" contract="ContactLibraryJSON.IContactServiceJSON" /> <endpoint address=

WCF Service Binding taking default values instead of custom values

a 夏天 提交于 2020-01-04 17:30:09
问题 I have build an APi which is a WCF Service. In the web.config for the service i have specified a custom bindong looking like this: <bindings> <wsHttpBinding> <binding name="FxBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" closeTimeout="00:20:00" openTimeout="00:20:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" messageEncoding="Mtom"> <readerQuotas maxDepth="64" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096"

How to get the base64 signature encoding for a WCF request

陌路散爱 提交于 2020-01-04 16:24:06
问题 I have a WCF client proxy and am using the following binding element to sign the request to a third party Java web service: Dim asec As TransportSecurityBindingElement = SecurityBindingElement.CreateCertificateOverTransportBindingElement() asec.EnableUnsecuredResponse = True asec.SetKeyDerivation(False) asec.AllowInsecureTransport = True asec.IncludeTimestamp = True However, I'm told there is a validation error on the service side: Signature validation failed: Invalid encoding type (only

WCF receiving a request with a SWA payload

天大地大妈咪最大 提交于 2020-01-03 19:02:30
问题 We have a requirement to build a WCF web service that uploads a document into Sharepoint. Our Enterprise service Bus is a IBM product called WPS (websphere process server) and the request is coming from is another IBM product call BTT ( Bank Transformation Toolkit). both of these products, in there installed version, do not support MTOM but they do support SwA. We are now investigating building a custom binding to support SwA. Has anyone tried this and able to share there experience? 回答1: If