cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice: Custom Java Objects -> Response is empty

Former Member
0 Kudos

Hi there,

I am trying to create a Web Service with a custom return type in NW JEE 5 using annotations.

Simple types e.g. String or int work fine.

When I try to call the WS the response value is empty.

Do need to define some JAXB in my custom java class? Until now I just implemented Serializable...

thanks

jc

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

solved it:

You need to use JAXB for the structured classes.

With Annotations such as @XmlRoolElement and @XmlElement resp. XmlAttribute you can map Java to XML.

jc