title: nor any of its super class is known to this context in jaxb
body: <p>Im getting below exception when trying send a soap request through stubs.</p>
  
  <pre><code>    [com.sun.istack.internal.SAXException2: class com.domain.Test nor any of its super class is known to this context.
      javax.xml.bind.JAXBException: class com.domain.Test nor any of its super class is known to this context.]
  at com.sun.xml.internal.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:408)
      at com.sun.xml.internal.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:173)
      at com.sun.xml.internal.ws.api.message.MessageWrapper.writeTo(MessageWrapper.java:206)
      at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:129)
      at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:227)
      at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:210)
      at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
      at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
  </code></pre>
  
  <p>The way im executing this is</p>
  
  <pre><code>NmsRtEvent event = new NmsRtEvent(); // WebServiceClient
  RtEventMethodsSoap methodsSoap = event.getRtEventMethodsSoap(); //WebService
  Element element = new Element();
  element.setAny(new Test());
  plId = methodsSoap.pushEvent(token,element);
  </code></pre>
  
  <p>Test class</p>
  
  <pre><code>@XmlType(namespace = "http://www.test.com/test")
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlRootElement
  public class Test implements Serializable{
  
      private int id;
  
  }
  </code></pre>
  
  <p>Thanks</p>