Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

Unable to access the vCenter using SDK

$
0
0

Hi

I have two Linux machine, one machine is in the same network of vCenter and the other machine is in private network but machine has access to vCenter(ping is working)

I am able to run the sample code in the first machine but i am getting below error when i run the sample code in the second marchine

com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 200: OK
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:252)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:203)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:122)
        at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:123)
        at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
        at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
        at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
        at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
        at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
        at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
        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.$Proxy28.retrieveServiceContent(Unknown Source)
        at TestVsphereConnection.intit(TestVsphereConnection.java:52)
        at TestVsphereConnection.main(TestVsphereConnection.java:26)

Attached the sample code that i used for testing.

Could you please help me to fix the issue i am facing in the second machine

 

Thanks in advance


Viewing all articles
Browse latest Browse all 1577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>