Sending XML via HTTP Adapter
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Sending XML via HTTP Adapter




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Sending XML via HTTP Adapter  
Todd Bagley


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10: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?







[ Post a follow-up to this message ]



    Re: Sending XML via HTTP Adapter  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10: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?
>







[ Post a follow-up to this message ]



    Re: Sending XML via HTTP Adapter  
Todd Bagley


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10: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... 
>
>







[ Post a follow-up to this message ]



    Re: Sending XML via HTTP Adapter  
Greg Forsythe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10:21 PM

underprocessable




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:57 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register