[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP/1.1 500 Internal Server Error - Geocode example



   My SOAP variable from debug is:
   <?xml version="1.0" encoding="UTF-8"
   standalone="no"?><SOAP-ENV:Envelope
   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";;
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";;><SOAP-ENV:Body>
   <geocode xmlns="http://rpc.geocoder.us/Geo/Coder/US/";;
   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";;>
   <location xsi:type="xsd:string"><![CDATA[1600 W. Pennsylvania Ave NW,
   Washington,DC]]></location></geocode></SOAP-ENV:Body></SOAP-ENV:Envelo
   pe>
   Position 131 is around  the end of:
   SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";;


                                                                ^^^
   Is the the SOAP variable you are talking about?  I do notice a space
   right before:  <location xsi
   Could this be it?
   Thanks.
   ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote on 07/26/2007 12:00:32 PM:
   > Hello,
   >
   > >    I compiled the Geocode example but seem to have an issue.  Any
   > >    suggestions please.
   > [SNIP]
   > >    <faultstring>Application failed during request deserialization:
   > >    not well-formed (invalid token) at line 1, column 131, byte 131
   at
   >
   > What is in the 131st byte of your "soap" variable? (or thereabouts?)
   >
   > My guess is that it contains a & or < or > character that's not
   encoded
   > according to XML specifications.
   >
   ----------------------------------------------------------------------
   -
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   ----------------------------------------------------------------------
   -
   This email and any files transmitted with it are confidential and
   intended solely for the use of the individual or entity to whom they
   are addressed. Unless you are the addressee (or authorized to receive
   for the addressee), you may not use, copy or disclose to anyone this
   email or any information contained in this email. If you have received
   this email in error, please advise the sender by replying to this
   email, and delete this email immediately. Please note that any views
   or opinions presented in this email are solely those of the author and
   do not necessarily represent those of Western Dental Services, Inc.
   Finally, the recipient should check this email and any attachments for
   the presence of viruses. Western Dental Services, Inc. accepts no
   liability for any damage caused by any virus transmitted by this
   email.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------