What type are you posting with? Is it expecting a multipart upload?
What is the curl command and what is its mime-type for uploaded data?



On Wed, Feb 17, 2010 at 10:19 AM, Chris Hostetter
<hossman_luc...@fucit.org> wrote:
> : I'm having a strange problem when indexing data through our application.
> : Whenever I post something to the update resource, I get
> :
> : Unexpected character 'a' (code 97) in prolog; expected '<'  at [row,col 
> {unknown-source}]: [1,1], <html>
>        ...
> : However, when I post the same data from an xml file using curl it works.
>
> ...thta's pretty much a dead give away that your application isn't posting
> the exact same XML as the curl command.  You might try using a packet
> sniffer, or an HTTP Proxy that logs all the details of the requests to see
> what exactly your application is sending over the wire and how it differs
> from curl.
>
>
>
> -Hoss
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to