ws (4)

Expect 100 timeout on WS calls.

Noticed that a service call was timing out on a new project while the same call was fine on an older project. By comparing the requests in Fiddler I noticed that the failing one was adding Expect: 100-Continue to the header. Adding the following to the web.config fixed it:

WCF – Merge WSDL in a single file

It can happen that old clients dislike the way WCF separate WSDL descriptors. By default, a WCF service contains the full WSDL in an external “link” specified by the wsdl:import directive. If I browse the following service http://localhost:8695/GiftMessageService.svc?wsdl i’ll get a description of the service (like ports, address) but nothing about the soap actions and […]

Workflow/Webservice async operations

Tra le tante novita’ delle ultime versioni del framework una delle mie favorite e’ sicuramente Workflow Foundation. Il poter modellare il flusso della propria applicazione, spostarne le parti (se ben disegnato) senza rimettere mano al codice, raggruppare activities in blocchi come la SequenceActivity e gestirne tutte le eccezioni con un FaultHandler all’altezza dell’activity che le […]

Abilitare DelayActivity in Workflow/Web Service

Web.config: <add type=”System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService, System.Workflow.Runtime, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ UseActiveTimers=”True” />