axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Ext-Zoltan.Schre...@nokia.com>
Subject RE: InvocationTargetException
Date Thu, 04 Mar 2004 08:20:30 GMT
Just another hunch: maybe you are using a BeanSerializer/Deserializer, but your Complex Type
is not a bean - for example it doesn't have getters and setters for fields, etc. 

> -----Original Message-----
> From: ext Bobba, Ramesh [mailto:ramesh.bobba@insignia.com]
> Sent: 04 March, 2004 00:07
> To: Axis-User (E-mail)
> Subject: InvocationTargetException
> 
> 
> 
> Hi,
> 
> When I have a method that takes a String and returns a String, the web
> service works fine. When ther is a method that takes a 
> complex type, I get
> the InvocationTargetException. Can you please help me.
> 
> Thanks,
> 
> Ramesh.
> 
> 
> AxisFault
>  faultCode: 
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode: 
>  faultString: java.lang.reflect.InvocationTargetException
>  faultActor: 
>  faultNode: 
>  faultDetail: 
>         {http://xml.apache.org/axis/}stackTrace: AxisFault
>  faultCode: 
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode: 
>  faultString: java.lang.reflect.InvocationTargetException
>  faultActor: 
>  faultNode: 
>  faultDetail: 
> 
> java.lang.reflect.InvocationTargetException
>         at
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFault
> Builder.java:2
> 60)
>         at
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultB
> uilder.java:16
> 9)
>         at
> org.apache.axis.encoding.DeserializationContextImpl.endElement
> (Deserializati
> onContextImpl.java:1015)
>         at 
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1573)
>         at 
> org.apache.crimson.parser.Parser2.content(Parser2.java:1824)
>         at 
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1552)
>         at 
> org.apache.crimson.parser.Parser2.content(Parser2.java:1824)
>         at 
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1552)
>         at 
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:534)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:318)
>         at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>         at
> org.apache.axis.encoding.DeserializationContextImpl.parse(Dese
> rializationCon
> textImpl.java:242)
>         at 
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
>         at org.apache.axis.client.Call.invoke(Call.java:2553)
>         at org.apache.axis.client.Call.invoke(Call.java:2248)
>         at org.apache.axis.client.Call.invoke(Call.java:2171)
>         at org.apache.axis.client.Call.invoke(Call.java:1691)
>         at GetInfo.main(GetInfo.java:117)
> 
> 
> 

Mime
View raw message