"?" at front of XML

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › "?" at front of XML

Viewing 1 reply thread
  • Author
    Posts
    • #23679

      Hi,

      I developed custom send pipeline component to add “xmldata=” at front of XML. Why do I get “?” between the string that I added and xml? I am getting the out put xml as  xmldata=?<PORoot><POHeader>…….

      What could be reason to get “?” and how can I remove that?

      I am also using map in that send port.

    • #23680

      Hi Siva,

       

         Are you trying to add an attribute to the document declaration type for your XML data (<?xml version=”1.0″?>)? To my knowledge, xmldata is not a valid attribute. What are you trying to do?

       

         Daniel.

      • #23681

        Thank you for your quick reply Daniel.

        Our customer wants “xmldata=” at front of the xml that we send over HTTP.  Cusotmer PO request xml is something like <PORequest><POHead>……..

        I need to send something like xmldata= <PORequest><POHead>……..

        So I created custom com to add “xmldata=” in send pipeline Encode section.

         

        • #23682

          It looks like map is the reason for the “?”. If i don’t use the map then “?” does not added with “xmldata”.

          Still I haven’t fix the issue.

          • #23683

            This is probably the BOM, byte-order mark used to define the encoding being used. You need to remove this before adding your “xmldata=” string.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.