2. After you finish you will have a WCF service created in your IIS.

3. Now you can “Browse” your WCF service normally as any webService.
4. Consuming your WCF service in a client application:
a. Open VS Command Prompt and type:
“svcutil.exe http://server2003sql:81/WCF_Service/DemoBTS_OrderProcessing_Order_RecievePort.svc?wsdl”
b. This will generate two files at the directory you are on, a configuration file “Output.config”; which contains the endpoint for your WCF service and a code file “BizTalkServiceInstance.cs”; that contains the client class (objects for your receive port and objects for your schemas).
c. Add the two files to your client application and use the generated client class to call the Service.
5. Submitting data from InfoPath to WCF service:
It’s the same as submitting to WebService, you can find its steps here:
http://weblog.vb-tech.com/nick/archive/2007/01/17/2100.aspxPROBLEMS:
Symptoms:
An error occurred while browsing your WCF service from IIS and you can’t view the error.
Resolution:
1. Open the “web.config” file at “C:\Inetpub\wwwroot\WCF_Service”.
2. Uncomment the tag, now you’ll be able to view your error
The SOAP Adapter fails to register

Or
The following error may occur when BizTalk Server attempts to register the SOAP (or HTTP) adapter.
"The Messaging Engine failed to register an adapter "SOAP" (Or "HTTP"). Details: "Registering multiple adapter types within the same process is not a supported scenario. For e.g. HTTP and SOAP receive adapters cannot co-exist in the same process".
Cause:
When running BizTalk Server on Windows Server 2003 / IIS 6.x, the SOAP and HTTP adapters cannot execute in the same process space or application pool.
Resolution:
If an installation requires using both the SOAP and HTTP adapters on the same Web server then separate application pools must be created for each adapter. Once created, the virtual directories for each adapter are each assigned to a different application pool.


Cause
You forgot to assign the receive port of the orchestration to the generated receive port of the WCF service.
Resolution
In the “BizTalk Server Administration” Tool >> Orchestration properties >> Bindings
Post a Comment