Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How return an element from soap client?
How return an element from soap client? [message #120200] Tue, 12 July 2005 21:34
Eclipse UserFriend
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
Previous Topic:logfile
Next Topic:Howto add/use a New Server Runtime for JBoss 4.0.2 ???
Goto Forum:
  


Current Time: Wed Sep 04 23:21:00 GMT 2024

Powered by FUDForum. Page generated in 0.03447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top