VirtualBox

Changeset 69384 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Oct 26, 2017 4:51:11 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118708
Message:

webservices: scm updates

Location:
trunk/src/VBox/Main/webservice/samples
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/samples/java/axis/clienttest.java

    • Property svn:keywords set to Id Revision
    r32394 r69384  
    1 
    2 /*
    3  * Sample client for the VirtualBox web service, written in Java
    4  * (raw web service variant).
     1/* $Id$ */
     2/*!file
     3 * Sample client for the VirtualBox web service, written in Java (raw web service variant).
    54 *
    65 * Run the VirtualBox web service server first; see the VirtualBox
    76 * SDK reference for details.
    87 *
     8 * The following license applies to this file only:
     9 */
     10
     11/*
    912 * Copyright (C) 2008-2010 Oracle Corporation
    10  *
    11  * The following license applies to this file only:
    1213 *
    1314 * Permission is hereby granted, free of charge, to any person
     
    1516 * files (the "Software"), to deal in the Software without
    1617 * restriction, including without limitation the rights to use,
    17  * copy, modify, merge, publish, distribute, sublicense, and/or
    18  * sell copies of the Software, and to permit persons to whom the
    19  * Software is furnished to do so, subject to the following conditions:
     18 * copy, modify, merge, publish, distribute, sublicense, and/or sell
     19 * copies of the Software, and to permit persons to whom the
     20 * Software is furnished to do so, subject to the following
     21 * conditions:
    2022 *
    2123 * The above copyright notice and this permission notice shall be
     
    2527 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    2628 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    27  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     29 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    2830 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    2931 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  • trunk/src/VBox/Main/webservice/samples/java/jax-ws/Makefile

    r69383 r69384  
     1# $Id$
     2## @file
     3# Makefile for java samples.
     4#
     5
     6
    17#
    28# Copyright (C) 2008-2010 Oracle Corporation
    39#
    4 # This file is part of VirtualBox Open Source Edition (OSE), as
    5 # available from http://www.virtualbox.org. This file is free software;
    6 # you can redistribute it and/or modify it under the terms of the GNU
    7 # General Public License (GPL) as published by the Free Software
    8 # Foundation, in version 2 as it comes in the "COPYING" file of the
    9 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    10 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     10# Permission is hereby granted, free of charge, to any person
     11# obtaining a copy of this software and associated documentation
     12# files (the "Software"), to deal in the Software without
     13# restriction, including without limitation the rights to use,
     14# copy, modify, merge, publish, distribute, sublicense, and/or sell
     15# copies of the Software, and to permit persons to whom the
     16# Software is furnished to do so, subject to the following
     17# conditions:
     18#
     19# The above copyright notice and this permission notice shall be
     20# included in all copies or substantial portions of the Software.
     21#
     22# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     23# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
     24# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     25# NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     26# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     27# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     28# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     29# OTHER DEALINGS IN THE SOFTWARE.
    1130#
    1231
     
    6281clean:
    6382        $(RM) -rf $(DEST15)  $(DEST16)
     83
  • trunk/src/VBox/Main/webservice/samples/java/jax-ws/Makefile.glue

    • Property svn:keywords set to Id Revision
    r44529 r69384  
     1# $Id$
     2## @file
     3# Makefile for java samples.
     4#
     5
    16#
    27# Copyright (C) 2008-2010 Oracle Corporation
    38#
    4 # This file is part of VirtualBox Open Source Edition (OSE), as
    5 # available from http://www.virtualbox.org. This file is free software;
    6 # you can redistribute it and/or modify it under the terms of the GNU
    7 # General Public License (GPL) as published by the Free Software
    8 # Foundation, in version 2 as it comes in the "COPYING" file of the
    9 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    10 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     9# Permission is hereby granted, free of charge, to any person
     10# obtaining a copy of this software and associated documentation
     11# files (the "Software"), to deal in the Software without
     12# restriction, including without limitation the rights to use,
     13# copy, modify, merge, publish, distribute, sublicense, and/or sell
     14# copies of the Software, and to permit persons to whom the
     15# Software is furnished to do so, subject to the following
     16# conditions:
     17#
     18# The above copyright notice and this permission notice shall be
     19# included in all copies or substantial portions of the Software.
     20#
     21# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     22# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
     23# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     24# NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     25# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     26# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     27# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     28# OTHER DEALINGS IN THE SOFTWARE.
    1129#
    1230
     
    5270clean:
    5371        $(RM) -rf $(DEST)
     72
  • trunk/src/VBox/Main/webservice/samples/java/jax-ws/clienttest.java

    • Property svn:keywords set to Id Revision
    r32394 r69384  
    1 /*
    2  * Sample client for the VirtualBox web service, written in Java
    3  * (object-oriented bindings).
     1/* $Id$ */
     2/*!file
     3 * Sample client for the VirtualBox web service, written in Java (object-oriented bindings).
    44 *
    55 * Run the VirtualBox web service server first; see the VirtualBox
    66 * SDK reference for details.
    77 *
     8 * The following license applies to this file only:
     9 */
     10
     11/*
    812 * Copyright (C) 2008-2010 Oracle Corporation
    9  *
    10  * The following license applies to this file only:
    1113 *
    1214 * Permission is hereby granted, free of charge, to any person
     
    1416 * files (the "Software"), to deal in the Software without
    1517 * restriction, including without limitation the rights to use,
    16  * copy, modify, merge, publish, distribute, sublicense, and/or
    17  * sell copies of the Software, and to permit persons to whom the
    18  * Software is furnished to do so, subject to the following conditions:
     18 * copy, modify, merge, publish, distribute, sublicense, and/or sell
     19 * copies of the Software, and to permit persons to whom the
     20 * Software is furnished to do so, subject to the following
     21 * conditions:
    1922 *
    2023 * The above copyright notice and this permission notice shall be
     
    2427 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    2528 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    26  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     29 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    2730 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    2831 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     
    3033 * OTHER DEALINGS IN THE SOFTWARE.
    3134 */
     35
    3236/* Somewhat ugly way to support versioning */
    3337import com.sun.xml.ws.commons.virtualbox{VBOX_API_SUFFIX}.*;
  • trunk/src/VBox/Main/webservice/samples/java/jax-ws/metrictest.java

    • Property svn:keywords set to Id Revision
    r33540 r69384  
    1 /*
     1/* $Id$ */
     2/*!file
    23 * Sample of performance API usage, written in Java.
    34 *
     
    56 * with 'vboxwebsrv -t 1000' command, to calm down watchdog thread.
    67 *
     8 * The following license applies to this file only:
     9 */
     10
     11/*
    712 * Copyright (C) 2008-2010 Oracle Corporation
    8  *
    9  * The following license applies to this file only:
    1013 *
    1114 * Permission is hereby granted, free of charge, to any person
     
    1316 * files (the "Software"), to deal in the Software without
    1417 * restriction, including without limitation the rights to use,
    15  * copy, modify, merge, publish, distribute, sublicense, and/or
    16  * sell copies of the Software, and to permit persons to whom the
    17  * Software is furnished to do so, subject to the following conditions:
     18 * copy, modify, merge, publish, distribute, sublicense, and/or sell
     19 * copies of the Software, and to permit persons to whom the
     20 * Software is furnished to do so, subject to the following
     21 * conditions:
    1822 *
    1923 * The above copyright notice and this permission notice shall be
     
    2327 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    2428 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    25  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     29 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    2630 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    2731 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     
    2933 * OTHER DEALINGS IN THE SOFTWARE.
    3034 */
     35
    3136import com.sun.xml.ws.commons.virtualbox{VBOX_API_SUFFIX}.*;
    3237
  • trunk/src/VBox/Main/webservice/samples/php/clienttest.php

    • Property svn:eol-style set to native
    • Property svn:keywords set to Id Revision
    r52978 r69384  
    11<?php
    2 
    3 /*
     2/* $Id$ */
     3/*!file
    44 * Sample client for the VirtualBox webservice, written in PHP.
    55 *
     
    77 * SDK reference for details.
    88 *
    9  * Copyright (C) 2009-2010 Oracle Corporation
     9 * The following license applies to this file only:
     10 */
     11
     12/*
    1013 * Contributed by James Lucas (mjlucas at eng.uts.edu.au).
    1114 *
    12  * The following license applies to this file only:
     15 * Copyright (C) 2009-2010 Oracle Corporation
    1316 *
    1417 * Permission is hereby granted, free of charge, to any person
     
    1619 * files (the "Software"), to deal in the Software without
    1720 * restriction, including without limitation the rights to use,
    18  * copy, modify, merge, publish, distribute, sublicense, and/or
    19  * sell copies of the Software, and to permit persons to whom the
    20  * Software is furnished to do so, subject to the following conditions:
     21 * copy, modify, merge, publish, distribute, sublicense, and/or sell
     22 * copies of the Software, and to permit persons to whom the
     23 * Software is furnished to do so, subject to the following
     24 * conditions:
    2125 *
    2226 * The above copyright notice and this permission notice shall be
     
    2630 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    2731 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    28  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     32 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    2933 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    3034 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     
    8993            echo $ex->getMessage();
    9094        }
    91        
     95
    9296        $session->unlockMachine();
    93        
     97
    9498        $machine->releaseRemote();
    9599        $session->releaseRemote();
    96        
     100
    97101        break;
    98102    }
  • trunk/src/VBox/Main/webservice/samples/python/Makefile

    r69383 r69384  
     1# $Id$
     2## @file
     3# Makefile for java samples.
     4#
     5
    16#
    27# Copyright (C) 2008-2010 Oracle Corporation
    38#
    4 # This file is part of VirtualBox Open Source Edition (OSE), as
    5 # available from http://www.virtualbox.org. This file is free software;
    6 # you can redistribute it and/or modify it under the terms of the GNU
    7 # General Public License (GPL) as published by the Free Software
    8 # Foundation, in version 2 as it comes in the "COPYING" file of the
    9 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    10 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     9# Permission is hereby granted, free of charge, to any person
     10# obtaining a copy of this software and associated documentation
     11# files (the "Software"), to deal in the Software without
     12# restriction, including without limitation the rights to use,
     13# copy, modify, merge, publish, distribute, sublicense, and/or sell
     14# copies of the Software, and to permit persons to whom the
     15# Software is furnished to do so, subject to the following
     16# conditions:
     17#
     18# The above copyright notice and this permission notice shall be
     19# included in all copies or substantial portions of the Software.
     20#
     21# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     22# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
     23# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     24# NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     25# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     26# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     27# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     28# OTHER DEALINGS IN THE SOFTWARE.
    1129#
    1230
     
    1937server:
    2038        nohup vboxwebsrv -t 10000 &
     39
  • trunk/src/VBox/Main/webservice/samples/python/Makefile.glue

    • Property svn:keywords set to Id Revision
    r44529 r69384  
     1# $Id$
     2## @file
     3# Makefile for java samples.
     4#
     5
    16#
    27# Copyright (C) 2008-2010 Oracle Corporation
    38#
    4 # This file is part of VirtualBox Open Source Edition (OSE), as
    5 # available from http://www.virtualbox.org. This file is free software;
    6 # you can redistribute it and/or modify it under the terms of the GNU
    7 # General Public License (GPL) as published by the Free Software
    8 # Foundation, in version 2 as it comes in the "COPYING" file of the
    9 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    10 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     9# Permission is hereby granted, free of charge, to any person
     10# obtaining a copy of this software and associated documentation
     11# files (the "Software"), to deal in the Software without
     12# restriction, including without limitation the rights to use,
     13# copy, modify, merge, publish, distribute, sublicense, and/or sell
     14# copies of the Software, and to permit persons to whom the
     15# Software is furnished to do so, subject to the following
     16# conditions:
     17#
     18# The above copyright notice and this permission notice shall be
     19# included in all copies or substantial portions of the Software.
     20#
     21# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     22# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
     23# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     24# NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     25# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     26# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     27# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     28# OTHER DEALINGS IN THE SOFTWARE.
    1129#
    1230
     
    1533wrappers: ../../vboxwebService.wsdl ../../vboxweb.wsdl
    1634        wsdl2py  -b --file $<
     35
  • trunk/src/VBox/Main/webservice/samples/python/clienttest.py

    r69383 r69384  
    55Copyright (C) 2012-2016 Oracle Corporation
    66
    7 This file is part of VirtualBox Open Source Edition (OSE), as
    8 available from http://www.virtualbox.org. This file is free software;
    9 you can redistribute it and/or modify it under the terms of the GNU
    10 General Public License (GPL) as published by the Free Software
    11 Foundation, in version 2 as it comes in the "COPYING" file of the
    12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     7Permission is hereby granted, free of charge, to any person
     8obtaining a copy of this software and associated documentation
     9files (the "Software"), to deal in the Software without
     10restriction, including without limitation the rights to use,
     11copy, modify, merge, publish, distribute, sublicense, and/or sell
     12copies of the Software, and to permit persons to whom the
     13Software is furnished to do so, subject to the following
     14conditions:
     15
     16The above copyright notice and this permission notice shall be
     17included in all copies or substantial portions of the Software.
     18
     19THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     20EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
     21OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     22NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     23HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     24WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
     25FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     26OTHER DEALINGS IN THE SOFTWARE.
    1427"""
    1528
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette