How to set the WCF service published by BizTalk WCF Service Publishing Wizard in IIS

Once you are finish with steps to publish a schema as a WCF service using BizTalk WCF Service Publishing Wizard (https://msdn.microsoft.com/en-us/library/bb246047.aspx), you would see the virtual directory in the IIS.

IIS

Now before I host the service I need to create a new application pool that can run as a BizTalk account

.BizTalkAppPool

Once I get that created I need to change the identity because it need to run as BizTalk user which is a member of BizTalk Isolated Host Users. I will choose custom account under Application Pool Identity and provide the BizTalk user credential.

ApplicationPoolIdentity

Now change the default application pool of the virtual directory to BizTalkWebService pool for the service.

ChangeAppPool

Now we are done with the setting in IIS. But if we go ahead and browse the service will get the following error.

Error

The receive location for this service needs to be online for this service to function properly because each receive location acts as a generic ServiceHost for WCF. If the auto-generated receive location is enabled (and ServiceHost thus opened), then the browser would show a page similar to this:

Service

Now WCF service is ready to be consumed.

Related link:

https://seroter.wordpress.com/biztalk-and-wcf-part-v-publishing-operations-patterns/

Loved this? Spread the word


BizTalk Server Monitoring

Gautam

Follow me here

About the Author

My name is Gyanendra Kumar Gautam. I am Solution Consultant, who basically works to hook the stuff together using Microsoft technologies like Azure PaaS, Azure Serverless Services, Microsoft BizTalk Server, and Azure DevOps Services.

You may also like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
turbo360

Never miss a good story!

 Subscribe to my blog to keep up with the latest news!