Re: Failed to parse server's response: Failed to parse integer value:

2010-08-26 Thread Jochen Wiedmann
Use tcpmon, ethereal, or a similar tool to trace the communication between client and server and then let's discuss based on that. Jochen On Thu, Aug 26, 2010 at 12:25 PM, Tioe, April april.t...@cw.com wrote: Hi there, I've created an XML-RPC client which calls a remote method in a server.

Re: Advanced Custom Data Type

2010-06-18 Thread Jochen Wiedmann
Can you imagine that it doesn't work won't give too many clues? On Thu, Jun 17, 2010 at 2:57 PM, stefan V steta...@gmx.de wrote: Hello, I'm new in Apaches' XMLRPC. I try to get some data from a xmlrpc-server (I got a simple String from a method, so it works - a bit) The date format on the

Re: Question: http client not found

2010-06-05 Thread Jochen Wiedmann
You've got the wrong httpclient. What you need is commons-httpclient. See http://hc.apache.org/httpclient-3.x/ Apart from that, there's no reason I am aware of to prefer the httpclient transport over the sun transport. Jochen On Sat, Jun 5, 2010 at 3:44 PM, James Carroll

Re: Package org.apache.xmlrpc.secure does not exist

2010-05-26 Thread Jochen Wiedmann
Reading the docs, perhaps? See http://ws.apache.org/xmlrpc/ssl.html 2010/5/26 Patrick Stürmlinger patr...@mindf.org: Hello, I need a SecureXmlRpcClient to initiate a secure connection over ssl. My problem is that org.apache.xmlrpc.secure isn't included in any .jar file at my classpath.

Re: Port Range?

2010-04-22 Thread Jochen Wiedmann
The problem is most likely that you don't understand how to configure the firewall. A connection made from a client to your server will have port 8080 on the server side, but some arbitrary port between 1024 and 65535 on the client side. Jochen On Thu, Apr 22, 2010 at 3:08 PM, Sven Kerkling

Re: how to get the xml bytes

2010-04-13 Thread Jochen Wiedmann
Use tcpdump, wireshark, or a similar tool. On Tue, Apr 13, 2010 at 8:38 AM, Lucio Crusca lu...@sulweb.org wrote: Hello *, I'm coding some XMLRPC client tests for certain XMLRPC webservices. The server is Django and it's being written by someone else, but that's only to say I have no control

Re: Connection re-use bug in XML-RPC 3.1.3

2010-04-02 Thread Jochen Wiedmann
Hi, Greg, I am not sure, whether I do understand the issue completely, so let me repeat it first: You start by configuring the client with an initial user name and password. Later on, you reconfigure it to use another, bogus password. As soon as the server rejects the bogus user name and

Re: changing the way objects are created as a result of a xmlrpc invocation

2010-02-16 Thread Jochen Wiedmann
Should soon be available on http://ws.apache.org/xmlrpc/handlerCreation.html if mirrors have synced up. Thanks, Jochen On Tue, Feb 16, 2010 at 4:43 PM, teemu kanstren tkanst...@gmail.com wrote: How about you contributing one or two pages? :-) Here is some text for you. You can modify

Re: XML-RPC timeout

2010-02-15 Thread Jochen Wiedmann
Quite possible. Try 3.1.3. On Mon, Feb 15, 2010 at 11:50 AM, Lars Schnoor lars.schn...@ifad.dk wrote: When I look at the source code for XML-RPC 3.1.2 I can't see any initHttpHeaders in XmlRpcSun15HttpTransport, is this initHttpHeaders a newer thing? Jochen Wiedmann wrote: Put

Re: Log xml sent and received

2010-02-12 Thread Jochen Wiedmann
Use wireshark, tcpmon, or a similar tool. On Fri, Feb 12, 2010 at 11:18 AM, jz jehanzeb.qay...@gmail.com wrote: Hi, How can i log complete XML sent and received using apache xml rpc? Regards, Jehanzeb Qayyum -- Germanys national anthem is the most boring in the world - how telling!

Re: Exception handling

2010-02-12 Thread Jochen Wiedmann
Catch the XmlRpcException. On Fri, Feb 12, 2010 at 11:19 AM, jz jehanzeb.qay...@gmail.com wrote: Hi, Where can i find good docs on exception handling in xml rpc client? Specificall i want to know the hhtp response code, fault code, fault details etc. Thanks Regards, Jehanzeb Qayyum

Re: changing the way objects are created as a result of a xmlrpc invocation

2010-02-12 Thread Jochen Wiedmann
Have a look at the RequestProcessorFactoryFactory On Fri, Feb 12, 2010 at 4:08 PM, teemu kanstren tkanst...@gmail.com wrote: Hello all,  As I understand, each time a server receives an xmlrpc invocation a new object is created for the class registered to handle this. I do not wish to

Re: XML-RPC timeout

2010-02-12 Thread Jochen Wiedmann
on the website. Jochen Wiedmann wrote: Are you using a proper transport factory, like XmlRpcSun15HttpTransportFactory? On Fri, Feb 12, 2010 at 4:01 PM, Lars Schnoor lars.schn...@ifad.dk wrote: Hi I have seen that the XmlRpcClientConfigImpl has two methods to set timeout, there is setReplyTimeout

[RESULT] Release Apache XML-RPC 3.1.3

2010-02-11 Thread Jochen Wiedmann
Passed with +1: 7 (Binding: Amila Suriarachchi, Ruchith Fernando, Deepal Jayasinghe, Andreas Veithen, Jochen Wiedmann, non-binding: Johan Hägre, Don Albertson) =0: 0 -1: 0 I'll promote the files to the repositories and will be sending a formal announcement. Jochen -- Germanys national

[VOTE] Release Apache XML-RPC 3.1.3

2010-02-06 Thread Jochen Wiedmann
Hi, due to a recently discovered security issue, I'd like to release Apache XML-RPC 3.1.3. This is a minor bugfix release. The complete list of changes can be found at http://people.apache.org/~jochen/xmlrpc/changes-report.html#a3.1.3 The proposed binaries can be found at

Re: [PATCH] Setting SAX features for XML-RPC

2010-02-03 Thread Jochen Wiedmann
Hi, Johan, lets distinguish between two different questions: - Whether there is a security issue. If so, this is of course of general interest and ought to be fixed immediately. I can imagine that you include an external entity into the clients message. I can also imagine that this adds a local

Re: [Fwd: Fwd: How to invoke XmlRpcServer without using web.xml in tomcat]

2010-01-29 Thread Jochen Wiedmann
On Thu, Jan 28, 2010 at 8:55 AM, Casper Wandahl Schmidt kalle.pri...@gmail.com wrote: Okay let me ask in another way: which class/interface can I use/implement to get to use the  server-side functionality if I don't want to use the WebServer and can't extend the

Re: How to invoke XmlRpcServer without using web.xml in tomcat

2010-01-27 Thread Jochen Wiedmann
On Wed, Jan 27, 2010 at 1:31 PM, Casper Wandahl Schmidt kalle.pri...@gmail.com wrote: My question is how to use the XmlRpc framework within this JWIG framework. That's a question you should rather put to the framework authors or users. -- Germanys national anthem is the most boring in the

Re: Problem (302 moved error)

2009-10-29 Thread Jochen Wiedmann
Try using the URL from the location header. In other words, add a / to the URL. On Wed, Oct 28, 2009 at 8:49 PM, Mike Baranski list-subscripti...@secmgmt.com wrote: I have the following java class: package com.secmgmt.xmlrpc.change_status; import org.apache.log4j.Logger; public class

Re: Problem (302 moved error)

2009-10-29 Thread Jochen Wiedmann
Alternatively, remove the /* from the pattern below. On Wed, Oct 28, 2009 at 8:55 PM, Mike Baranski list-subscripti...@secmgmt.com wrote: Here is the web.xml, also: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN

Re: Problem (302 moved error)

2009-10-29 Thread Jochen Wiedmann
On Thu, Oct 29, 2009 at 1:42 PM, Mike Baranski list-subscripti...@secmgmt.com wrote: I tried both, removing the /* and leaving the test script gives a 302 error, leaving the /* and adding / to the test script gives 404. I don't really trust this. I'd expect that you have some problem in your

Re: Vague XML-RPC exceptions

2009-10-27 Thread Jochen Wiedmann
Unless you don't mismatch ports and the port is actually an http port, not an https port: This is clearly a purely SSL related problem. SSL client and server don't seem to match. (For example, SSL 1 client, and SSL 2 server, or vice versa.) Sorry, but I don't think that this list may help in that

Re: Adding string tag in XML-RPC 3.1

2009-10-19 Thread Jochen Wiedmann
Sigh! Is anyone actually using the FAQ and that stuff? http://ws.apache.org/xmlrpc/faq.html#string_format On Mon, Oct 19, 2009 at 3:33 PM, Shirabur, Aravind Ashok (Communication Media Solutions) arvin...@hp.com wrote: Hi, We are using java XML-RPC library 3.1; when my client application

Re: XML RPC Question

2009-10-13 Thread Jochen Wiedmann
Hi, if your task actually requires more than one hour to run, I'd strongly recommend an asynchronous procedure, like this: - On the server, spawn a thread, which creates a unique ID. The new thread starts performing the task and returns the ID to the client. - Client starts running in a loop.

Re: class cast exception with array return result

2009-10-13 Thread Jochen Wiedmann
You are right, Stan. Fixed! On Tue, Oct 13, 2009 at 11:36 PM, Stanislav Miklik stanislav.mik...@gmail.com wrote: Hi, you are right, there is a bug in FAQ. the point is, that you can not cast the result of the XML RPC call, in your case return (String []) windows.getInstances(category);

Re: Problem with ReadTimeout in SunHttpTransport

2009-10-08 Thread Jochen Wiedmann
Isn't that already in? See http://www.nabble.com/svn-commit:-r813462---in--webservices-xmlrpc-trunk:-client-src-main-java-org-apache-xmlrpc-client-XmlRpcSun15HttpTransport.java-pom.xml-src-changes-changes.xml-td25384668.html 2009/10/8 Mikhail Sarychev m...@magicworld-ltd.com: In

Re: Support for HttpComponents HttpClient?

2009-10-03 Thread Jochen Wiedmann
So far no, but should be fairly trivial. Wonna provide a patch? On Wed, Sep 23, 2009 at 4:42 PM, Christoph Jaehnigen christoph.jaehni...@gmail.com wrote: Is there gone be support for the HttpComponents HttpClient (successor of Apache Commons HTTP Client) in Apache XML-RPC? Regards Chris

Re: XmlRpcSunHttpTransport and read timeout

2009-09-11 Thread Jochen Wiedmann
On Fri, Sep 11, 2009 at 6:46 AM, Gam gamal...@fastmail.fm wrote: I see that this class is specifically for Java 1.5. Do you know were is the code that selects the correct class at runtime? I'm very interested to know how it work. See

Re: XmlRpcSunHttpTransport and read timeout

2009-09-10 Thread Jochen Wiedmann
Ok, commited. On Thu, Sep 10, 2009 at 12:19 PM, Lars Gramark l...@stickybit.se wrote: Works like a charm. I've verified reply timeout and connection timeout. -- Germanys national anthem is the most boring in the world - how telling!

Re: XmlRpcSunHttpTransport and read timeout

2009-09-08 Thread Jochen Wiedmann
You're the first one to point this out. Compatibility to 1.4 is not a problem, because we already have JDK specific variants of the transports. Wanna provide a patch? On Tue, Sep 8, 2009 at 3:39 PM, Lars Gramarkl...@stickybit.se wrote: The reply timeout set in the XmlRpcHttpClientConfig is

Re: Can I send XML document as parameter in xml-rpc

2009-09-05 Thread Jochen Wiedmann
On Sat, Sep 5, 2009 at 1:23 PM, John Wilsont...@wilson.co.uk wrote: the client end. Using a CDATA section is not a good idea because the included document might contain a CDATA section and they don't nest. Unless you do consider, of course. :-) I'll post some sample code which will handle

Re: Can I send XML document as parameter in xml-rpc

2009-09-03 Thread Jochen Wiedmann
On Thu, Sep 3, 2009 at 5:08 PM, Petersen, Jenniferjennifer.peter...@cbsa-asfc.gc.ca wrote: I am anticipating we could have some problems with the xml messages as it will result in an XML document embedded in another... Apart from the resulting document size: No, there should not be any

Re: Can I send XML document as parameter in xml-rpc

2009-09-03 Thread Jochen Wiedmann
On Thu, Sep 3, 2009 at 6:25 PM, Thomas Gaertnergaer...@tu-cottbus.de wrote: Encoding would be indeed a good idea. I'd gzip the doc and then send it as Base64 encoded data. That way you can also save a bit bandwidth. No need to do so, unless the document is really large. And in that case, it

Re: No string element for String types

2009-08-14 Thread Jochen Wiedmann
I have added the following FAQ entry now. Apache XML-RPC is sending strings as valueSomeString/value. Whereas I would expect valuestringSomeString/string/value. Both formats are valid. XML-RPC compliant software (as Apache XML-RPC is) must be able to understand both. Of course, you can only

Re: Static Methods

2009-07-21 Thread Jochen Wiedmann
Static methods are ignored by Apache XML-RPC, by default. Either you have to create your own handler mapping, or you create wrapper instances. Jochen On Tue, Jul 21, 2009 at 3:00 PM, Keit Isenseekeit.isen...@bredex.de wrote: Hello! I am just evaluating XML RPC for my project and have a

Re: How to create an XmlRpcRequest object?

2009-07-19 Thread Jochen Wiedmann
Use the XmlRpcRequestParser. Jochen On Sun, Jul 19, 2009 at 5:35 PM, Sergiy Kolesnikovskstu...@gmx.de wrote: Hi All, is there any possibility to create a XmlRpcReaquest object from, for example, a XML file or character stream containing a single XML-RPC method call in the format described

Re: how to enable mapping for methods of return type *void*

2009-07-01 Thread Jochen Wiedmann
On Tue, Jun 30, 2009 at 8:33 PM, Aggarwal, Ajayajay.aggar...@stratus.com wrote: Some methods in my class implementing RPC are of return type VOID. That works only, if a) both client and server are written in Apache XML-RPC and b) you are enabling extensions on both and c) you are enabling void

Re: XML RPC client seems to be sending GET request instead of POST

2009-06-26 Thread Jochen Wiedmann
On Thu, Jun 25, 2009 at 5:39 PM, Roald Hoolwerfro...@hoolwerf.net wrote: But that is exactly my problem: Why is my client sending a GET request instead of a POST request? No idea. That is definitely a nonsense and be it just for the length restrictions of GET. I’ve tried “redirecting” the

Re: Change the xmlrpc server reponse encoding

2009-06-18 Thread Jochen Wiedmann
You are aware, that this is a violation of the XML-RPC spec, aren't you? If so, you've got to create a custom instance of XmlWriter and a corresponding XmlWriterFactory and set that on your XmlRpcServer instance. Jochen On Thu, Jun 18, 2009 at 11:15 AM, jameljamel.essou...@gmail.com wrote:

Re: Client Factory

2009-06-15 Thread Jochen Wiedmann
It would be better, if you'd file a bug report with a suggested patch. Jochen On Mon, Jun 15, 2009 at 7:55 AM, Livnat Peerlp...@redhat.com wrote: Hello, I am working with xmlrpc-client version 3.1.1. I have a java client and the server is written in python. I want to invoke a remote

Re: [jira] Commented: (XMLRPC-169) XmlRpcSunHttpTransport creates a new connection for every request.

2009-06-08 Thread Jochen Wiedmann
At least, your account is valid, and you're a member of the ws group. Don't know about the svn privileges, but that's something I cannot check. Jochen On Mon, Jun 8, 2009 at 9:10 AM, Alan Burlisonalan.burli...@sun.com wrote: Jochen Wiedmann (JIRA) wrote:    [ https://issues.apache.org/jira

Re: org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers response: Unknown type: string

2009-06-07 Thread Jochen Wiedmann
Please, use tcpmon, WireShark, or a similar tool to create a trace of the servers response and let us see that. Thanks, Jochen On Sat, Jun 6, 2009 at 9:34 PM, Satya Prasad Sahusatya.s...@gmail.com wrote: Hi All,I need help urgently. My back end is python script acting as a server using

Re: ThreadPool deadlock

2009-05-19 Thread Jochen Wiedmann
On Mon, May 18, 2009 at 5:41 PM, Lars Schnoor lars.schn...@ifad.dk wrote: I am using the newest snapshot and it reduced the frequency of crashes considerably, but I still have problems with it from time to time. I did however not get a chance to check if it is the same deadlock problem as

RESULT: Alan Burlison as committer

2009-05-13 Thread Jochen Wiedmann
Passed with three positive votes: Siegfried, Henri, and myself. Welcome to the club, Alan. :-) -- Don't trust a government that doesn't trust you.

Re: How can I add a custom attribute (for example php_class) in the xmlrpc server xml output

2009-05-11 Thread Jochen Wiedmann
On Mon, May 11, 2009 at 12:07 PM, Jamel ESSOUSSI jessou...@active-telecom.com wrote: I use a xmlrpc java server with a php client, i would like know how can I add a custom attribute in the struct tag in the java server side. I use the apache xmlrpc version 2. Not so easy with version 2. In

Re: Problem with XmlRpcClient.execute()

2009-05-10 Thread Jochen Wiedmann
On Sun, May 10, 2009 at 1:51 PM, Lars Schnoor lars.schn...@ifad.dk wrote: Now I checked the newest source out, but how do I build it? I found some eclipse files, but my NetBeans 6.5 does not want to import them as a Eclipse project. Is there maybe some documentation to explain how to get the

Re: Problem with XmlRpcClient.execute()

2009-05-09 Thread Jochen Wiedmann
Funny, looks like https://issues.apache.org/jira/browse/XMLRPC-168 Checkout and build the latest version from SVN. On Sat, May 9, 2009 at 11:21 PM, Lars Schnoor lars.schn...@ifad.dk wrote: Hi Alan Now I have been able to recreate the problem and can post the stack traces. I have actually one

Re: How to send or upload large binary file to RPC server

2009-05-08 Thread Jochen Wiedmann
On Fri, May 8, 2009 at 9:48 PM, Abdel Olakara olak...@gmail.com wrote:  XMLRPC is not not huge file trasnfer. there are limitations for XMLRPC. A better choice would be SOAP i think. XMLRPC can be used for smaller tasks and use SOAP for complex tasks as it support more data types. That's not

VOTE: Alan Burlison as committer

2009-05-08 Thread Jochen Wiedmann
Hi, I'd like to propose Alan Burlison as a committer for XML-RPC. Alan is a long time contributor of this project, providing bug reports and patches. Additionally, his interests are in an area, which has always been promoted by users on this list (standalone XML-RPC server, as opposed to servlet

Re: static mehods in handlers

2009-04-28 Thread Jochen Wiedmann
Hi, Michael, I have compared versions 3.1.1 and 3.1.2, and cannot find any difference in the handler mapping and the related classes. Can you provide an example? Which exact version have you been using before? Jochen On Tue, Apr 28, 2009 at 8:43 PM, Pitoniak, Michael mpito...@enterasys.com

Re: Do we care about Java 1.4 compatibility?

2009-04-28 Thread Jochen Wiedmann
On Tue, Apr 28, 2009 at 7:29 PM, Alan Burlison alan.burli...@sun.com wrote: Don Albertson wrote: [1] http://java.sun.com/products/archive/eol.policy.html I have a few applications that are still running in 1.4 but they only use the client functions Good point, this would just affect the

[RESULT] Release Apache XML-RPC 3.1.2 (RC1)

2009-04-26 Thread Jochen Wiedmann
Hi, for the record: Passed +1: Glen Daniels, Ant Elder, Tom Jordahl, Asankha Perera, Samisa Abeysinghe, Jochen Wiedmann, Don Albertson (Non-Binding) +0: Henri Gomez I'll publish the distribution and will post a formal announcement when the mirrors are loaded. Jochen -- I have always wished

Re: [RESULT] Release Apache XML-RPC 3.1.2 (RC1)

2009-04-26 Thread Jochen Wiedmann
On Sun, Apr 26, 2009 at 10:16 PM, Alan Burlison alan.burli...@sun.com wrote: FYI, I haven't forgotten about helping out with the XML-RPC stuff, I'm still waiting for our legal dept to get back to me. Fine :-) -- I have always wished for my computer to be as easy to use as my telephone; my

Re: Basic Authentication perl client

2009-04-21 Thread Jochen Wiedmann
On Tue, Apr 21, 2009 at 3:23 PM, Daphna Wasserman (dwasserm) dwass...@cisco.com wrote: I've tried using both LWP::UserAgent's  method credentials() HTTP:Headers' method Authorization_Basic(). I'd expect authorization_basic to do the trick. When in doubt, try to use Wireshark, tcpmon, or a

VOTE: Release Apache XML-RPC 3.1.2 (RC1)

2009-04-20 Thread Jochen Wiedmann
Hi, I'd like to call for a release of Apache XML-RPC, version 3.1.2. This is a bug fix release with no functional changes, compared to 3.1.1. See below for changes. The proposed release can be found at

Re: Session handling in XML-RPC

2009-04-15 Thread Jochen Wiedmann
On Thu, Apr 16, 2009 at 7:48 AM, Andrei Sirghi andrei.sir...@tss-yonder.com wrote: Is it possible to access HTTP Sessions from XML-RPC server and client, Can somebody tell me how can I do that. On the server: See the example on reading the client's IP address, should be easy to adopt:

Release 3.1.2?

2009-04-09 Thread Jochen Wiedmann
Hi, thanks to the work of several contributors, we have a good set of minor bug fixes and improvements. Apart from that, there is bug XMLRPC-163, which can only be resolved by publishing a new release. Therefore, I'd like to prepare an RC in the next weeks and call for a vote. Any objections?

Re: Release 3.1.2?

2009-04-09 Thread Jochen Wiedmann
On Thu, Apr 9, 2009 at 2:06 PM, Henri Gomez henri.go...@gmail.com wrote: Did there is a changelog somewhere ? https://svn.apache.org/repos/asf/webservices/xmlrpc/trunk/src/changes/changes.xml -- I have always wished for my computer to be as easy to use as my telephone; my wish has come true

Re: Migrating from xmlrpc-1 to version 3

2009-03-24 Thread Jochen Wiedmann
On Tue, Mar 24, 2009 at 9:00 AM, Daphna Wasserman (dwasserm) dwass...@cisco.com wrote: We have been using xmlrpc-1.jar in our application for a while,and are currently trying to migrate to the latest version (3.1.1) Today, on the server side, we have a class which implements XmlRpcHandler and

Re: Multiple xmlrpc calls over single connection

2009-01-13 Thread Jochen Wiedmann
On Tue, Jan 13, 2009 at 7:37 PM, Yanwar Asrigo asrigoyan...@gmail.com wrote: In my simple code, I created the xmlrpc client and then execute two xmlrpc calls using this client. However, from what I see from the log, it seems that the client reopen a new connection for the second execution.

Re: Multiple xmlrpc calls over single connection

2009-01-13 Thread Jochen Wiedmann
On Wed, Jan 14, 2009 at 4:11 AM, Yanwar Asrigo asrigoyan...@gmail.com wrote: Yes the server does offer the keepalive as I have modified it so. Did you verify that by looking into the output of tcpmon or wireshark? Jochen -- I have always wished for my computer to be as easy to use as my

Re: Handler objects..?

2009-01-09 Thread Jochen Wiedmann
On Fri, Jan 9, 2009 at 11:50 AM, Lars 'Levia' Wesselius le...@openfrag.org wrote: I'm using the Java ws-apache-xmlrpc library, but I was wondering, in Helma you were able to do like: addHandler(Auth, new WhateverClass());, if I recall correctly. In this, you have to give the classname. Now I

Re: View raw server response

2008-11-16 Thread Jochen Wiedmann
On Mon, Nov 17, 2008 at 12:51 AM, Al Twohill [EMAIL PROTECTED] wrote: Is there a way I can retrieve the raw server response in order to debug this further? The server I'm communicating with is HTTPS so packet sniffers aren't too helpful. Use Wireshark, Tcpmon, or a similar tool. Jochen --

Re: View raw server response

2008-11-16 Thread Jochen Wiedmann
On Mon, Nov 17, 2008 at 2:01 AM, Al Twohill [EMAIL PROTECTED] wrote: Like I said, the communication is over HTTPS. All I see in Wireshark is Sorry for the fast shot. AFAIK, you might use http://donsproxy.sourceforge.net/ for that. -- I have always wished for my computer to be as easy to use

Re: Custom data types with TypeConverter

2008-09-05 Thread Jochen Wiedmann
On Fri, Sep 5, 2008 at 3:28 PM, Stefan Gmeiner [EMAIL PROTECTED] wrote: I have tried to achieve this through implementing a custom TypeConverter. The TypeConverter is the wrong approach. Use a custom TypeFactory and take the JAXBTypeFactory as an example. Jochen -- Look, that's why there's

VOTE: Release Apache XML-RPC 3.1.1 (Take 2)

2008-08-10 Thread Jochen Wiedmann
Hi, once more, I'd like to call for a release of Apache XML-RPC 3.1.1. Compared to the first attempt, the following problems have been fixed: - The distributed jar files are now containing META-INF/NOTICE.txt and META-INF/LICENSE.txt files. - All source files have been updated to carry headers,

Re: VOTE: Release Apache XML-RPC 3.1.1 (Take 2)

2008-08-10 Thread Jochen Wiedmann
Forgot to note: The proposed distribution is at http://people.apache.org/~jochen/xml-rpc/dist The proposed site is at http://people.apache.org/~jochen/xml-rpc/dist On Sun, Aug 10, 2008 at 8:34 PM, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, once more, I'd like to call for a release

Re: VOTE: Release Apache XML-RPC 3.1.1

2008-08-09 Thread Jochen Wiedmann
On Sat, Aug 9, 2008 at 10:44 AM, ant elder [EMAIL PROTECTED] wrote: Looks like the artifacts are missing LICENSE and NOTICE files, and the source files still have the old ASF header. Ok, I'll fix that. Thanks, Jochen -- Look, that's why there's rules, understand? So that you think before

Re: XML RPC 3.1.1 - REPUBLISH

2008-08-07 Thread Jochen Wiedmann
On Thu, Aug 7, 2008 at 4:18 PM, vizireanu-isaic dragos [EMAIL PROTECTED] wrote: I'm using the xml-rpc 3.1 library, but I have problems with the User Agent. As I saw, you resolved this problem, and even publish the library at this adress:

VOTE: Release Apache XML-RPC 3.1.1

2008-08-05 Thread Jochen Wiedmann
Hi, as the snapshot releases have recently been removed from the repository, it seems to be about time for a bug fixing release. See http://people.apache.org/~jochen/xml-rpc/site/changes-report.html for a detailed list of changes. Therefore, I'd like to call for a vote on the release of

Re: Regarding custom dateTime.iso8601 format...

2008-07-31 Thread Jochen Wiedmann
On Thu, Jul 31, 2008 at 3:55 PM, Kent Närling [EMAIL PROTECTED] wrote: We have a customer that insists on having FULL ISO 8601 dates (ie with timezone) However instead of using proper a extension datatype for this, they have modified the standard dateTime.iso8601 type to use this format!

Re: xmlrpc 3.1

2008-07-21 Thread Jochen Wiedmann
On Mon, Jul 21, 2008 at 11:26 AM, TomazM [EMAIL PROTECTED] wrote: On http://ws.apache.org/xmlrpc/advanced.html write Note, that this means losing the XmlRpcClients multithreading abilities! so this is not a good solution. I wonder why is the limitation in HTTP header, in HTTP RFC there is

Re: xmlrpc 3.1

2008-07-21 Thread Jochen Wiedmann
On Mon, Jul 21, 2008 at 1:40 PM, TomazM [EMAIL PROTECTED] wrote: I would like to pass token(800 characters long Base64) as a password and on server side validate this token. Most HTTP servers (note: *Not* XML-RPX) will refuse that, as headers are typically restricted to something like 1024

Re: XML-RPC and File Transfer

2008-07-16 Thread Jochen Wiedmann
On Wed, Jul 16, 2008 at 9:19 PM, Mike Boyers [EMAIL PROTECTED] wrote: I also thought of the possibility of pulling the contents of a file into a large byte[] and sending that. This might work, but I could I potentially run into encoding issues? And I'm also wondering if it even makes sense

Re: RPC With A Dynamic Number of Variables

2008-07-15 Thread Jochen Wiedmann
On Tue, Jul 15, 2008 at 3:51 PM, Elam Daly [EMAIL PROTECTED] wrote: We have a client who is expecting us to create an XML-RPC service with a dynamic number of variables, ie myRPC(var_1,var_2, var_x); Considering the static nature of the ws-xmlrpc library, I don't see how I can achieve this

Re: Problem with login using xml-rpc api

2008-07-02 Thread Jochen Wiedmann
On Wed, Jul 2, 2008 at 3:03 PM, Helder Ribeiro [EMAIL PROTECTED] wrote: I tried to run the login before calling the create but. The login works fine, it returns the logged user id, but when I call the create I got the same error. Do you have a pointer to the API of the login method? I could

Re: Problem with login using xml-rpc api

2008-07-02 Thread Jochen Wiedmann
On Wed, Jul 2, 2008 at 3:15 PM, Helder Ribeiro [EMAIL PROTECTED] wrote: This is the api documentation: http://www.bugzilla.org/docs/3.0/html/api/Bugzilla/WebService/User.html It says *Returns* On success, a hash containing one item, id, the numeric id of the user that was logged in. A

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Jochen Wiedmann
On Mon, Apr 14, 2008 at 1:05 AM, eejimkos [EMAIL PROTECTED] wrote: (HashMapString,ListString)client.execute(Open.OpenEnvironment1, params); I am not exactly sure, what you receive, but - Generics are a no - The ListString is converted into an Object[] Possibly other problems may be

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Jochen Wiedmann
On Mon, Apr 14, 2008 at 12:40 PM, Stanislav Miklik [EMAIL PROTECTED] wrote: return value (Jochen probably knows that always Object[], but since it is not described...) That's not completely true: See http://ws.apache.org/xmlrpc/faq.html#arrays May be, that we need to make this more

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Jochen Wiedmann
On Mon, Apr 14, 2008 at 12:55 PM, Stanislav Miklik [EMAIL PROTECTED] wrote: Btw: how can I create patch for doc? Just checkout the projects source code. All docs, including the web site, are part of it. Jochen -- Look, that's why there's rules, understand? So that you think before you

Re: Clientside SSL Question

2008-04-10 Thread Jochen Wiedmann
On Thu, Apr 10, 2008 at 8:34 PM, Thomas Gaertner [EMAIL PROTECTED] wrote: I have to admit I haven't used xmlrpc since some time now, but I'm pretty certain that you still have to implement your own way to deal with certs. Yet having your cert signed by a trusted authority makes things a bit

Re: embedding a string into structure XML RPC request

2008-03-13 Thread Jochen Wiedmann
On Thu, Mar 13, 2008 at 10:41 AM, fahad.aizaz [EMAIL PROTECTED] wrote: public TypeParser getParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl You don't need to create a custom parser. The serializer is sufficient in your case. Btw, it would be nice if you could create an entry on

Re: embedding a string into structure XML RPC request

2008-03-12 Thread Jochen Wiedmann
On Wed, Mar 12, 2008 at 10:56 AM, fahad.aizaz [EMAIL PROTECTED] wrote: membernameoriginNodeType/namevaluestringTEST/string/value/member [...] membernameoriginNodeType/namevalueTEST/value/member [...] The tag string/string is missing from the output xml data above. The XML-RPC spec

Re: XmlRpcServlet is not a javax.servlet.Servlet error

2008-02-17 Thread Jochen Wiedmann
On Feb 17, 2008 4:18 PM, [EMAIL PROTECTED] wrote: But I got exception after loading jetty: javax.servlet.UnavailableException: Servlet class org.apache.xmlrpc.webserver.XmlRpcServlet is not a javax.servlet.Servlet at

Re: Basic Authentication with xmlrpc-3.1

2007-11-22 Thread Jochen Wiedmann
On Nov 22, 2007 7:16 PM, Simson Garfinkel [EMAIL PROTECTED] wrote: I have no problem with the username password using either my browser or using my XML-RPC implementation in python. Is there any chance that this code just doesn't work? Unlikely. I am myself using it in more than one project

Re: XML RPC request/response standards

2007-11-12 Thread Jochen Wiedmann
On Nov 13, 2007 2:33 AM, [EMAIL PROTECTED] wrote: I want to know if the XML request formed using Apache XML RPC library is null-terminated? It certainly isn't. Furthermore, is it a part of XML RPC standards to have null terminated request/response? No. In contrary, the NUL character is

Re: XmlRpcRequest

2007-11-09 Thread Jochen Wiedmann
On Nov 9, 2007 11:33 PM, John Bellone [EMAIL PROTECTED] wrote: All I basically need is to parse and serialize the messages. I'm receiving them in a ByteBuffer What do you plan to take as the parsers input/output? The parsers I know require In-/OutputStream, not ByteBuffer. -- Look, that's

Re: Examining XML RPC request packets

2007-11-07 Thread Jochen Wiedmann
On 11/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have tried Ethreal and Wireshark , they don't help. Then you did something wrong. They do help. An alternative tool is tcpmon, btw. -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry

Re: contentLengthOptional really working as documented?

2007-09-24 Thread Jochen Wiedmann
On 9/24/07, Andreas Sahlbach [EMAIL PROTECTED] wrote: No guru available? I just want to know what is the official roadmap regarding streaming. Has it changed away from the documented features or is it maybe currently unknown? Or is it just a personal problem of my installation? Any hint would

Re: XmlRpcContext in version 3

2007-09-20 Thread Jochen Wiedmann
On 9/20/07, Raghbir Singh [EMAIL PROTECTED] wrote: I have been using XML-RPC version 2 for some time and I decided to upgrade to version 3 but I am stuck at a roadblock which comes from XmlRpcContext. My server used one handler and that handler extended ContextXmlRpcHandler and for

Re: XmlRpcContext in version 3

2007-09-20 Thread Jochen Wiedmann
On 9/20/07, Raghbir Singh [EMAIL PROTECTED] wrote: I was thinking of extending a Server class like XmlRpcServletServer and then overloading the function newConfig which returns a new class MyConfig which is a subclass of XmlRpcHttpRequestConfigImpl. Now before calling doPost in servlet I

Re: Apache XML-RPC Server - No such handler exception

2007-09-09 Thread Jochen Wiedmann
On 9/9/07, Ondrej Martinsky [EMAIL PROTECTED] wrote: doesn't recognize the handler MyRemoteProcedure provided by addHandler I believe the problem is that you need to add the method name. For example, don't use MyRemoteProcedure, but MyRemoteProcedure.someMethod. Jochen -- Look, that's why

Re: Bug in FAQ for WS-XMLRPC 3.1

2007-09-04 Thread Jochen Wiedmann
Hello, Daniel, On 9/4/07, Daniel Janus [EMAIL PROTECTED] wrote: However, this does not work because (as I found out after several hours' worth of digging through the code) the reflexive handler mapping is established during the call to super.newPropertyHandlerMapping(), when the new factory

Re: content-length problems?

2007-09-04 Thread Jochen Wiedmann
On 9/4/07, Póka Balázs [EMAIL PROTECTED] wrote: which must be wrong, because it sets the ContentLength header to be the length of the _uncompressed_ request, but returning the compressed message. This is bad according to the HTTP spec. Do you have a quote that supports your opinion? I/O

Re: Does XML-RPC support xen kernel Linux

2007-09-03 Thread Jochen Wiedmann
On 9/3/07, Da Shuang He [EMAIL PROTECTED] wrote: I try XML RPC on the XEN kernel Linux, but when I call a method via XML-RPC, both server and client have no response, but When I restart the system to the normal kernel, it works well, so I wonder whether the XML-RPC support xen kernel Linux ?

Re: Looking for pointers - sorry if posting to wrong group

2007-08-10 Thread Jochen Wiedmann
On 8/10/07, John Harrison [EMAIL PROTECTED] wrote: I'm looking for pointers, I am trying to run XML-RPC server through tomcat is there any way that the server can get the id of the client that has called the request this way or will I have to change the way the server is hosted. What is the

Re: Vendor extensions

2007-08-03 Thread Jochen Wiedmann
On 8/3/07, Andreas Schlicker [EMAIL PROTECTED] wrote: That was what I was suspecting. However, I'm using the xmlrpc-server-3.0.jar from the current release. Is there a way for telling the WebServer to use XML-RPC 3.0 on the server side? Use the XML-RPC 3.0 WebServer, of course. Or, even

Re: Vendor extensions

2007-08-02 Thread Jochen Wiedmann
On 8/2/07, Andreas Schlicker [EMAIL PROTECTED] wrote: [Fatal Error] :1:1: Content is not allowed in prolog. Most likely an error on the server side, which causes that the server returns an HTML page, and not an XML page, as expected. Use tcpmon, wireshark or a similar tool to trace the servers

Re: Vendor extensions

2007-08-02 Thread Jochen Wiedmann
On 8/2/07, Andreas Schlicker [EMAIL PROTECTED] wrote: As soon as I add config.setGzipCompressing(true); in the client, it doesn't work anymore. Yes, of course. If I read the headers right, then you are using XML-RPC 1.0 on the server side, which didn't support that feature. Jochen --

Re: [jira] Updated: (XMLRPC-132) Enabling the ability for the xml-rpc client to redirect requests

2007-07-23 Thread Jochen Wiedmann
On 7/23/07, COHEN, STEVEN M (ATTSI) [EMAIL PROTECTED] wrote: java.nio.charset.IllegalCharsetNameException: No, this looks more like an encoding problem. May be, the server uses non-ascii characters in headers, or something like that. -- Besides, manipulating elections is under penalty of

  1   2   3   4   >