Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Api CloudProvision Documentation

  • Marco

    Hi everybody, i'm using a bpel process to call web services exposed in the wsdl of openqrm server. I'm trying to call the Api int CloudProvision(string $method_parameters) using as input the string containing parameters specified in the documentation site http://www.openqrm.com/drupal/userfiles/docs/openqrm-soap-api/openQRM-Cloud%20SOAP%20API/cloudsoap.html#methodCloudProvision. But when i do the call i see in the openqrm log "Wrong parameter count 14 ! Exiting." My method_parameters string is something like that "user,myuser,mypass,myclouduser,CentOS-x86_64-2.6.18-194.26.1.el5,centos_54_64bit,256,1,2000,1,1,KVM VM,0," I followed step by step the doc, i use openqrm 4.9. in the last days i try to follow the example file that is contained in the source directory of openqrm 4.9, the file clouduser-soap-example-client.php in which is specified the correct use of the api CloudProvision, following the file style come out this string "user,myuser,mypass,myclouduser,09-03-2012 15-00,09-03-2012 19-00,CentOS-x86_64-2.6.18-194.26.1.el5,centos_54_64bit,256,1,2000,1,1,KVM VM,0,,," Now the number of parameters is correct but naturally we have other issues "Cloud User myclouduser: Cloud Kernel Product () is not existing". Is there any advice? I did something wrong? I'm using the right version of documentation? Thank you

  • Matt

    Hi memoons,

    you are using the right version of the API. Just the CloudProvision was enhanced so the parameter number changed. This is sadly not yet up2date in the API doc. We will care about it for the next release.

    About the kernel-product issue: For the API it is recommended to use the Cloud Selector. Did you created a kernel product ? If yes then please use getproductdetails to fetch the kernel list from the Webservice.

    many thanks and have a nice day,

    Matt Rechenburg
    Project Manager openQRM