@@ -0,0 +1,405 @@
+package com.vmware.vim25.mo.samples;%0A%0Aimport java.net.MalformedURLException;%0Aimport java.net.URL;%0Aimport java.rmi.RemoteException;%0A%0Aimport com.vmware.vim25.mo.ServiceInstance;%0A%0Apublic class SampleUtil %7B%0A%0A%09public static ServiceInstance createServiceInstance() throws RemoteException, MalformedURLException %7B%0A%09%09return new ServiceInstance(new URL(%22https://10.141.72.223/sdk%22), %22root%22, %22vmware%22, true);%0A%09%7D%0A%0A%7D%0A

Add SampleUtil.java to create the ServiceInstance object