VirtualBox

Opened 16 years ago

Closed 16 years ago

#958 closed enhancement (fixed)

VirtualBox 1.5.2 with webservices (soap)

Reported by: Michael Owned by:
Component: other Version: VirtualBox 1.5.2
Keywords: webservices Cc:
Guest type: other Host type: other

Description

Hello!

I will use VirtualBox 1.5.2 with webservices. This is not an Vbox defect! To this day, i doesn't found some docs/howtos to setup this.

I have written a soap client in PHP to get the vbox version number.

My sample:


/* CLIENT: show VBox version */ <?php $client = new SOAPClient('http://192.168.1.150/webserv/vboxwebService.wsdl'); try {

$result = $client->IVirtualBox_getVersion(0,1);

foreach ($result->resultElements as $resultElement) {

print $resultElement->URL;

}

} catch (SOAPFault $f) {

print $f->faultstring;

} ?>


The file vboxwebService.wsdl point to soap address localhost on port 18083. This is the address to the soap server? My sample return as output "Can't connect to host". How looks the connection between soap server to VirtualBox?

Can you put some simple soap samples to VirtualBox website please?

Many thanks Michael

Change History (4)

in reply to:  description comment:1 by nip, 16 years ago

Replying to fireline:

Hello!

I will use VirtualBox 1.5.2 with webservices. This is not an Vbox defect! To this day, i doesn't found some docs/howtos to setup this.

I have written a soap client in PHP to get the vbox version number.

My sample:


/* CLIENT: show VBox version */ <?php $client = new SOAPClient('http://192.168.1.150/webserv/vboxwebService.wsdl'); try {

$result = $client->IVirtualBox_getVersion(0,1);

foreach ($result->resultElements as $resultElement) {

print $resultElement->URL;

}

} catch (SOAPFault $f) {

print $f->faultstring;

} ?>


The file vboxwebService.wsdl point to soap address localhost on port 18083. This is the address to the soap server? My sample return as output "Can't connect to host". How looks the connection between soap server to VirtualBox?

Can you put some simple soap samples to VirtualBox website please?

Many thanks Michael

comment:2 by Michael, 16 years ago

Please close this ticket. Thanks.

comment:3 by Sander van Leeuwen, 16 years ago

Cc: michael.hopf@… removed

comment:4 by Sander van Leeuwen, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use