How to register a document-style web service?
How to register a document-style web service?
- Subject: How to register a document-style web service?
- From: Serge Froment <email@hidden>
- Date: Thu, 18 Dec 2003 12:43:03 -0500
Hi,
I created a WebService application where I register a class I wrote
using the following call:
WOWebServiceRegistrar.registerWebService(AccountProvisioning_v4.class,
false);
I do set the second parameter to false because I want to get
document-style web service, not rpc-style. However, I get the following
exception as soon as the application starts:
[2003-12-18 12:37:09 EST] <main> Creating LifebeatThread now with:
PartnerSynchro 2600 host1-89.dyn.dev.zks.net/10.16.1.89 1085 30000
[2003-12-18 12:37:10 EST] <main> A fatal exception occurred: Unable to
register document style web service - only one handler method may be
implemented.
[2003-12-18 12:37:10 EST] <main> java.lang.IllegalArgumentException:
Unable to register document style web service - only one handler
method may be implemented.
at
com.webobjects.appserver.WOWebServiceRegistrar.registerWebService(WOWebS
erviceRegistrar.java:85)
at Application.<init>(Application.java:56)
I don't get that exception if I register my class with the isRpc
parameter to true.
Serge Froment
http://www.serge-froment.com
_______________________________________________
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.