This project is read-only.

How can we call web service other than WCF from SendAndReceiveReply Activity in WF4?

Mar 25, 2011 at 11:02 AM

We want to call normal web service other than WCF from SendAndReceiveReply Activity in WF4 . What will we specify in ServiceContractName in case of normal webservice? Can anyone explain the steps?

Apr 7, 2011 at 10:25 AM

ServiceContractName is the WSDL PortType:

To call web service from WF4, you can use one of the following methods:

1. Use "Add Service Reference" feature, which automatically generate the stub activity from WSDL. Please check the MSDN article for the steps:

2. Use the messaging activities directly. You will need to check the WSDL of the web service and fill in the Send activity properties accordingly.

For example, in WSDL, the portType name="ITest", and the targetNamespace is, then the ServiceContractName should be: {}ITest

For future reference, you may want to post WF related questions to the WF forum:

Best Regards,


This posting is provided "AS IS" and confers no rights or warranties.