Hi!
First of all:
I'm using Spring 2.05 with XFire 1.6 and Hibernate 3.2.0
I'm using JSR181 anotations to expose my SecurityService(interface) and
SecurityServiceImpl as class that implements that interface.

I'm trying to expose few methods that responds using generic class I've
designed
Class is simple TO with add 2 fields(response code and response message) to
any Object I want to transport. It looks like this


//import
class GenericTransferObject<T> {
 T to;
 int responseCode;
 int responseMessage;
// getters and setters for fields
// one no argument constructor
// hashCode, equals, toString
}
When I'm exposing any method that responds let say
GenericTransferObject<String> in wsdl TO type is not resolved as String but
as anyType....
Anyone has same problem as me? Is there any solution for that

Slawomir Krolik

Reply via email to