Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
utility class to load endpoint and wsdl URL from system props
package utils;
public class EnvInfo {
private static String MOCK = "http://mas460:8088/mockPecManagerWsPortBinding";
public static String wsdl(String name){
return System.getProperty(name+"-wsdl", endpoint(name)+"?WSDL");
public static String endpoint(String name){
return System.getProperty(name, MOCK);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.