How return an element from soap client? [message #120200] |
Tue, 12 July 2005 17:34 |
Eclipse User |
|
|
|
Originally posted by: andreas140983.libero.it
Hi, I have created a client soap and I have a problem with the response
parameter. In other words, when I obtain
Response resp = call.invoke(
"http://localhost:8080/soap/servlet/rpcrouter", "");
Parameter ret = resp.getReturnValue();
anyone say if it's possible to return dinamically a Type that is different
from these defined in the java.lang.Class?
In other words, if I find with the ret.getType() method that my type is
for example "Product" that in the web service is so defined:
public class Product{
String a;
String b;
}
how I can dinamically obtain something of similar to this:
Product value = (Product) ret.getValue();
It is possible?
Please help me!
Thanks, Andrea
|
|
|
Powered by
FUDForum. Page generated in 0.07040 seconds