Paul:

Forgot to say that I have to build my xmlrpc.jar as I have to use the patch
John Wilson gave me that hardcode the encoding in the parser to fix a
problem.  But maybe these two problems are related.  I have attached the
patch (code change) below for your reference.

        The patch is, in MinML.java,  change the parse method to the
following:

        public void parse(final InputSource source) throws SAXException,
IOException
        {
          if (source.getCharacterStream() != null)
            parse(source.getCharacterStream());
          else if (source.getByteStream() != null)
            parse(new InputStreamReader(source.getByteStream(), "8859_1"));
         else
            parse(new InputStreamReader(new
        URL(source.getSystemId()).openStream()));
        }




Thanks.

- Yaxiong

> -----Original Message-----
> From: Lin, Yaxiong 
> Sent: Tuesday, March 19, 2002 8:36 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: connection refused error
> 
> 
> Paul:
> 
> I use ANT to build my xmlrpc.jar file on my NT.  And I have been
> rebuilding several times and got the same result.  Did BeanShell test the
> XmlRpcClientLite on webSphere running on zOS (USS, IBM unix)?  Please note
> the same xmlrpc.jar runs ok on NT client (using the XmlRpcClientLite)
> while on WebSphere on zOS does not.
> 
> Is there anything in the ANT setup I have missed or wrong version of
> packages used by xmlrpc that could have caused this problem? 
> 
> Please advice.
> 
> Thanks.
> 
> - Yaxiong
> 
>       -----Original Message-----
>       From:   Paul Libbrecht [SMTP:[EMAIL PROTECTED]]
>       Sent:   Tuesday, March 19, 2002 2:17 AM
>       To:     [EMAIL PROTECTED]
>       Subject:        Re: connection refused error
> 
>       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 your jar may be corrupted...
>       Have you tried downloading another one ??
> 
>       Paul
> 
> 
>       On Lundi, mars 18, 2002, at 11:20 , Lin, Yaxiong wrote:
> 
>       >
>       > 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 XmlRpcClientLite does not have
> the 
>       > header!
>       >
>       > Thanks.
>       >
>       > - Yaxiong

Reply via email to