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 |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.