Quantcast
Channel: VMware Communities : Unanswered Discussions - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 872

operatingSystemSection failed, return code: 404

$
0
0

Hello,

 

I have a problem when getting informations about a vm within a vappTemplate.

 

I'am no able to get the operatingSystemSection.

 

My code is :

 

[...]
$sdkVm = $service->createSDKObj('https://10.170.232.44/api/v1.0/vAppTemplate/vm-539278506') ;
$osDescription = $sdkVm->getOperatingSystemSettings()->getDescription()->get_valueOf () ;

 

and I get this error message :
PHP Fatal error:  Uncaught exception 'VMware_VCloud_SDK_Exception' with message 'GET https://10.170.232.44/api/v1.0/vAppTemplate/vm-539278506/operatingSystemSection failed, return code: 404, error: <?xml version="1.0" encoding="UTF-8"?>
<Error xmlns="http://www.vmware.com/vcloud/v1" stackTrace="javax.ws.rs.WebApplicationException
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:305)
        at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:142)
        at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:65)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
        at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:337)
        at org.apache.cxf.transport.servlet.ServletControlle in /home/yconan/e2cdelta/trunk/lib/library/VMware/VCloud-1.0.0-314767/ServiceAbstract.php on line 98

 

I get this message with vms in vappTemplate.

 

There is no problem if I want to get that in a vm contained within a vapp.

 

What I have to do to resolve my problem ?

 

Regards,

 

Yann CONAN


Viewing all articles
Browse latest Browse all 872

Trending Articles



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