axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szöllosy Balázs <szoll...@virgosystems.hu>
Subject InvocationTargetException..
Date Thu, 11 Sep 2003 09:32:59 GMT
Hi !

I'm successfully deployed an Axis webservice under iPlanet 6.0 on WinXP,
using the JRE of  JDK 1.4.1. After I deployed this webservice under
iPlanet 6.0 on Solaris using the same JRE. I checked
/servlet/AxisServlet and it shows that the deployment was successfull. I
called a service without method, and it shows it's an Axis service. But
when I try to invoke a method from a servlet like this:
   call = (Call)service.createCall();
   call.setTargetEndpointAddress( new java.net.URL(defaultURL) );
   call.setOperationStyle(org.apache.axis.enum.Style.RPC);
   call.setOperationUse(org.apache.axis.enum.Use.LITERAL);
   call.setOperationName("getContextList");
 
call.registerTypeMapping(Class.forName(typePrefix+ctxList),qnList,bfCtxL
ist,bdfCtxList);
 
call.registerTypeMapping(Class.forName(typePrefix+ctx),qnCtx,bfCtx,bdfCt
x);
   call.setReturnType(qnList);
   terminus.query_types.ContextListType
ret=(terminus.query_types.ContextListType)call.invoke(new Object[] {});

I get InvocationTargetException, where the stack trace is:
java.lang.reflect.InvocationTargetException
 at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:251)
 at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:168)
 at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseriali
zationContextImpl.java:1001)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1489)
 at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
 at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
 at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
 at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
 at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
 at
org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializatio
nContextImpl.java:242)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
 at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
 at org.apache.axis.client.Call.invoke(Call.java:2515)
 at org.apache.axis.client.Call.invoke(Call.java:2210)
 at org.apache.axis.client.Call.invoke(Call.java:2133)
 at org.apache.axis.client.Call.invoke(Call.java:1656)
 at
terminus.TerminusWebServlet.doHtml(TerminusWebServlet.java:311)......

I monitored the incoming SOAP message, and it looks good, and the axis
version service is working properly too.

I think it can be some misconfiguration error, but I don't know where..
Is there somebody who faced a problem like this ? Can anybody help me ?

Thanx
Balazs



Mime
View raw message