Hai Friends
I am very new to WSIF. I created an .wsdl file using
AXIS and i created an client file to call the
webservice.
my method definition is like this
public Hashtable getValues(ArrayList al, String arg1)
I have few doubts over it..
how we can map the java.util.Arraylist to WSIFService.
In examples Apache provides there are ways to map the
complex objects but not ArrayList or Hashtable.
I declared the following Mapping
service.mapType(
new
QName("http://localhost:7001/axis/services/GetValues",
"java.util.ArrayList"),
Class.forName(java.util.ArrayList"));
And i tried to get the Stub using the following
command
ProductRemote stub = (ProductRemote)
service.getStub(ProductRemote.class);
It throws the following exception
org.apache.wsif.WSIFException: Method toString is not
in interface ProductRemote
java.lang.reflect.UndeclaredThrowableException
at $Proxy0.toString(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at Run.main(Run.java:51)
Caused by: org.apache.wsif.WSIFException: Method
toString is not in interface ProductRemote
at
org.apache.wsif.base.WSIFClientProxy.findMatchingOperation(Unknown
Source)
at
org.apache.wsif.base.WSIFClientProxy.invoke(Unknown
Source)
... 4 more
Can any one help me to resolve this issue
=====
Thanks and Regards
T.Gopalakrishnan
=====
Thanks and Regards
T.Gopalakrishnan
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html