BizTalk Server General - How to request and process HTML

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > May 2004 > How to request and process HTML





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to request and process HTML
Brian Taylor

2004-05-18, 10:04 am

Does anyone have any ideas/examples of what would be the best way to request
information from a URL, receive the returned information and process the
HTML into an XML message?
Is it possible to do this with the HTTP adapter and if so what would be the
basic process?

bt


Allen Zhang

2004-05-24, 11:35 pm

First, the HTTP adapter shipped with the product will support POST at this
time. So unless the target URL support POST and return information, you
scenario will not work. For GET requests, you can take the sample HTTP
adapter and modify it to support GET.

Assuming from a ASP page you are getting back HTML, you can configure a
two-way HTTP send port. The response (HTML) will be in the response message
from that port. Then you will need to create a custom disassembler
component to parse the HTML into XML. Another option is to pass it back
into an Orchestration schedule, you either write the code snippets inline
or call out to a .NET assembly to do the parsing for you.

Thanks

- Allen Zhang (MSFT)

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------[vbcol=seagreen]
request[vbcol=seagreen]
the[vbcol=seagreen]

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com