Re: Explicit response required from WS methods?

2005-08-31 Thread Jarmo Doc
te that to java2wsdl, and suspect that I'll have to manually edit the generated wsdl. From: Guy Rixon <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: Explicit response required from WS methods? Date: Wed, 31 Aug 2005 17:15:26 +0100 (BST) H

RE: Explicit response required from WS methods?

2005-08-31 Thread Jarmo Doc
n anything (even though it might be advisable to do so, the question here is one of necessity). From: "Chris Nappin" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: Subject: RE: Explicit response required from WS methods? Date: Wed, 31 Aug 2005 16:48:14 +0100 Ha

Re: Explicit response required from WS methods?

2005-08-31 Thread Guy Rixon
Hi, void is fine, and saves a little parsing on the return. If it works, then the service returns an HTTP 200 with a SOAP body that doesn't need deserializing; the client stub returns quietly. If it goes wrong, then the client stub chucks an Exception in which the detail states the HTTP status-cod

Re: Explicit response required from WS methods?

2005-08-31 Thread Rogério Luz
on exx)  {throw new SOAPException(exc);  }}>From: Rogério Luz < [EMAIL PROTECTED]>>Reply-To: axis-user@ws.apache.org>To: axis-user@ws.apache.org>Subject: Re: Explicit response required from WS methods? >Date: Wed, 31 Aug 2005 12:54:09 -0300>>Depends on what service.delete

Re: Explicit response required from WS methods?

2005-08-31 Thread Jarmo Doc
org To: axis-user@ws.apache.org Subject: Re: Explicit response required from WS methods? Date: Wed, 31 Aug 2005 12:54:09 -0300 Depends on what service.deleteEmployee() method do. If you have a try/catch there and an Exception is thrown you'll never know if your delete really happaned. Certainl

RE: Explicit response required from WS methods?

2005-08-31 Thread Jarmo Doc
Nice link, thanks a lot Chris. From: "Chris Nappin" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: Subject: RE: Explicit response required from WS methods? Date: Wed, 31 Aug 2005 16:48:14 +0100 Have a look at the various scenarios in the WS-I Usage Scenarios sp

Re: Explicit response required from WS methods?

2005-08-31 Thread Rogério Luz
axis-user@ws.apache.org>Subject: Re: Explicit response required from WS methods?>Date: Wed, 31 Aug 2005 12:43:41 -0300>>I think it would be a good practice return at least a boolean to ensure >your>deleteEmployee method really deleted an employee.>>On 8/31/05, Jarmo Doc <[E

RE: Explicit response required from WS methods?

2005-08-31 Thread Chris Nappin
ser@ws.apache.org Subject: Explicit response required from WS methods? Let's say that I have a WS method like so: deleteEmployee(int empid) throws SOAPException { } Is it sensible for this method to have a void return type or should it always return something, for example the

Re: Explicit response required from WS methods?

2005-08-31 Thread Jarmo Doc
rg To: axis-user@ws.apache.org Subject: Re: Explicit response required from WS methods? Date: Wed, 31 Aug 2005 12:43:41 -0300 I think it would be a good practice return at least a boolean to ensure your deleteEmployee method really deleted an employee. On 8/31/05, Jarmo Doc <[EMAIL PROTECTED]>

Re: Explicit response required from WS methods?

2005-08-31 Thread Rogério Luz
I think it would be a good practice return at least a boolean to ensure your deleteEmployee method  really deleted an employee.On 8/31/05, Jarmo Doc <[EMAIL PROTECTED]> wrote: Let's say that I have a WS method like so:  deleteEmployee(int empid) throws SOAPException   {  }Is it sensible for this me

Explicit response required from WS methods?

2005-08-31 Thread Jarmo Doc
Let's say that I have a WS method like so: deleteEmployee(int empid) throws SOAPException { } Is it sensible for this method to have a void return type or should it always return something, for example the empid just deleted (for client correlation purposes, amongst other things)? I ask b