Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS There's no ObjectFactory / IllegalAnnotationsError JAX-WS

 
Stuart Swearengen
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm building a webservice client from WSDL. I have a client which works fine if i build/call it in AXIS, but in JAX-WS I get an error when I call the built client.

"Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
There's no ObjectFactory with an @XmlElementDecl for the element {http://etc...}Value"


I have a feeling it might be this (see below) that is causing a problem?

Any thoughts?

@XmlElementRef(name = "Value", type = JAXBElement.class)
protected JAXBElement<Object> value;



[I'm using WAST with fixpack 17 - if that has any relevance]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic