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/

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s