+ Start a Discussion
Lakshmi SLakshmi S 

How to execute below WSDL2 Apex class in Execute anonymous window.

Hi Dev's,

How to execute below WSDL2 Apex class in Execute anonymous window.
Class :
-----------
public class ParkLocator {
    public static String[] country(String country){
        ParkService.ParksImplPort park = new ParkService.ParksImplPort();
        String[] parkname= park.byCountry(country);
        return parkname;
    }

}


Thanks in Advance.
James BoggsJames Boggs

return ParkLocator.country('Norway');

?

v varaprasadv varaprasad
Hi ,

 String[] parkname =  ParkLocator.country('Norway');
 system.debug(parkname );


Thanks
Varaprasad
 
Lakshmi SLakshmi S
Thanks for your reply.
But, it was not working.