Tagged with ws

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: Advertisements

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 … Continue reading

Abilitare DelayActivity in Workflow/Web Service

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