[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] XMLRPC bug
From: |
Chris Weiss |
Subject: |
Re: [Phpgroupware-developers] XMLRPC bug |
Date: |
Fri, 08 Feb 2002 14:16:03 +0000 |
>Then I think you need an extra newline
>after the Content-Length header. Make sure that the Auth line is all
>one
This is the first thing I though of when I read it. You have to seperate the
HTTP
headers from the body with a blank line.
>
>> POST http://www.phpgroupware.org/demo/xmlrpc.php HTTP/1.0
>> Host: www.phpgroupware.org
>> Authorization: Basic
>> M2I3ZTRjNWRlMDAyNzA4NjRkZWY5ZTU0NTcyZjA4ODA6ZWJlYmFiOTM4NmI5YzU0NzI2NjVk
>> NGJjOGRkZjEzMjA=
>> Content-Type: text/xml
>> X-Info: XML-RPC Processor (C) Red Hat, Inc ($Revision: 1.30 $)
>> X-Client-Version: 1
>> Content-Length: 316
>> <?xml version='1.0'?>
>> <methodCall>
>> <methodName>addressbook.boaddressbook.read_entries</methodName>
>> <params>
>> <param><value><struct>
>> <member><name>start</name><value><int>1</int></value></member>
>> <member><name>limit</name
>> >.<value><int>5</int></value>.</member>
>> </struct ></value>.</param>
>> </params>
>> </methodCall>
>>
>> Then the server told me that there was an error in the request packet.
>> Here it is:
>> HTTP/1 .1 400 Bad Request..Date: Fri, 0 8 Feb 2002 10:18:45 GMT
>> Server: Apache/1.3.22 (Unix) Debian GNU/Linux
>> Connection: close
>> Content-Type: text/html; charset=iso-8859-1
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <HTML><HEAD><TITLE>400 Bad Request</TITLE></HEAD><BODY><H1>Bad
>> Request</H1>.Your browser sent a request that this server could not
>> understand.<P>.Request header field is missing
>> colonseparator.<P>.<PRE>.OGRkZjEzMjA=</PRE>.<P>.</BODY></HTML>
>
>This was sent by Apache, not phpGroupWare. There is something
>basically wrong with the structure of your post. Try running
>telnet to port 80 of a phpgroupware-enabled apache server and
>post the same data as in your request above...
>
>--
>
>Miles Lott - phpGroupWare
>http://www.phpgroupware.org
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>
- [Phpgroupware-developers] XMLRPC bug, Jean-Eric Cuendet, 2002/02/08
- Re: [Phpgroupware-developers] XMLRPC bug,
Chris Weiss <=
- RE: [Phpgroupware-developers] XMLRPC bug, Jean-Eric Cuendet, 2002/02/08
- RE: [Phpgroupware-developers] XMLRPC bug, Jean-Eric Cuendet, 2002/02/08
- Re: [Phpgroupware-developers] XMLRPC bug, Miles Lott, 2002/02/08
- [Phpgroupware-developers] instalation problem-----mysql, dhayalan suresh, 2002/02/09
- Re: [Phpgroupware-developers] instalation problem-----mysql, Michael Dean, 2002/02/09
- Re: [Phpgroupware-developers] instalation problem-----mysql, Miles Lott, 2002/02/09
- [Phpgroupware-developers] Another fresh install problem, M . vanDorp, 2002/02/09
- Re: [Phpgroupware-developers] Another fresh install problem, M . vanDorp, 2002/02/09
- Re: [Phpgroupware-developers] Another fresh install problem, Bob Schader, 2002/02/09
- Re: [Phpgroupware-developers] Another fresh install problem, M . vanDorp, 2002/02/10