Use the Biztalk Http Adapter. Development Series (1)

Source: Internet
Author: User
Tags biztalk

Use the Biztalk Http Adapter. Development Series (1)

A while ago, after studying the blogs of various heroes in order to play with AS2, we found that http is usually used for interaction. then, you have to write your own how to use the http adapter in biztalk. I will tell you how the problem I encountered has been solved step by step.

1. Because I am using the server of 2008R2, I can only configure 2008. There was a man with 2003. You can visit this blog.

Http://www.cnblogs.com/cbcye/archive/2008/12/06/1349142.html

First, enter IIS to create a new virtual directory. The directory address is the path to BTSHTTPReceive. dll.

There is a path in the figure. This DLL is divided into 32-bit and 64-bit. I use a 64-bit system, but I still need a 32-bit dll. Why. Not very clear, but Mr. Earth said so.

In addition, in my personal experience, 64-Bit Memory is either 404 or 500.

2. Convert the virtual path to an application and add an application pool to it.

I suffered a loss and wasted a lot of time, that is, setting the account and password of the pool.

In the advanced settings, I directly used administration to save trouble. I have seen some posts saying that I want to use an account in the IIS group.

3. Add IIS extension. 2008 called program ing.

On the default webpage, double-click the handler ing. in the upper-right corner, click Add script ing.

Configure the dll in the second box.

For more information about adding script ing, see the help of msdn.

Http://msdn.microsoft.com/zh-cn/library/bb515343 (v = vs.100). aspx

4. After these settings are complete, it is almost the same. then configure the biztalk end.

When you configure a receiving segment, the pipeline directly uses the pass-through method. The main reason is to enter the virtual path + dll in the HTTP configuration.

5. configure a sending interface to fetch data and then throw a file

6. Test.

I used a third-party software fiddler introduced by great gods. It can use http POST information.

Enter some information in the body, and then enter the address in the address bar. This is the address of the default URL + virtual path + dll name.

You can then send the message.

If the software does not report any 500 errors, 411 errors, and so on, it will basically succeed.

7. one of the problems encountered in the process is that if the receiving port uses XMLReceive, biztalk will report an error in the receiving pipeline. the reason is that our POST information is not the authentication information. as for how the authentication information is, please help me explain it. I don't know much about it either.

First, information that is not authenticated is allowed. If it is true, it can also be received.

Finally, I would like to thank all the brothers in the group, especially those in Karamay, for chatting with QQ in the United States...

I will sort out the certificate I studied a few days ago. It was completed under the guidance of the great chnking.

Related Article

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.