Hello,
We have a very similar code to retrieve the extension information from ExtensionManager for vSphere 5.5. However, we always end up with the "This session is not authenticated" exception. The answer says that, it is because of extra double quotes. That is kind of confusing for us. In our case, the vmwareSoapSession variable is set to
In our case, when the vmwareSoapSession variable is set to vmware_soap_session="52c5b8ec-5581-9b73-3ab0-d8eeef4004f4", we always end up with the exception.
javax.xml.ws.soap.SOAPFaultException: The session is not authenticated.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:125)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy67.findExtension(Unknown Source)
at com.starwind.host.VExecutor.login(VExecutor.java:185)
at com.starwind.server.ESXHostHandler.getIndexQueryString(ESXHostHandler.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
Can anybody help us in understanding what is going wrong? Thanks in advance