ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bellekens, P.A.E." <P.A.E.Bellek...@TUE.nl>
Subject RE: RPC connection problem
Date Tue, 18 Jul 2006 10:52:47 GMT
Thanx for the reply.

I added to the server:

###########################################################

DynamicHandlerMapping dhm = new DynamicHandlerMapping(
	new TypeConverterFactoryImpl(),
	false);
dhm.addHandler("Start", this.getClass());
		
server.getXmlRpcServer().setHandlerMapping(dhm);

###########################################################

But when I execute the client now, it just hangs on the execute method
and nothing happens.
I get neither exceptions nor any indication what is happening or what he
is waiting for. Do I need to do anything more with the
TypeConverterFactoryImpl? 

Also when I change the second parameter of the DynamicHandlerMapping
constructor to 'true' I get a VERY long list of exceptions... 

I also can't really find any documentation for this implementation.

The Jars I include at the moment are:

- commons-codec-1.3.jar
- commons-logging-1.1.jar
- ws-commons-util-1.0-SNAPSHOT.jar
- xmlrpc-client-3.0b1.jar
- xmlrpc-common-3.0b1.jar
- xmlrpc-server-3.0b1.jar


Regards
Pieter

>> java.lang.NullPointerException
>>
>>       at
>>
>org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.
java>:42) 
>
>You did not invoke server.setHandlerMapping(...).
>
>
>Jochen
>
>-- 


---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Mime
View raw message