+ Start a Discussion
Richie DRichie D 

Packaging up Webservice functionality


I have an application that relies heavily on webservices. I have imported the WSDL, created the app and am now looking to install on a staging account (via a package) from my development account. This is where I get stuck...

To package up the app I need to write testmethods to cover 75% of the code. As testmethods do not support 'webservice callouts' I cannot create enough coverage to package up the app and install on another account.

What can I do? Is there anyway around this? Anybody else come across this problem?

Any help gratefully received.


ps. I am going to stub out all calls to the WS and return static data so I can get coverage but am looking for a proper solution so I can get this on the app Exchange.