Re: Problems with Web Services
Re: Problems with Web Services
- Subject: Re: Problems with Web Services
- From: Pascal Robert <email@hidden>
- Date: Tue, 18 Nov 2008 12:52:09 -0500
Same exception :-/
Hi Pascal.
There was a bug in WOWebServiceRegistrar in the first versions of WO
5.4 where an exception was thrown when registering a service using
the method you're using. The workaround was to use this method
instead:
WOWebServiceRegistrar.registerWebService( ".AccountMgrService",
AccountMgrService.class, null, true );
I don't remember if this critter affected WO 5.3.3, but it can't
hurt to try :-).
Cheers,
- hugi
On 18.11.2008, at 16:58, Pascal Robert wrote:
Hi list,
I'm creating some Web services (yes, with SOAP...) and when I start
the app, I get :
[2008-11-18 11:53:32 EST] <main> A fatal exception occurred:
com.webobjects.webservices.support.WOXMLProvider.getRoles()Ljava/
util/List;
[2008-11-18 11:53:32 EST] <main> java.lang.AbstractMethodError:
com.webobjects.webservices.support.WOXMLProvider.getRoles()Ljava/
util/List;
at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:
502)
at
com
.webobjects
.webservices
.support.WOXMLProvider.doConfigureEngine(WOXMLProvider.java:94)
at
com
.webobjects
.webservices
.support.WOXMLProvider.configureEngine(WOXMLProvider.java:108)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
at
com
.webobjects
.appserver._private.WOWebService.initServer(WOWebService.java:121)
at
com
.webobjects
.appserver._private.WOWebService.registerService(WOWebService.java:
155)
at
com
.webobjects
.appserver
.WOWebServiceRegistrar
.registerWebService(WOWebServiceRegistrar.java:160)
at
com
.webobjects
.appserver
.WOWebServiceRegistrar
.registerWebService(WOWebServiceRegistrar.java:94)
at
com.prospectsweb.syncservice.Application.<init>(Application.java:24)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:
323)
at com.prospectsweb.syncservice.Application.main(Application.java:
19)
Line 24 is when I call WOWebServiceRegistrar :
WOWebServiceRegistrar.registerWebService(AccountMgrService.class,
true);
I'm linking against Axis 1.1 and WO 5.3.3, and I don't have another
Axis version in the classpath, so I don't know why I'm getting this.
-------------------------------------------------------
Pascal Robert
http://www.macti.ca
http://www.linkedin.com/in/macti
Skype: MacTICanada
AIM/iChat : MacTICanada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
-------------------------------------------------------
Pascal Robert
http://www.macti.ca
http://www.linkedin.com/in/macti
Skype: MacTICanada
AIM/iChat : MacTICanada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden