|
Home > Archive > BizTalk Server General > May 2006 > Sending XML via HTTP Adapter
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 |
Sending XML via HTTP Adapter
|
|
| Todd Bagley 2006-05-29, 5:21 pm |
| I am sending an XML file via a 2-way port using the HTTP adapter. The url
is http://www.mydomain.com/sga.xml. The response I am getting indicates
that there is an XML syntax error on line 1 and it cannot be parsed. If I
send the same message to a send port with the File Adapter I am able to open
the file, paste the contents into an html form and successfully post it to
the same URL. My question is, when using the HTTP adapter am I sending
something other than the body of the message that is causing the error?
| |
| Scott Colestock 2006-05-29, 5:21 pm |
| Do you have an orchestration involves, and if so, what is the type for the
message in the logical port?
(Do you think you are getting escaped xml out on the wire? Do you have a way
of seeing what arrives on the other side? Consider using a trace utility as
a proxy so you can watch the traffic.)
Scott Colestock
www.traceofthought.net
"Todd Bagley" <tbagley@heymileskimball.com> wrote in message
news:uJN0WUCgGHA.356@TK2MSFTNGP02.phx.gbl...
>I am sending an XML file via a 2-way port using the HTTP adapter. The url
>is http://www.mydomain.com/sga.xml. The response I am getting indicates
>that there is an XML syntax error on line 1 and it cannot be parsed. If I
>send the same message to a send port with the File Adapter I am able to
>open the file, paste the contents into an html form and successfully post
>it to the same URL. My question is, when using the HTTP adapter am I
>sending something other than the body of the message that is causing the
>error?
>
| |
| Todd Bagley 2006-05-29, 5:21 pm |
| I am using an orchestration. The message type is an xml schema in the
project. I replace the port using the HTTP adapter with one using the File
adapter and am getting the proper message that way. I'm not understanding
what's happening with the HTTP Post that causes the problem. I can paste
the output from the port with the File adapter into an HTML form and post it
to the same URL successfully.
Todd
"Scott Colestock" <scolestock@community.nospam> wrote in message
news:%23wlrIbDgGHA.4776@TK2MSFTNGP05.phx.gbl...
> Do you have an orchestration involves, and if so, what is the type for the
> message in the logical port?
>
> (Do you think you are getting escaped xml out on the wire? Do you have a
> way of seeing what arrives on the other side? Consider using a trace
> utility as a proxy so you can watch the traffic.)
>
> Scott Colestock
> www.traceofthought.net
>
> "Todd Bagley" <tbagley@heymileskimball.com> wrote in message
> news:uJN0WUCgGHA.356@TK2MSFTNGP02.phx.gbl...
>
>
| |
| Greg Forsythe 2006-05-29, 5:21 pm |
| underprocessable |
|
|
|
|