Re: WebServices Soap Error (InvocationTargetException)
Re: WebServices Soap Error (InvocationTargetException)
- Subject: Re: WebServices Soap Error (InvocationTargetException)
- From: Brendon Allen <email@hidden>
- Date: Thu, 11 Mar 2004 15:12:26 +1100
Hummm... Think I have the ones I need but correct me if I am wrong.
I have JavaWebServicesSupport.framework and also the
JavaWebServicesClient.framework in the project.
thanks in advance
Brendon
On Mar 11, 2004, at 3:05 PM, Chuck Hill wrote:
Is it possible that one of the JavaWebServices... frameworks is not on
the classpath?
On Mar 10, 2004, at 7:55 PM, Brendon Allen wrote:
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._handleReques
t(WOActionRequestHandler.java:250)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest
(WOActionRequestHandler.java:145)
at
com.webobjects.appserver._private.WOWebServiceRequestHandler.handleReq
uest(WOWebServiceRequestHandler.java:88)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.j
ava:1308)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThrea
d.java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.ja
va:254)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.lang.AbstractMethodError:
com.webobjects.webservices.support.xml.WONullSerializer.writeSchema(Lj
ava/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.
java: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.jav
a:375)
at
org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at
com.webobjects.appserver._private.WOWebService.performActionNamed(WOWe
bService.java:341)
at
com.webobjects.appserver._private.WOActionRequestHandler._handleReques
t(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._handleReques
t(WOActionRequestHandler.java:268)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest
(WOActionRequestHandler.java:145)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.j
ava:1308)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThrea
d.java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.ja
va: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._handleReques
t(WOActionRequestHandler.java:268)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest
(WOActionRequestHandler.java:145)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.j
ava:1308)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThrea
d.java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.ja
va:254)
at java.lang.Thread.run(Thread.java:552)
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
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.