I was trying to find out how to fix this issue which is caused after the
generated Apache CXF code. This never happened in Axis generated Java code.

 Its complaining about some annotation which I don’t understand how to fix
the same.



In LnItm.java, I see the variables defined as shown below.

    *protected* *int* dropShipInd;

    @XmlElementRef(name = "lOA", namespace = "
http://ws.taxwareenterprise.com";, type = JAXBElement.*class*)



Its hard to find out what exactly needs to be done to fix the error as shown
below.



Caused by: *java.security.PrivilegedActionException*: *
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException*: 6 counts
of IllegalAnnotationExceptions

java.lang.StackTraceElement does not have a no-arg default constructor.

      this problem is related to the following location:

            at java.lang.StackTraceElement

            at public java.lang.StackTraceElement[]
java.lang.Throwable.getStackTrace()

            at java.lang.Throwable

            at public java.lang.Throwable java.rmi.RemoteException.detail

            at *java.rmi.RemoteException*

            at org.apache.axis.AxisFault

            at com.taxwareenterprise.ws.TweFault



There's no ObjectFactory with an @XmlElementDecl for the element {
http://ws.taxwareenterprise.com}lOA.

      this problem is related to the following location:

            at protected javax.xml.bind.JAXBElement
com.taxwareenterprise.ws.cxf.LnItm.loa

            at com.taxwareenterprise.ws.cxf.LnItm

            at com.taxwareenterprise.ws.cxf.ForcLnItm

            at protected java.util.List
com.taxwareenterprise.ws.cxf.ForcLnItms.forcLnItm

            at com.taxwareenterprise.ws.cxf.ForcLnItms

            at protected com.taxwareenterprise.ws.cxf.ForcLnItms
com.taxwareenterprise.ws.cxf.ForcDoc.forcLnItms

            at com.taxwareenterprise.ws.cxf.ForcDoc

            at protected com.taxwareenterprise.ws.cxf.ForcDoc
com.taxwareenterprise.ws.cxf.ForceCalculationRequest.forcDoc

            at com.taxwareenterprise.ws.cxf.ForceCalculationRequest





at
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(
*IllegalAnnotationsException.java:66*)

      at
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(*
JAXBContextImpl.java:422*)

      at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(*
JAXBContextImpl.java:270*)

      at com.sun.xml.internal.bind.v2.ContextFactory.createContext(*
ContextFactory.java:103*)

      at com.sun.xml.internal.bind.api.JAXBRIContext.newInstance(*
JAXBRIContext.java:89*)

      at com.sun.xml.internal.ws.model.AbstractSEIModelImpl$1.run(*
AbstractSEIModelImpl.java:126*)

      at com.sun.xml.internal.ws.model.AbstractSEIModelImpl$1.run(*
AbstractSEIModelImpl.java:124*)

      ... 11 more




-- 
Email : rairak...@gmail.com
Addr: 116 Fringetree Drive, West Chester, PA, 19380

Cell Ph : 551 998 4457
Fax : 270-573-1611

Renaissance of Darwinism : It is not the strongest of the species that
survive, nor the most intelligent, but the ones most responsive to change.

Reply via email to