Hi all.
I'm reading The
J2EE 1.4 tutorial , Web Serives section.
(I'm using RI 1.4)
I created a very simple web serivce that search for a person in an array.
this array is defined in the implementation class of the service end point interface.
I created a static stub client and run it without any problems and it is working.
then I tried to create a dyanmic proxy client, here is the steps :
1. config.xml file :
2. running the command :
wscompile -import -d build -nd build -f:norpcstructures -classpath build config-dynamic.xml
this command generates some class files.
here are the important fragments of this client:
when I tried to run the application, I got :
myProxy is not null then a long long, stack trace exception.
deserialization error, Null Pointer Exception at line :
result = myProxy.getPerson(args[0]);
this method returns a Person object which implements Serializabe interface.
any ideas ??
thanks.
[ December 26, 2004: Message edited by: John Todd ]