Changeset 69384 in vbox for trunk/src/VBox/Main/webservice
- Timestamp:
- Oct 26, 2017 4:51:11 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118708
- 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). 5 4 * 6 5 * Run the VirtualBox web service server first; see the VirtualBox 7 6 * SDK reference for details. 8 7 * 8 * The following license applies to this file only: 9 */ 10 11 /* 9 12 * Copyright (C) 2008-2010 Oracle Corporation 10 *11 * The following license applies to this file only:12 13 * 13 14 * Permission is hereby granted, free of charge, to any person … … 15 16 * files (the "Software"), to deal in the Software without 16 17 * 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: 20 22 * 21 23 * The above copyright notice and this permission notice shall be … … 25 27 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 26 28 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT29 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 28 30 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 29 31 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -
Property svn:keywords
set to
-
trunk/src/VBox/Main/webservice/samples/java/jax-ws/Makefile
r69383 r69384 1 # $Id$ 2 ## @file 3 # Makefile for java samples. 4 # 5 6 1 7 # 2 8 # Copyright (C) 2008-2010 Oracle Corporation 3 9 # 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. 11 30 # 12 31 … … 62 81 clean: 63 82 $(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 1 6 # 2 7 # Copyright (C) 2008-2010 Oracle Corporation 3 8 # 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. 11 29 # 12 30 … … 52 70 clean: 53 71 $(RM) -rf $(DEST) 72 -
Property svn:keywords
set to
-
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). 4 4 * 5 5 * Run the VirtualBox web service server first; see the VirtualBox 6 6 * SDK reference for details. 7 7 * 8 * The following license applies to this file only: 9 */ 10 11 /* 8 12 * Copyright (C) 2008-2010 Oracle Corporation 9 *10 * The following license applies to this file only:11 13 * 12 14 * Permission is hereby granted, free of charge, to any person … … 14 16 * files (the "Software"), to deal in the Software without 15 17 * 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: 19 22 * 20 23 * The above copyright notice and this permission notice shall be … … 24 27 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 25 28 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT29 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 27 30 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 28 31 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING … … 30 33 * OTHER DEALINGS IN THE SOFTWARE. 31 34 */ 35 32 36 /* Somewhat ugly way to support versioning */ 33 37 import com.sun.xml.ws.commons.virtualbox{VBOX_API_SUFFIX}.*; -
Property svn:keywords
set to
-
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 2 3 * Sample of performance API usage, written in Java. 3 4 * … … 5 6 * with 'vboxwebsrv -t 1000' command, to calm down watchdog thread. 6 7 * 8 * The following license applies to this file only: 9 */ 10 11 /* 7 12 * Copyright (C) 2008-2010 Oracle Corporation 8 *9 * The following license applies to this file only:10 13 * 11 14 * Permission is hereby granted, free of charge, to any person … … 13 16 * files (the "Software"), to deal in the Software without 14 17 * 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: 18 22 * 19 23 * The above copyright notice and this permission notice shall be … … 23 27 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 24 28 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 25 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT29 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 26 30 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 27 31 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING … … 29 33 * OTHER DEALINGS IN THE SOFTWARE. 30 34 */ 35 31 36 import com.sun.xml.ws.commons.virtualbox{VBOX_API_SUFFIX}.*; 32 37 -
Property svn:keywords
set to
-
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 1 1 <?php 2 3 /* 2 /* $Id$ */ 3 /*!file 4 4 * Sample client for the VirtualBox webservice, written in PHP. 5 5 * … … 7 7 * SDK reference for details. 8 8 * 9 * Copyright (C) 2009-2010 Oracle Corporation 9 * The following license applies to this file only: 10 */ 11 12 /* 10 13 * Contributed by James Lucas (mjlucas at eng.uts.edu.au). 11 14 * 12 * The following license applies to this file only:15 * Copyright (C) 2009-2010 Oracle Corporation 13 16 * 14 17 * Permission is hereby granted, free of charge, to any person … … 16 19 * files (the "Software"), to deal in the Software without 17 20 * 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: 21 25 * 22 26 * The above copyright notice and this permission notice shall be … … 26 30 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 27 31 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT32 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 29 33 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 30 34 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING … … 89 93 echo $ex->getMessage(); 90 94 } 91 95 92 96 $session->unlockMachine(); 93 97 94 98 $machine->releaseRemote(); 95 99 $session->releaseRemote(); 96 100 97 101 break; 98 102 } -
Property svn:eol-style
set to
-
trunk/src/VBox/Main/webservice/samples/python/Makefile
r69383 r69384 1 # $Id$ 2 ## @file 3 # Makefile for java samples. 4 # 5 1 6 # 2 7 # Copyright (C) 2008-2010 Oracle Corporation 3 8 # 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. 11 29 # 12 30 … … 19 37 server: 20 38 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 1 6 # 2 7 # Copyright (C) 2008-2010 Oracle Corporation 3 8 # 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. 11 29 # 12 30 … … 15 33 wrappers: ../../vboxwebService.wsdl ../../vboxweb.wsdl 16 34 wsdl2py -b --file $< 35 -
Property svn:keywords
set to
-
trunk/src/VBox/Main/webservice/samples/python/clienttest.py
r69383 r69384 5 5 Copyright (C) 2012-2016 Oracle Corporation 6 6 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. 7 Permission is hereby granted, free of charge, to any person 8 obtaining a copy of this software and associated documentation 9 files (the "Software"), to deal in the Software without 10 restriction, including without limitation the rights to use, 11 copy, modify, merge, publish, distribute, sublicense, and/or sell 12 copies of the Software, and to permit persons to whom the 13 Software is furnished to do so, subject to the following 14 conditions: 15 16 The above copyright notice and this permission notice shall be 17 included in all copies or substantial portions of the Software. 18 19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 21 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 23 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 24 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 26 OTHER DEALINGS IN THE SOFTWARE. 14 27 """ 15 28
Note:
See TracChangeset
for help on using the changeset viewer.