function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Richie DRichie D 

Packaging up Webservice functionality

Hello,

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.

Cheers,
Rich.

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.