Hi,
i was trying to generate the client stubs for the webservice interfaces and i am facing weird issues.
I have two beans
Stateless
@Local( { IUserManager.class })
@WebService(serviceName = "UserManager", endpointInterface = "com.singularity.ee.controller.api.services.IUserManager")
public class UserManagerBean extends AConfigObjectPersistorBean<User, UserEntity> implements IUserManager
{
getAll()// impl
}
@WebService
public interface IUserManager
{
User[] getAll()
}
Stateless
@Local( { IAccountManager.class })
@WebService(serviceName = "AccountManager", endpointInterface = "com.singularity.ee.controller.api.services.IAccountManager")
public class AccountManagerBean extends AConfigObjectPersistorBean<Account, AccountEntity> implements IAccountManager
{
getAll()// impl
}
@WebService
public interface IAccountManager
{
Account[] getAll()
}
------------------
So the problem is the generated stubs return type for getALL both in the case of AccountManagerBean and UserManagerBean are same which is Account[]
And whenever i redeploy it gives me different types??
Can solution to this problem. Oh by the way the xsd generated for these wsdl are also wrong...
[Message sent by forum member 'eligetiv' (eligetiv)]
http://forums.java.net/jive/thread.jspa?messageID=289948