SOAP

J. Paul Reed preed at sigkill.com
Tue Jun 17 17:57:48 UTC 2003


> - General philosophy on API arguments but more specifically return
> values (thin, heavy, complex, simple)

I'm not a SOAP guru, so this is a question more than a suggestion, but
does it make sense to use (XP)COM-style return values, i.e. a "call
succeeded" or "call failed for this specific reason" return value (bug id
wasn't a number, bad bug id, etc.)

In COM, it's necessary, but I would think that it would make sense here
too, because it would give the client very specific information about what
the actual error was on the server-side, if there was one.

Of course, this requires use of out-parameters, which in perl means
"out-references," complicating things, but only slightly.

Later,
Paul
  ----------------------------------------------------------------------
  J. Paul Reed                preed at sigkill.com || web.sigkill.com/preed
  To hold on to sanity too tight is insane. -- Nick Falzone, Pushing Tin



More information about the developers mailing list