well, I just thought, that I could use the example of "advanced techniques"
(http://ws.apache.org/xmlrpc/advanced.html) without any changes.

In the end, I just had to expand the code with:

client.setTypeFactory(new MyTypeFactory(client));

now it works fine!


Jochen Wiedmann wrote:
> 
> Beg your pardon, but these are trivial Java compiler errors, which
> anyone with a little bit Java knowledge in your office should be able
> to resolve. Please query your colleagues.
> 
> Jochen
> 
> 
> On Mon, Jun 21, 2010 at 9:58 AM, stefan V <steta...@gmx.de> wrote:
>>
>> Sorry, I forgot to include the received errors.
>>
>> MyClass.java:22: cannot find symbol
>> symbol  : constructor MeinType()
>> location: class MeinType
>>    client.setTypeFactory(new MeinType());
>>                          ^
>> ./MeinType.java:27: cannot find symbol
>> symbol  : variable pFormat
>> location: class MeinType
>>                return new DateParser(pFormat);
>>                                      ^
>> ./MeinType.java:34: cannot find symbol
>> symbol  : class Date
>> location: class MeinType
>>            if (pObject instanceof Date) {
>>                                   ^
>> 3 errors
>>
>> I really don't know, why I get these errors...
>>
>> can you help me? The lib seems to work fine for me.
>>
>> Thanks!
>>
>>
>> Jochen Wiedmann wrote:
>>>
>>> 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 server is yyyy-MM-dd HH:mm:ss.SSS.
>>>>
>>>> So I tried to use the "Custom Data Type" Example
>>>> (http://ws.apache.org/xmlrpc/advanced.html).
>>>>
>>>> But it doesn't work.
>>>>
>>>> Did I forgot something? Is there a mistake in it?
>>>>
>>>> Thank you for your help!
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Advanced-%22Custom-Data-Type%22-tp28913982p28913982.html
>>>> Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Germanys national anthem is the most boring in the world - how telling!
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Advanced-%22Custom-Data-Type%22-tp28913982p28945949.html
>> Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Germanys national anthem is the most boring in the world - how telling!
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Advanced-%22Custom-Data-Type%22-tp28913982p28947019.html
Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.

Reply via email to