[vbox-dev] SOAP Issues

James Lucas jimmy at secsme.org.au
Fri Jan 23 15:05:33 PST 2009

Could someone else please test this and let me know what you get. I call
IMachine_getNextExtraDataKey(null) with PHP SoapClient. This generates the
request with the an empty key value tag <key/> however the vbox webservice
throws a soap exception looking for a empty string '' instead of returning the
first key as per the SDK documentation. Is the PHP SOAP Client generating the
incorrect parameter tag for the key value or is the vbox webservice incorrectly
converting this parameter into an empty string instead of a NULL?

- James

SDK Documentation
6.27.17 getNextExtraDataKey 
void IMachine::getNextExtraDataKey( 
[in] wstring key, 
[out] wstring nextKey, 
[out] wstring nextValue) 
Returns the machine-speci&#64257;c extra data key name following the supplied
An error is returned if the supplied @a key does not exist. @c NULL is returned
@a nextKey if the supplied key is the last key. When supplying @c NULL for the
key, the &#64257;rst key item is returned in @a nextKey (if there is any). @a
nextValue is an 
optional parameter and if supplied, the next key’s value is returned in it. 

SOAP Request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly, and
with authority, states them to be the views the University of Technology,
Sydney. Before opening any attachments, please check them for viruses and

More information about the vbox-dev mailing list