WebServices Soap Error (InvocationTargetException)
WebServices Soap Error (InvocationTargetException)
- Subject: WebServices Soap Error (InvocationTargetException)
- From: Brendon Allen <email@hidden>
- Date: Thu, 11 Mar 2004 14:55:39 +1100
Hello All,
I am just trying to add web services to our existing app to make an api
for a couple things and have been running into some trouble.
If I try to go to the wsdl page of our app (or calculator sample app)
by doing the webapp/ws/Class?wsdl to see the xml definition I get the
first stack trace below. to make sure it did have something to do with
i just made a test method that takes a string and returns a string and
registered it with WOWebServices in App start up. This should not
require a serializer as I understand.
The second problem I am having is I cannot get the WebServicesAssistant
to connect to anything I get a stack trace in the app I am connecting
to every time. This includes the sample apps. That trace is the
second trace below.
I read a post about maybe this having something to do with the
xalan.jar file not being there but this did not fix it.
Thanks in advance for any help
Brendon Allen
First Stack Trace:
[2004-03-11 14:32:08 EST] <WorkerThread4>
java.lang.reflect.InvocationTargetException
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:250)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(W
OActionRequestHandler.java:145)
at
com.webobjects.appserver._private.WOWebServiceRequestHandler.handleReque
st(WOWebServiceRequestHandler.java:88)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav
a:1308)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.
java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java
:254)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.lang.AbstractMethodError:
com.webobjects.webservices.support.xml.WONullSerializer.writeSchema(Ljav
a/lang/Class;Lorg/apache/axis/wsdl/fromJava/Types;)Lorg/w3c/dom/
Element;
at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1332)
at org.apache.axis.wsdl.fromJava.Types.writeTypeFor[2004-03-11
14:32:08 EST] <WorkerThread4>
<com.webobjects.appserver._private.WOWebServiceRequestHandler>:
Exception while handling action named "Test" on action class "null"
:java.lang.reflect.InvocationTargetException
Part(Types.java:326)
at org.apache.axis.wsdl.fromJava.Emitter.createTypes(Emitter.java:643)
at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:379)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
at
org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.ja
va:494)
at
org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:
72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at
org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:
375)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at
com.webobjects.appserver._private.WOWebService.performActionNamed(WOWebS
ervice.java:341)
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:240)
... 6 more
Second Trace:
[2004-03-11 14:42:58 EST] <WorkerThread11>
<com.webobjects.appserver._private.WODirectActionRequestHandler>:
Exception while handling action named "loadEOModel" on action class
"com.webobjects.webservices.generation._WSDirectAction"
:java.lang.IllegalStateException:
<com.webobjects.appserver._private.WODirectActionRequestHandler>
Couldn't locate action class named
'com.webobjects.webservices.generation._WSDirectAction'.
[2004-03-11 14:42:58 EST] <WorkerThread11>
java.lang.IllegalStateException:
<com.webobjects.appserver._private.WODirectActionRequestHandler>
Couldn't locate action class named
'com.webobjects.webservices.generation._WSDirectAction'.
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:268)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(W
OActionRequestHandler.java:145)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav
a:1308)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.
java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java
:254)
at java.lang.Thread.run(Thread.java:552)
[2004-03-11 14:42:58 EST] <WorkerThread13>
<com.webobjects.appserver._private.WODirectActionRequestHandler>:
Exception while handling action named "loadEOModel" on action class
"com.webobjects.webservices.generation._WSDirectAction"
:java.lang.IllegalStateException:
<com.webobjects.appserver._private.WODirectActionRequestHandler>
Couldn't locate action class named
'com.webobjects.webservices.generation._WSDirectAction'.
[2004-03-11 14:42:58 EST] <WorkerThread13>
java.lang.IllegalStateException:
<com.webobjects.appserver._private.WODirectActionRequestHandler>
Couldn't locate action class named
'com.webobjects.webservices.generation._WSDirectAction'.
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:268)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(W
OActionRequestHandler.java:145)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav
a:1308)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.
java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java
:254)
at java.lang.Thread.run(Thread.java:552)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.