cancel
Showing results for 
Search instead for 
Did you mean: 

Return type from EJB business method is not appearing in WSDL

former_member214364
Active Contributor
0 Kudos

Hi,

I have created Business method in EJB which will return object(Created class with 4 attributes) and deployed(including virtual interface and Webservice description) to JEE 5 server without any issues.

When i look at WSDL in JEE 5,it shows return object type class name as complex type without any elements under that(suppose to have 4 elements for 4 attributes in a class).

it works well if i return non-custom objects like string,arraylist and so on.. but only problem with object as return type(i.e object is from class)

I used NWDS7.0 and its just J2EE application.

does anyone come across this type of issue?

Regards,

Jag

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Ensure that your class implements Serializable.

Walter