Re: Problem with solicit-response adapter BTS 2004

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kelly Fulks (kfulks_at_knology.net)
Date: 06/07/04


Date: 7 Jun 2004 14:38:32 -0700


"Vladimir Tchalkov" <vlado@act-soft.nspam.com> wrote in message news:<#8W4FDLTEHA.3336@TK2MSFTNGP12.phx.gbl>...
> Hi Kelly,
>
> I had similiar problems with my adapter. My mistake was the encoding of the
> xml response file.
> I used ANSI encoding with code page 1251. I changed this to UTF8 and it
> worked.
> I think the problem was that I was missing the XML header and the encoding
> of the response was not specified.
> So try UTF8 or try to add a XML header specifying the encoding.
>
> Best regards,
> Vladimir
>
> "Kelly Fulks" <kfulks@knology.net> wrote in message
> news:bc02a42a.0406041149.43cbbfe4@posting.google.com...
> >
[stuff deleted]
> > Any ideas? Thanks!

Vladimir,
Thanks for your response. I had tried with the XML header using
utf-7, utf-8, and utf-16 all. I tried it again after receiveing your
message to make sure that it did not work. I also tried by inserting
this code using utf-7, utf-8, and utf-16:

----- code begins here -----
Dim myResultsDom As System.Xml.XmlDocument
myResultsDom = New System.Xml.XmlDocument
myResultsDom.LoadXml(XmlString)
myResultsDom.CreateXmlDeclaration("1.0", "UTF-8", String.Empty)
----- code ends here -----

But that leaves me with a document with no encoding (or XML header
again. I have a feeling that this is the right track for sloving the
problem, but I don't know exactly what if wrong yet. Thanks for the
help. Amy more ideas?



Relevant Pages

  • Re: ?Unicode char(?) getting lost in ?HttpWebResponse.
    ... The response XML also contains the encoding information in its XML header. ... to the StreamReader is wrong? ...
    (microsoft.public.dotnet.framework)
  • Re: "?" in XMLHttpRequest.ResponseText
    ... "IXMLHTTP attempts to decode the response into a Unicode ... UCS-4 encoding as long as the server sends the appropriate ... be XML, use the responseXML property for full XML encoding ...
    (microsoft.public.scripting.jscript)
  • Missing XML header that specifies the encoding
    ... In my solution I ned the xml output with including the XML header thet ... specifies the encoding. ... I need the XML header that specify the encoding of the document, ...
    (microsoft.public.sqlserver.xml)
  • Re: Missing XML header that specifies the encoding
    ... Joe Fawcett (MVP - XML) ... In my solution I ned the xml output with including the XML header thet ... specifies the encoding. ... I need the XML header that specify the encoding of the document, ...
    (microsoft.public.sqlserver.xml)
  • Re: client-server protocol to object and back (study case)
    ... store the xml of the message and possible others members ... class with the boilerplate of the the response... ... parsing XML or even managing multiple fields positionally in a buffer is nontrivial. ... each subclass of [Encoder] would implement Encoder::encodeto go find the relevant attributes and encode them in the Message::data ADT. ...
    (comp.object)