axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Barthélémy <ebarthel...@iga.fr>
Subject Error / Deploying Web services
Date Fri, 06 Jun 2003 09:09:52 GMT
Hello,

I developped a web services using WSAD 5. It uses a bean that call other
classes to make the treatments.
When I test it on the WAS 5 test environment on WSAD, it works fine.
When I deploy the ws on a WAS 5 server using an EAR file, it works fine.
But when I try to use it with Tomcat 4.1 and Axis 1.1 by renaming my classes
WSReceiveXMLFile.jws, I have the following exception on my client
application :

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(SOAPFaultBuilder.java:2
51)
	at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:16
8)
	at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati
onContextImpl.java:1001)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
	at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
	at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
	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(DeserializationCon
textImpl.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
localhost.WSReceiveXMLFileSoapBindingStub.treatFile(WSReceiveXMLFileSoapBind
ingStub.java:86)
	at localhost.Tester.main(Tester.java:37)


java.lang.reflect.InvocationTargetException
	at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2
51)
	at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:16
8)
	at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati
onContextImpl.java:1001)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
	at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
	at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
	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(DeserializationCon
textImpl.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
localhost.WSReceiveXMLFileSoapBindingStub.treatFile(WSReceiveXMLFileSoapBind
ingStub.java:86)
	at localhost.Tester.main(Tester.java:37)
Exception in thread "main"



I really don't know how to debug it...

Thanks,

Eric.


Mime
View raw message