You are right, that assumes you have control over client code.
If you want to restrict nulls and do not want server code to validate it, I guess wsdl would be the only option.
 
Jai
-----Original Message-----
From: Jairam, Roopnaraine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 11:16 AM
To: [EMAIL PROTECTED]
Subject: RE: data validation

What is a client side handler? Do you mean that the client code should check first before calling the webservice? But if the client is not written by us then invalid data could still be sent to the server.

 


From: THOMAS, JAI [AG-Contractor/1000] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 11:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: data validation

 

Can't you add a client side handler to do that?

Jai

-----Original Message-----
From: Jairam, Roopnaraine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 9:02 AM
To: [EMAIL PROTECTED]
Subject: RE: data validation

Does anyone know how to do this???

 


From: Jairam, Roopnaraine
Sent: Thursday, December 09, 2004 10:30 AM
To: [EMAIL PROTECTED]
Subject: data validation

 

Hi:

 

Is there a way for axis to validate data before it is sent to the web service. Basically the data the client sends should not be null. When it comes to my web service all the required parameters should not be null. E.g. if the client is supposed to send a struct that identifies a client e.g. first name, last name, address1, address2, city,state,zip1,zip2. All the members of the struct can't be null except for address2 & zip2. Is there a way to do this?

 

Thanks in advance.

 

Vince.

Reply via email to