[vbox-dev] Webservice response doesn't return "API return code"

DavidW wyx1999 at hotmail.com
Tue Jun 8 18:57:09 GMT 2010


When I call a webservice method, I got the following return, I can tell the
error is (0x0). On the webservice window, I can see the API reutrn code is
0x80070057 (E_INAVLIDARG). SO the code doesn't return through the SOAP call,
not sure if it is by design, but it does cause inconvience to figure out the
error.

 

<Exception>

  <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:vbox="http://www.virtualbox.org/">

    <SOAP-ENV:Body>

      <SOAP-ENV:Fault>

        <faultcode>SOAP-ENV:Client</faultcode>

        <faultstring>VirtualBox error:  (0x0)</faultstring>

        <detail>

          <vbox:RuntimeFault>

            <resultCode>0</resultCode>

            <interfaceID>00000000-0000-0000-0000-000000000000</interfaceID>

            <component />

            <text />

          </vbox:RuntimeFault>

        </detail>

      </SOAP-ENV:Fault>

    </SOAP-ENV:Body>

  </SOAP-ENV:Envelope>

</Exception>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100608/75b8de5c/attachment.html>


More information about the vbox-dev mailing list