[phpsoa] Re: How much data should flow back from a business exception?

2007-06-07 Thread Matthew Peters
You're right of course, we still need the comment, for the reason you mention. All the rest still stands. On Jun 4, 11:44 am, Graham Charters <[EMAIL PROTECTED]> wrote: > Isn't this used to identify and unwrap the interface of the doc/lit > wrapped service? If this is the case, then we still can

[phpsoa] Re: How much data should flow back from a business exception?

2007-06-04 Thread Graham Charters
On 23 May, 16:34, Matthew Peters <[EMAIL PROTECTED]> wrote: > > So, any volunteers to chop it out? We could stop generating the "This > wsdl was generated..." comment at the bottom of the wsdl since it was > only used for that. > Isn't this used to identify and unwrap the interface of the doc/

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-23 Thread Matthew Peters
OK, several things got discussed here but picking out the essential attitude to the initial question: Mike C says (I am quoting from pecl defect 10994): " I would like to suppress everything with the exception of the exception description and number. Exposing files and backtraces in exceptions

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-20 Thread Caroline Maynard
Matthew Peters wrote: > What do other people think? Matthew, the way I handled this in SDO was to introduce a "cause" property, with a getCause() public accessor, plus an additional optional parameter on the constructor for setting it. You can assign any object into the cause, though normal

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-18 Thread Graham Charters
Hi Simon, thanks for your 2c - it's always worth more than that :-) I've inlined some questions/responses below. On 18 May, 12:29, [EMAIL PROTECTED] wrote: > Graham > > I like both of these suggestions and think they both have a place in > the runtime. > > We should have a separation between Bus

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-18 Thread simonslaws
Graham I like both of these suggestions and think they both have a place in the runtime. We should have a separation between Business and System exceptions. We expect the calling component to care about Business exceptions as the problem is likely to be their fault. They should be phrased in bu

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-16 Thread Graham Charters
I think Mike is right that we shouldn't always flow this information. It is a potential security hole as it could divulge more information than we would like. I had similar concerns about the information we flow back in http responses for things like Atompub and the conclusion was to not give any