Frontier::Daemon encoding question



hi guys,
I've written an XMLRPC server using the Frontier suite,
exporting one function which retrieves a row of info from a MS-SQL
database. The server is running on WinXP and the DB is on Win2000.
one of the field is an encrypted credit-card number.

the client and server executes correctly until the Frontier::Client is
trying to parse the XML. this is the error I get:


not well-formed (invalid token) at line 7, column 41, byte 272 at
C:/Perl/site/lib/XML/Parser.pm line 187

this location points to the value of the encrypted CC.
I've read that by setting the encoding of the XML to ISO-8859-1 someone
solved a similar issue:

http://groups-beta.google.com/group/comp.lang.perl.misc/browse_frm/thread/39a9103fa599f41a/cd012e5b1d6d4e93?tvc=1&q=not+well-formed+(invalid+token)+XML%2FParser.pm+line+187&hl=en#cd012e5b1d6d4e93

however, even when I set the encoding at the client side it will not
work. I'm thinking it may be a good idea to set the encoding to the
aformentioned ISO-8859-1, but that option is not available with the
Daemon class nor the HTTP::Daemon from which it inherits.

besides solving this matter - there must be something in this mechanism
that I'm not fully understand.. I mean, the client transfers a chunk of
characters to the XML parser for it to be decoded right? the
XML::Parser is used by default and it has a set of rules by which it
will parse information, but I cannot modify that with the
Frontier::Client, can I?

last Q,
any book, article u recommend for me to read in order to get the nuts
and bolts of XML?

thank you all for your time and god bless
nir

.



Relevant Pages

  • Re: how to export view to display - xml with specific xsd?
    ... Also xp_cmdshell runs on the server, ... SQL Server to a file and open the file in Word on the client machine. ... It opens up a ... XML to be generated in a Word-specific XML format. ...
    (microsoft.public.sqlserver.xml)
  • Re: POSTing Chinese characters
    ... your claims of POST'd data experiencing encoding problems does ... Character encoding of data on the client side ... Server locale ... it seems that your issue is a Pocket IE issue. ...
    (microsoft.public.inetserver.iis)
  • Re: XML->Dataset->Database
    ... latest configuration information and the server contains completed survey ... special database tables to control the flow of information, and using XML ... based on what needs to be sent to the client, ...
    (microsoft.public.dotnet.general)
  • Re: Arch question.
    ... If you do create seperate xml classes just for webservices ... ' NameInfo and get result as type HelloResult ... >> 1) On the server, I have my server classes that don't consider any xml. ... >> 4) The client has copy of xmldoc classes as needed. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: porting Access to SQL Server --- what to do with the front-end?
    ... They are both server side languages. ... As you state, HTMl, CSS, and javascript on the client ... Requests to the server use HTTP requests which send either URL-encoded ... strings or XML documents. ...
    (comp.databases.ms-access)