title: Web Service URL for a ESXi Server
body: <p>I am trying to run the Java samples from Vsphere Web Services SDK and for many of them it requires URL of the Web Service.
  What is it for an ESXI Server and How to find it?</p>
  
  <p>I have already tried with url as "<a href="https://esxiIP/sdk/vimService.wsdl" rel="nofollow noreferrer">https://esxiIP/sdk/vimService.wsdl</a>"</p>
  
  <p>Following Error occurs whenever I am trying to run a sample </p>
  
  <p>..........................................................</p>
  
  <p>ERROR: could not connect: login fault : The server sent HTTP status code 400: Bad Request</p>
  
  <p>com.vmware.connection.SsoConnection$SSOLoginException: could not connect: login fault : The server sent HTTP status code 400: Bad Request
          at com.vmware.connection.SsoConnection.connect(SsoConnection.java:250)
          at com.vmware.connection.ConnectedVimServiceBase.connect(ConnectedVimServiceBase.java:118)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at com.vmware.common.samples.registry.ActionReference.invoke(ActionReference.java:80)
          at com.vmware.common.samples.registry.ActionReference.invokeAction(ActionReference.java:65)
          at com.vmware.common.samples.registry.ActionReference.action(ActionReference.java:47)
          at com.vmware.common.samples.registry.SampleReference.run(SampleReference.java:96)
          at com.vmware.common.samples.registry.SampleReference.run(SampleReference.java:88)
          at com.vmware.common.Main.run(Main.java:282)
          at com.vmware.common.Main.sampleSwitching(Main.java:254)
          at com.vmware.common.Main.registeredSample(Main.java:169)
          at com.vmware.common.Main.main(Main.java:121)
  ............................................................................</p>
  
  <p>I think this is occurring because of malformed URL only..</p>