default value in web service wsdl in asp.net

Posted by nrk on Stack Overflow See other posts from Stack Overflow or by nrk
Published on 2010-05-10T06:19:10Z Indexed on 2010/05/10 6:24 UTC
Read the original article Hit count: 269

Filed under:
|
|
|

Hi, I created on wcf web service and trying to test with SOAP UI. When testing with soap ui for example creating an employee, if I send soap request xml with

<empId>0</empId> works fine. 
<empId></empId> **throwing exception.**
if i completly remove <empId> tag it works fine.... 

Is there any way to make default value as "0" in wsdl in WCF?

Thanks nRk

© Stack Overflow or respective owner

Related posts about webservice

Related posts about wcf