|
Home > Archive > BizTalk Server Orchestration > August 2005 > HTTP Post with parameter
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 |
HTTP Post with parameter
|
|
| Gregor 2005-06-30, 6:00 pm |
| I am trying to send an XML message to a website which will return XML data.
I am told that the website will suppor an HTTP Get or Post will work but a
Post is preferred since there is no data length contraint.
One requirement is that the XML message needs to be preceded by xmldata=. I
am not clear how or where to put this parameter name.
Thanks to all
| |
| Karahan Celikel [MSFT] 2005-07-05, 5:51 pm |
| Hi,
HTTP send adapter support only POST method. In your scenario, since you are
going to return XML data to BizTalk from your web site, you can modify the
XML data for your needs in your web app.
--------------------[vbcol=seagreen]
data.[vbcol=seagreen]
a[vbcol=seagreen]
I[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
Business Process Integration Team
| |
| Scott Colestock 2005-07-07, 5:52 pm |
| If it needs to be structured as an actual form post (where you have a
xmldata form variable, and a document as the "value"), then a little work is
required.
One option -
If you use the RawString class (see
http://www.traceofthought.net/Perma...4c49154fcb.aspx
for background info), you can then assemble your name/value pair string
"manually". (Use HttpUtility.UrlEncode to get the encoded version of the
values.) Assign a RawString instance to the complete string.
On your send port, set the content type to
application/x-www-form-urlencoded...
Be sure to use the pass through pipeline.
Scott Colestock
www.traceofthought.net
"Gregor" <Gregor@discussions.microsoft.com> wrote in message
news:6B06D835-C891-477A-AEA0-9C52F954EF57@microsoft.com...
>I am trying to send an XML message to a website which will return XML data.
>
> I am told that the website will suppor an HTTP Get or Post will work but a
> Post is preferred since there is no data length contraint.
>
> One requirement is that the XML message needs to be preceded by xmldata=.
> I
> am not clear how or where to put this parameter name.
>
> Thanks to all
| |
| OthmanD 2005-08-20, 5:53 pm |
| hi Scott,
I have the same requirement ,our partner is using WebMethod in there side
and the are expecting my XML request to be in xmldate variable .
currently i'm using stander BTS HTTP POST where i post the XML in the body
but
now i have to pass it as xmldate=<xmldocument>.
i try to change the content type to application/x-www-form-urlencoded. and
the send pipeline pass through pipeline.
please advice i'm really in 
"Scott Colestock" wrote:
> If it needs to be structured as an actual form post (where you have a
> xmldata form variable, and a document as the "value"), then a little work is
> required.
>
> One option -
>
> If you use the RawString class (see
> http://www.traceofthought.net/Perma...4c49154fcb.aspx
> for background info), you can then assemble your name/value pair string
> "manually". (Use HttpUtility.UrlEncode to get the encoded version of the
> values.) Assign a RawString instance to the complete string.
>
> On your send port, set the content type to
> application/x-www-form-urlencoded...
>
> Be sure to use the pass through pipeline.
>
> Scott Colestock
> www.traceofthought.net
>
>
> "Gregor" <Gregor@discussions.microsoft.com> wrote in message
> news:6B06D835-C891-477A-AEA0-9C52F954EF57@microsoft.com...
>
>
>
|
|
|
|
|