permaculture playing cards*
The moose likes Web Services and the fly likes JAX-WS There's no ObjectFactory / IllegalAnnotationsError JAX-WS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS There Watch "JAX-WS There New topic
Author

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

Stuart Swearengen
Greenhorn

Joined: Nov 02, 2006
Posts: 26
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS There's no ObjectFactory / IllegalAnnotationsError JAX-WS
 
Similar Threads
WebService Security UsernameToken configuration in JAX-WS for Websphere Application Server 6.1
calling web service from another web service logging
Spring-ws client with Jax-ws web service
Dynamic Client example in Ivan Kriz's tutorial
CXF and Maven