on 03-15-2007 2:58 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.