manukahn

Hi

I have VS2008 beta 2.

I am trying to run SamplesWCFWFOrcasFebCTP examples. (SequentialWorkflowService)

I had to do simple changes as things changed since the CTP. Finaly it compiles...

But when I run it I get the following exception: (by the client)

WorkflowTerminated: There is no context attached to incoming message for the

Service and the current operation is not marked with "CanCreateInstance = true".

In order to communicate with this service check whether the incoming binding
supports the context protocol and has a valid context initialized.

As I know if I use wsHttpContextBinding I do not have to init the context.

In the example the first receive activity is marked with "CanCreateInstance = true"

what is the problem

why doesn¡¯t the context pass to the client

Manu cohen-yashar



Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

Roman Kiss

here is the link to download the WCF_WF_CardSpace_Orcas_Beta2_Samples.exe:

http://www.microsoft.com/downloads/details.aspx FamilyId=2611A6FF-FD2D-4F5B-A672-C002F1C09CCD&displaylang=en

Thanks

Roman






Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

manukahn

Thanks

but the download is unavalable.

"The download you requested is unavailable. If you continue to see this message when trying to access this download, go to the "Search for a Download" area on the Download Center home page."

can you send me the zip in mail : manu@sela.co.il

manu





Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

manukahn

found it at :

http://www.microsoft.com/downloads/thankyou.aspx familyId=2611a6ff-fd2d-4f5b-a672-c002f1c09ccd&displayLang=en

I Looked at the code and I found out the most of the WorkflowServices Examples are missing: (for example)

DurableService , SequentialWorkflowService, Converations are all missing !!!

Do you know where I can find out to date examples I really want to know how to implement WCF workflowService using the context etc

manu





Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

Roman Kiss

manu,

have a look at the following folders:

..\WCF_Samples\Scenario\WorkflowServices\Conversations

..\WCF_Samples\Basic\WorkflowServices\SequentialWorkflowService

..\WCF_Samples\Basic\WorkflowServices\DurableService

Thanks

Roman






Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

manukahn

Great

The sample works and I am happy !

As I wrote the CTP example has a problem with the context (see the beginning of this post)

After few changes that were necessary to make the CTP example compile¡­ I find that this version and the CTP version are the same¡­ But still - this version works and the CTP version does not.

This means that I am missing something !

What was changed in term of context manipulation between the CTP and beta2

thanks

manu





Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

manukahn

Great - I found the sampels

The sample works and I am happy !

As I wrote the CTP example has a problem with the context (see the beginning of this post)

After few changes that were necessary to make the CTP example compile¡­ I find that this version and the CTP version are the same¡­ But still - this version works and the CTP version does not.

This means that I am missing something !

What was changed in term of context manipulation between the CTP and beta2

thank you

manu





Re: Windows Workflow Foundation SamplesWCFWFOrcasFebCTP does not work

manukahn

The soluition is simple:

make sure that in the send activity (the client) the Channel token "name" and the channel token "endpointName" hold the same value.

manu cohen-yashar