+ Start a Discussion
salesforcequestions123salesforcequestions123 

Error while sending web callout

Hi All I am getting this error when sending a web callout.I am not able to figure out why this error is coming. Can any one give hint why this error occurs Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found 'http://www.w3.org/1999/xhtml:html'
salesforcequestions123salesforcequestions123
Hi I am getting this error when i had to map arrays for my code Example; when i am mapping individaul variables i am getting response but when i am mappinfg arrays i am getting html response addlist contains list of assessment ids to be sent sting depatmentname='xyz'; string[] assessmentids=addlist; So when I am mapping the list i am getting Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found 'http://www.w3.org/1999/xhtml:html How to map arrays for webservice call outs?