Hi,

I'm discovering the rich world of D2WS, the component-based operations look great but I wish I had more documentation that's more programmatically minded.

I have some questions:

Is it possible (and how) for a WOOperation instance (or subtype thereof) to discover it's 'operationName' and change it's behaviour according to it's value?

For example, can I setup a number of rules that configure a web service with a number of operations that all have the same operationClassName, say, OperationClassX. When a request comes in for a particular operation and the invoke method is invoked can the instance of OperationClassX determine which operation was called (perhaps from the WOContext, WORequest or the WOComponent itself) and act accordingly? I think that it must... I think I'll start looking at the request cycle of the WOOperation.


Also are there any caveats about programmatically creating and add rules to the D2WModel.defaultModel() when instantiating an application?

Thanks,

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

This email sent to archive@mail-archive.com

Reply via email to