Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body>
- javax.xml.bind.JAXBException: class java.util.LinkedList nor any of its super class is known to this context
- @XmlElementWrapper(name="error_list")
- @XmlElement(name="error")
- @WebService()
- public class TechnicalSOAP {
- @WebMethod
- public Object technicalMethods(){
- List<Device> devicesList = new LinkedList();
- devicesList.add(new Device);
- return devicesList;
- }
- public class Device(){
- private Integer id;
- public void setId(Integer id){
- this.id = id;
- }
- public void getId(){
- return this.id;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement