I am using webservices.Using the below xml code.I am getting the error which is below while running the code.
Not validcvc-complex-type.2.4.d: Invalid content was found starting with element 'EmployeeAllergy'. No child element is expected at this point.
Here's the code:
<EmployeeAllergy>
<allergyID>1020</allergyID>
<allergyTypeID>FDB</allergyTypeID>
<allergySeverityTypeID>Mild</allergySeverityTypeID>
<allergyComment>ssss</allergyComment>
<onsetDate>20140317</onsetDate>
</EmployeeAllergy>
Any help would be greatly appreciated.
No comments:
Post a Comment