You need to sign in to do that
Don't have an account?
Lakshmi 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.
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.
return ParkLocator.country('Norway');
?
String[] parkname = ParkLocator.country('Norway');
system.debug(parkname );
Thanks
Varaprasad
But, it was not working.