I know Apple is actively fixing WO bugs, so make sure you log all of this with Apple's bug Radar (https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/signIn ).

On Apr 25, 2008, at 7:18 AM, Juergen Lorenz Simon wrote:

Hi,

Rebooted the machine. Run installer again. Version checks up. *headscratch*

However: D2WS is still broken. When connecting to the application with the webservice assistant,
I get the same exception as before:

java.lang.IllegalStateException: Can't obtain rules because of protected access!

25.04.2008 13:01:22:479 ERROR [KTApplication.handleException:190) - handleException :
java.lang.reflect.InvocationTargetException
at com .webobjects .appserver ._private .WOActionRequestHandler._handleRequest(WOActionRequestHandler.java: 269) at com .webobjects .appserver ._private .WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158) at com .webobjects .appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com .webobjects .appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
        at java.lang.Thread.run(Thread.java:613)

Caused by: java.lang.IllegalStateException: Can't obtain rules because of protected access! at com .webobjects .webservices .generation._WSDirectAction.loadD2WModelAction(_WSDirectAction.java: 224)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
at com .webobjects .appserver.WODirectAction.performActionNamed(WODirectAction.java:144) at com .webobjects .appserver ._private .WOActionRequestHandler._handleRequest(WOActionRequestHandler.java: 259)
        ... 5 more

And the webservice is not installed. A request to get the sevice wsdl got the following response: "Your requested web service, namely "Foo", cannot be found in WOWebServiceRegistrar"

Next I tried to  manually register the webservice using:
WOWebServiceRegistrar.registerD2WebServiceWithOperations("Foo",new String[] {"bar"} );

Which seemed to start up fine, but the call for he wsdl ended with the message: "Attempt to generate WSDL for a service that is not enabled or does not exist."

When I connected using the WebServicesAssistant.app, it did not fail to connect but the list of
services is a blank slate. Not even the default service.

*sigh*

I had my hopes up for Apple to fix D2WS in 5.4.2. Now we're back where we started: WO5.3 with the
known load of bugs in WebServices. Duh!

J.




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to