I'm invoking in session bean new ServiceInstance(new URL("https://192.168.130.16/sdk"), "root", "pass", true);
I'm getting following error:
Caused By: java.rmi.RemoteException: VI SDK invoke exception:java.lang.IllegalArgumentException: value is null
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:183)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:125)
at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1409)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:85)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:69)
When I invoke in SE Java Application, it's working fine.
I'm using:
vijava5120121125
vSphere Client Version 5.1.0 Build 786111
VMware ESXi Version 5.1.0 Build 799733
java version "1.7.0_09"
WebLogic12c
Could you help me to solve this problem?
Thanks.
Last edit: Yuriy 2013-01-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Steve,
I'm invoking in session bean new ServiceInstance(new URL("https://192.168.130.16/sdk"), "root", "pass", true);
I'm getting following error:
Caused By: java.rmi.RemoteException: VI SDK invoke exception:java.lang.IllegalArgumentException: value is null
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:183)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:125)
at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1409)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:85)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:69)
When I invoke in SE Java Application, it's working fine.
I'm using:
Could you help me to solve this problem?
Thanks.
Last edit: Yuriy 2013-01-17