You are getting some Axis generated code into hte service somehow:
....
            at org.apache.axis.AxisFault
            at com.taxwareenterprise.ws.TweFault
.....

That is the issue.   Where did the TweFault come from?    That would need to 
be removed.

Dan



On Mon December 14 2009 11:15:43 am Rakesh Rai wrote:
> 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.ch
> eck( *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
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to