axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Rudolf <michael_rud...@t-online.de>
Subject Re: java.lang.reflect.UndeclaredThrowableException
Date Tue, 29 Nov 2005 03:05:27 GMT
Problem solved....forgot to inherit from Serializable at one class....
Michael

> Hi,
> i have the following problem: When calling an axis web service that 
> expects a custom class as parameter i get the exception shown below at 
> the client. The class that is the parameter consists of a couple of 
> other classes and strings and resides in another package (no 
> sub-package). When i call the service with "null" everything works. 
> Otherwise i get the exception. Any ideas?
> Thanks a lot!
> Michael
>
>
> AxisFault
> faultCode: 
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.lang.reflect.UndeclaredThrowableException
> faultActor:
> faultNode:
> faultDetail:
>    {http://xml.apache.org/axis/}hostname:erle
>
> java.lang.reflect.UndeclaredThrowableException
>    at 
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) 
>
>    at 
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) 
>
>    at 
> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

>
>    at 
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)

>
>    at 
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)

>
>    at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)

>
>    at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)

>
>    at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)

>
>    at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)

>
>    at 
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) 
>
>    at 
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)

>
>    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>    at 
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

>
>    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>    at 
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

>
>    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
>    at org.apache.axis.client.Call.invoke(Call.java:2748)
>    at org.apache.axis.client.Call.invoke(Call.java:2424)
>    at org.apache.axis.client.Call.invoke(Call.java:2347)
>    at org.apache.axis.client.Call.invoke(Call.java:1804)
>    at 
> al.JCT.service.JCTSoapBindingStub.submitJob(JCTSoapBindingStub.java:407)
>    at test.JCTClient.empSessionGetAllEmployees(JCTClient.java:74)
>    at test.JCTClient.main(JCTClient.java:83)
>
>
>
>


Mime
View raw message