With some delay, I've read JimW's post on WSDL operations. I guess I belong to the other camp and my usual example on why operations matter follows.
Expanding on Jim's example of
MessageX op1(MessageA) MessageX op2(MessageB)
I suggest we consider the situation where two different operations take the same messages and actually return the same messages (in format):
int plus(TwoInts) int minus(TwoInts)
This is currently allowed in WSDL2. Does that mean, though, that if I send the service two ints, it returns an int and I don't know which operation was executed?
If we want the answer to be yes (as I believe Jim's opinion to be) we must clearly disallow such WSDLs, and explain clearly why we do this and how to model a service that does adding and subtracting with numbers. My only problem with this direction is that many people will need education to grasp it.Posted at 1805 on Fri, Sep 3, 2004 in category Ideas | TrackBack | Comments feed