+ Start a Discussion
Suresh(Suri)Suresh(Suri) 

Test coverage for webservice class

Hi,

Any one help to write test class for webservice class

Thank you
Florian HoehnFlorian Hoehn
You have to create a mock webservice to test the callout properly.

Have a look here how to do that: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex_testing.htm

Hope this helps!

Florian