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

Re: XML parse failed at line 1, col 0: no element found



   My best bet is that the length of your "SOAP" variable (see posting
   from 11.02.2011) is not sufficient enough to hold the complete request
   message. Looking at your debug log I can see that the request message
   is imcomplete (reformatted request, taken from the debug log):
   <?xml version="1.0" encoding="utf-8" standalone="no"?>
   <soap:Envelope
       xmlns:xsd="[1]http://www.w3.org/2001/XMLSchema";
       xmlns:xsi="[2]http://www.w3.org/2001/XMLSchema-instance";
       xmlns:soap="[3]http://schemas.xmlsoap.org/soap/envelope/";>
       <soap:Header/>
       <soap:Body>
           <dataSet>
               <record>
                   <addr_1>6659 Southoaks Cres</addr_1>
                   <addr_2></addr_2>
                   <addr_3></addr_3>
                   <addr_4>Burnaby</addr_4>
                   <city>Burnaby                          BC</city>
                   <state>BC</state>
                   <postal_code>V5e4m9</postal_code>
                   <country_name>CANADA
   Thomas.
   ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 23.02.2011 14:11:47:
   > Von: mr.singhjitender@xxxxxxxxx
   > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   > Datum: 23.02.2011 14:21
   > Betreff: Re: XML parse failed at line 1, col 0: no element found
   > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   >
   > Hi Scott,
   >  When i have changed the URL got an 500   HTTP/1.1 500 Internal
   Server Error
   > .
   >
   > Please find attached the debug file.
   > Please suggest how i can rid off from this error.
   >
   >
   > Thanks & Regards
   > Jitender Singh.
   >
   > On Fri, Feb 18, 2011 at 10:16 PM, Scott Klement
   <sk@xxxxxxxxxxxxxxxx> wrote:
   >
   > > Hi Jitender,
   > >
   > > You appear to be sending a request to download the WSDL, instead
   of
   > > sendign a request to call the web service.
   > >
   > > In other words, you're passing the wrong URL to HTTPAPI.
   > >
   > >
   > >
   > > On 2/18/2011 6:47 AM, jitender singh wrote:
   > > >
   > > >     Hi Scott,
   > > >
   > > >
   > > >
   > > >     I tested my projetc on beta version and instead of output i
   get thw
   > > >     whole WSDL file.
   > > >
   > > >
   > > >
   > > >     Please suggest what I need to do.
   > > >
   > > >
   > > >
   > > >     Please find attached the log file which was created during
   my
   > > testing.
   > > >
   > > >
   > > >     Thanks&  Regards
   > > >
   > > >     Jitender Singh.
   > > >
   > > >
   > > >
   > > >     On Thu, Feb 17, 2011 at 12:16 PM, Scott Klement
   > > >     <[1]sk@xxxxxxxxxxxxxxxx>  wrote:
   > > >
   > > >       Sure.  The install screens let you choose how HTTPAPI
   interacts
   > > >       with
   > > >       different libraries...
   > > >       On 2/16/2011 11:23 PM, jitender singh wrote:
   > > >       >
   > > >       >      We have a problem that we dont have separate test
   and
   > > >       production
   > > >
   > > >     >      environment.
   > > >     >
   > > >     >      Before updating to current version we want to test
   our both
   > > old
   > > >     and
   > > >     >      new project and then upgrade to new version.
   > > >     >
   > > >     >      Can we install the new version in library other than
   LIBHTTP
   > > for
   > > >     >      testing purpose?
   > > >     >
   > > >
   > > >
   > >
   ----------------------------------------------------------------------
   > > >     -
   > > >     This is the FTPAPI mailing list.  To unsubscribe, please go
   to:
   > > >     [2][4]http://www.scottklement.com/mailman/listinfo/ftpapi
   > > >
   > >
   ----------------------------------------------------------------------
   > > >     -
   > > >
   > > > References
   > > >
   > > >     1. [5]mailto:sk@xxxxxxxxxxxxxxxx
   > > >     2. [6]http://www.scottklement.com/mailman/listinfo/ftpapi
   > >  >
   > > >
   > > >
   > > >
   > > >
   ----------------------------------------------------------------------
   -
   > > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > > > [7]http://www.scottklement.com/mailman/listinfo/ftpapi
   > > >
   ----------------------------------------------------------------------
   -
   > >
   > >
   ----------------------------------------------------------------------
   -
   > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > > [8]http://www.scottklement.com/mailman/listinfo/ftpapi
   > >
   ----------------------------------------------------------------------
   -
   > >
   > [Anhang "httpapi_debug.txt" gelöscht von Thomas Raddatz/OBI/DE]
   >
   ----------------------------------------------------------------------
   -
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [9]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   ----------------------------------------------------------------------
   -

   --
   IMPORTANT NOTICE:
   This email is confidential, may be legally privileged, and is for the
   intended recipient only. Access, disclosure, copying, distribution, or
   reliance on any of it by anyone else is prohibited and may be a
   criminal
   offence. Please delete if obtained in error and email confirmation to
   the sender.

References

   1. http://www.w3.org/2001/XMLSchema
   2. http://www.w3.org/2001/XMLSchema-instance
   3. http://schemas.xmlsoap.org/soap/envelope/
   4. http://www.scottklement.com/mailman/listinfo/ftpapi
   5. mailto:sk@xxxxxxxxxxxxxxxx
   6. http://www.scottklement.com/mailman/listinfo/ftpapi
   7. http://www.scottklement.com/mailman/listinfo/ftpapi
   8. http://www.scottklement.com/mailman/listinfo/ftpapi
   9. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------