web service error best practices

2005-08-11 Thread Bryan Stevenson
I know...another best practices thread ;-) I'm wondering how others out there are handling argument types for web services? Typically if an argument is meant to be numeric you would code it as such. Now if someone calling the webservice were to pass in a string instead of a number and error

Re: web service error best practices

2005-08-11 Thread Barney Boisvert
Let them deal with it. I suspect that CF will automatically convert string arguments to numeric, just like it does internally, but I don't know for sure. Either way, it's up to the WS client to make sure they're calling the service in the right way. The error message should come from the

Re: web service error best practices

2005-08-11 Thread Bryan Stevenson
Let them deal with it. I suspect that CF will automatically convert string arguments to numeric, just like it does internally, but I don't know for sure. Either way, it's up to the WS client to make sure they're calling the service in the right way. The error message should come from the