Yaxiong,
I finally made the test with XmlRpcClientLite (thanks to BeanShell)
and... I get a completely different one:
> Accepted connection.
> POST /aPath HTTP/1.0
> User-Agent: Apache XML-RPC 1.0
> Host: localhost:1037
> Content-Type: text/xml
> Content-Length: 95
This makes me believe that
Paul:
Thanks for much for giving the code as well to do my debugging!!!
I don't know how to interpret the output as they are drastically different.
The first set of the output was sent by XmlRpcClientLite and the second set
was sent by the XmlRpcClient.
It looks like the packet sent by XmlRpc
Yaxiong,
That's not enough, where's the start ?
Where's the POST /yourPath HTTP/1.0 ??
Here is a little dumb web-server. Invoke it with
java -classpath . DumbServer = 4 ) break; // should be the end of
the header
} else n = 0;
}
Paul:
XmlRpcClientLite sends garbage chars in the header and probably without cr
or new line chars and thus causing the WebServer readLine buffer overflow.
If I extend the buffer to 4096 (to make sure it can hold the whole data
packet), then I get the read timeout on the WebServer, probably serv
The security things can be a real consideration in the wild. Some
XML-RPC servers in use today expect custom User-Agent headers, Cookies,
HTTP Basic Authentication, and/or SSL. Not everyone is writing both
the client and the server portions here.
Ryan Hoegg
Paul Libbrecht wrote:
> Yaxiong
Yaxiong,
If this is still the weird wrong end-of-header detection you mentionned,
than clearly looks to be bound to the headers that the URL.getConnection
does send. A simple test for you would be to implement the dumbest http
server, something that listens to the given port and writes anythi
"Lin, Yaxiong" <[EMAIL PROTECTED]> writes:
> I was wondering if you or anyone know why XmlRpcClient causes webserver to
> hang while XmlRpcClientLite does not and if there is any hope to debug and
> fix this problem?
`cvs diff -u` the code and examine the differences for possible
problems.
> -Original Message-
> From: John Wilson [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 4:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Illegal control character error
>
>
> - Original Message -
> From: "Lin, Yaxiong" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED
Todd:
Thanks for the information. I am using XmlRpcClient. I did switch to
XmlRpcClientLite and ran it on NT and that seems to have fixed my problem
also. But I have a problem with XmlRpcClientLite as it does not work on IBM
webSphere on zOS which is going to be our production environment. S
Thank you very much. Seems to work.:-)
- Original Message -
From: "James Carroll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 15, 2002 3:54 PM
Subject: RE: Help!!! Need an Servlet Example -
Fucking help
>
> Fucking here is your help. :)
>
>
Thank you very much. Seems to work.:-)
- Original Message -
From: "Olsen Odd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 15, 2002 11:55 AM
Subject: RE: Help!!! Need an Servlet Example -
Fucking help
> Have you looked at:
>
> http://www.ore
11 matches
Mail list logo