wcf

Using a WCF Service with Complex Data Types

Hi guys, I'm trying to pass a DTO with one navidation property IEnumerable<> inside of it, when I pass an object without child lists it works well, but, when I'm passing objects with childs and grandchilds the WCF services does not respond and gives me no error. I have to make something to work with this type of object specificly? Here'...

Culture-related issue with WCF and System.Double

My problem resembles this question but is not exactly the same: http://stackoverflow.com/questions/1460063/change-culture-when-deserializing-wcf-service I have built a WCF (web) service running on Windows 7 (IIS 7.5) using VS 2008. One of the properties in my webservice is typed as a System.Double. When building my own client for testin...

WCF - One OperationContract sees Web.config, another doesn't

I have a WCF service with two methods, Ping and PutAddress. Ping works fine, but PutAddress was failing to initialize NHibernate correctly. Narrowing down the issue, I realized that the relevant settings from Web.config were not being read by PutAddress. Strangely, Ping does have access to the settings from Web.config. I removed al...

WCF TLS cipher suite

Hi, I have a requirement to specify the cipher suite to be used for transport level security on a wsHttpBinding in WCF. I have problems finding what kind of cipher is used by default on TLS by WCF in the first place, let alone set it. This question is due to operation in an environment where most systems are build on Java, which appar...

Mixed authentication modes: send both Kerberos token and username token over HTTPs with WCF

Is it possible to send both username token and the kerberos token over HTTPs with WCF? We are able to use custom binding with authentication mode set to 'UserNameOverTransport', which will include a username token in the SOAP header as per OASIS web services security standard. Alternatively can set the authentication mode to 'KerberosO...

Duplex or request-reply with Apache ActiveMQ WCF Binding configuration question

I am trying to use the Apache.NMS.WCF bindings for a WCF application and get the following error - Contract requires TwoWay (either request-reply or duplex), but Binding 'NmsBinding' doesn't support it or isn't configured properly to support it. My system.service model looks like this - <bindings> <nmsBinding> ...

Pooling of custom WCF channel

We have developed a custom WCF channel which communicates via IBM Websphere MQ. We have created a channel factory: public class MqChannelFactory : ChannelFactoryBase<IRequestChannel> Which returns instances of our channel: public class MqRequestChannel : ChannelBase, IRequestChannel Connecting to the IBM MQ queue manager is an ex...

Differences in WCF 2.0 framework vs WCF 3.5 framework

Hi, I am wondering if there are any updates / differences to WCF from 2.0 framework to the 3.5 framework? Thanks ...

BizTalk WCF-SQL Adapter Selecting from a view

i have the most annoying issue; i have an orchestration doing a lookup against a view. it works in locally and on our development server, but not in QA or UAT. same code. same views. just different environments. to test this and be sure it's not a coding issue i take my local BizTalk, configure the port to Server A, fire a message and ...

Best practice for sharing data between a WCF service and a web site

I have a .net web page which displays a list of objects. I also have a WCF service which allows clients to submit new objects. This is all glued together via SQL Server. My question is: I would like to have the page update asynchronously when a new object is inserted via the service. Can you suggest a best practice for doing this? I wou...

WCF - retry doesn't work?

I have the following config for my binding: <binding name="wshttp" openTimeout="00:01:00" sendTimeout="00:02:00" receiveTimeout="00:03:00" closeTimeout="00:04:00"> ..snap <reliableSession inactivityTimeout="00:05:00" maxRetryCount="8" ordered="true"/> ..snap </binding> My expectation here is, that when the client proxy ...

WCF response too long - authentication error

In the project that I currently work for, there is exposed a WCF service which returns an array of a business entity, let's call it Invoice : Invoice[] GetInvoicesByTypeAndTime(InvoiceType invoiceType, byte startHour, byte? endHour); The authentication mechanism used is Windows Authentication, the WCF service is hosted in a Web Appli...

Error reporting in WCF

Hello, I'm running a WCF service hosted by a windows service (calling from a asp.net site). When I get a timeout (because the sendTimeout attribute has been exceeded) while calling through a "BasicHttp" endpoint, I get expected error message: "The request channel timed out while waiting for a reply after 00:01:00. ...." but when cal...

How to find bad endpoints earlier?

When I try to connect to an unavailable machine, I get an EndpointNotFoundException but it takes too long (about 20 seconds). Setting closeTimeout, openTimeout, receiveTimeout or sendTimeout has no effect. Can I get that exception earlier? ...

Port being used by another application in WPF

Hi, I am facing the problem with WCF self hosting application while trying to run with the following configuration: <system.serviceModel> <services> <service name="statisticsCollectingService"> <endpoint address="net.tcp://localhost:8200/RadioStatistics/" binding="netTcpBinding" contr...

Add basicHttpBinding to BizTalk ESB Toolkit WCF Service /ESB.ItineraryServices.WCF/ProcessItinerary.svc

Hello Just getting started with the ESB Toolkit 2.0 on BizTalk Server 2009. I can get a .NET client to talk to the ESB Toolkit WCF Service /ESB.ItineraryServices.WCF/ProcessItinerary.svc with no problem at all, however, we use a client technology that cannot process wsHttpBindings at all, it can only see the basicHttpBinding. Does anyo...

WCF Service ajax method call returns 404

Hi all, I have deployed a WCF service to SharePoint and on my own machine everything works fine. Navigating to the .svc works and, as expected, navigating to service.svc/Operation generates a "method not allowed message". Posting to the service using jQuery also works perfectly on my own machine. However, when my colleague gets the lat...

Send UTF-8 character to WCF service

Hi, How can i configure WCF service / client to send UTF-8 characters to the service? I want send norwegian, finnish, romanian text like this "ţşîăâăâşţŞŢĂÎÂ" My binding is like this: <basicHttpBinding> <binding name="myBindingConfiguration" receiveTimeout="00:21:00" maxBufferPoolSize="2147483647" maxReceivedMessag...

WCF Service Binding taking default values instead of custom values

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" rece...

Communication between Rails and WCF

Hello everybody, I am currently working on a WCF application that consumes a Rails REST Service. The problem is when I do a update or remove request, Rails does not return XML, only the following header: HTTP/1.1 200 OK Date: Wed, 13 Jan 2010 13:56:25 GMT Server: Apache/2.2.14 (Debian) X-Powered-By: Phusion Passenger (mod_rails/mod_rac...