The problem is in your types classes passed to the wsprovide tool. One of reason I can see from the exception stack trace is the types class implemented interface java.io.Serializable and JAXB can not handle it. Here is the reason why JAXB can not : http://weblogs.java.net/blog/2006/06/06/jaxb-and-interfaces