[BTS] Full contact with BizTalk Web Service configuration

Source: Internet
Author: User

PROJECT CONTENT

Project name "BTSMyName"
Schema_1
FirstName, lastName

 

Schema_2

UserName

 

Business logic: userName = firstName + lastName

 

One receiving port "Input_Port" receives schema_1

An output product "Output_Port" is directly output to c: \ myName. xml.

 

 

After the BTSMyName is generated, it is deployed to the BTS.

Set the project's BTSMyName. dll uses the WebService Publishing Wizard of BTS to publish Input_Port to WebService and http: // localhost/BTSMyNameWS/Input. aspx. Note: Do not select the anonymous access option in the Wizard.

 

1. Feasibility Configuration

When you are not familiar with the security management of BTS, you can use the existing default configuration to configure this WebService, which saves a lot of trouble.

1. Create a "pool" in the IIS application pool and name itBTSMyNameAppPool, Use the default settings when creating.

2. InBTSMyNameAppPoolSelect "configuration" in the identity attribute, set the user name to "administrator", and set the password to "youPassword".

3. In the default website, openBTSMyNameWSAttribute, modify the "application pool" attributeBTSMyNameAppPool.

4. OpenBTSMyNameWSProperties> Directory Security> authentication method. Make sure that anonymous access is not enabled and integrated Windows authentication is selected.
5. Open Computer Management-> local users and groups, and configure the user administrator to be affiliatedIIS_WPGGroup andBizTalk Isolated Host UsersGroup
6. The local SQL Server Authentication should adopt a hybrid method. In this way, the administrator user can access the BTS database.

 

This is the most basic configuration method. After the configuration is complete, your BizTalk Web Service can be used.

Note: Because the website is not accessed anonymously, when your program calls this Web service, add the following code to your program:

BTSMyNameWS ws = new BTSMyNameWS ();
...
Ws. Credentials = new System. Net. NetworkCredential ("administrator", "12345678 ");
...

After my registration, the above method can be used. The disadvantage is that the Administrator account is used, the permissions are too large, and the password is easy to be obtained by others.

 

2. Specify the execution User Configuration

In progress...

 

3. Configure Anonymous Access

To be continued...

Source: http://ms.mblogger.cn/xuzhong/posts/5176.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.