web services - Getting not valid cvc-complex-type.2.4.d: Invalid content was found starting with element Employee. No child element is expected at this point -


i using webservices.using below xml code.i getting error below while running code.

not validcvc-complex-type.2.4.d: invalid content found starting element 'employeeallergy'. no child element expected @ point.

here's code:

<employeeallergy>         <allergyid>1020</allergyid>         <allergytypeid>fdb</allergytypeid>         <allergyseveritytypeid>mild</allergyseveritytypeid>         <allergycomment>ssss</allergycomment>         <onsetdate>20140317</onsetdate> </employeeallergy> 

any appreciated.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -