VirtualBox

Ticket #958 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

VirtualBox 1.5.2 with webservices (soap)

Reported by: fireline Owned by:
Priority: major 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

comment:1 in reply to: ↑ description Changed 6 years ago by nippertje

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 Changed 6 years ago by fireline

Please close this ticket. Thanks.

comment:3 Changed 6 years ago by sandervl73

  • Cc michael.hopf@… removed

comment:4 Changed 6 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use