Hello,

I am trying to use the JAXBBlockFactory in Axis2, but am getting the
'missing @XmlRootElement Annotation' exception when I try to do the
following

jaxbBlockFactory.createFrom(wrappedRequest, new
JAXBBlockContext(jaxbContext), qname).getOMElement();

It's failing try to get the OMElement. I have used standard UDDI V2 and
V3 wsdls and xsds. I have used WSImportTool to render the Java types
from the wsdl and xjc for the schema. 

One of the operations in UDDI is:

Find_binding (FindBinding body)

The FindBinding type does have @XmlRootElement annotation. Hence the
exception. Does someone know why xjc would not annotate the type
correctly?

Thanks
Sumit 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to