From 580265475dca3952d6e243b1edeb5243df998c23 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 16 Nov 2009 06:44:01 +0000 Subject: Cleaning up SVN structure, moving tag under sca-cpp/tags. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880623 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/ws.service.interop/Makefile.am | 25 + .../test/ws.service.interop/deploy.bat | 58 + .../test/ws.service.interop/resources/Makefile.am | 25 + .../ws.service.interop/resources/datagraph.xsd | 77 + .../ws.service.interop/resources/importschema.xsd | 30 + .../test/ws.service.interop/resources/interop.wsdl | 1814 ++++++++++++++++++++ .../ws.service.interop/resources/interop01-in.xml | 22 + .../ws.service.interop/resources/interop01.xsd | 33 + .../ws.service.interop/resources/interop02-in.xml | 27 + .../ws.service.interop/resources/interop02.xsd | 36 + .../ws.service.interop/resources/interop03-in.xml | 22 + .../ws.service.interop/resources/interop03.xsd | 31 + .../ws.service.interop/resources/interop04-in.xml | 20 + .../ws.service.interop/resources/interop04.xsd | 29 + .../ws.service.interop/resources/interop06-in.xml | 21 + .../ws.service.interop/resources/interop06.xsd | 23 + .../ws.service.interop/resources/interop07-in.xml | 21 + .../ws.service.interop/resources/interop07.xsd | 28 + .../ws.service.interop/resources/interop08-in.xml | 21 + .../ws.service.interop/resources/interop08.xsd | 35 + .../ws.service.interop/resources/interop09-in.xml | 21 + .../ws.service.interop/resources/interop09.xsd | 30 + .../ws.service.interop/resources/interop10-in.xml | 21 + .../ws.service.interop/resources/interop10.xsd | 32 + .../ws.service.interop/resources/interop11-in.xml | 23 + .../ws.service.interop/resources/interop11.xsd | 34 + .../ws.service.interop/resources/interop12-in.xml | 21 + .../ws.service.interop/resources/interop12.xsd | 33 + .../ws.service.interop/resources/interop13-in.xml | 21 + .../ws.service.interop/resources/interop13.xsd | 36 + .../ws.service.interop/resources/interop14-in.xml | 23 + .../ws.service.interop/resources/interop14.xsd | 33 + .../ws.service.interop/resources/interop15-in.xml | 23 + .../ws.service.interop/resources/interop15.xsd | 33 + .../ws.service.interop/resources/interop16-in.xml | 23 + .../ws.service.interop/resources/interop16.xsd | 33 + .../ws.service.interop/resources/interop17-in.xml | 22 + .../ws.service.interop/resources/interop17.xsd | 42 + .../ws.service.interop/resources/interop18-in.xml | 21 + .../ws.service.interop/resources/interop18.xsd | 30 + .../ws.service.interop/resources/interop19-in.xml | 23 + .../ws.service.interop/resources/interop19.xsd | 34 + .../ws.service.interop/resources/interop20-in.xml | 23 + .../ws.service.interop/resources/interop20.xsd | 36 + .../ws.service.interop/resources/interop21-in.xml | 23 + .../ws.service.interop/resources/interop21.xsd | 35 + .../ws.service.interop/resources/interop22-in.xml | 24 + .../ws.service.interop/resources/interop22.xsd | 44 + .../ws.service.interop/resources/interop23-in.xml | 23 + .../ws.service.interop/resources/interop23.xsd | 35 + .../ws.service.interop/resources/interop24-in.xml | 24 + .../ws.service.interop/resources/interop24.xsd | 40 + .../ws.service.interop/resources/interop25-in.xml | 23 + .../ws.service.interop/resources/interop26-in.xml | 23 + .../ws.service.interop/resources/interop26.xsd | 41 + .../ws.service.interop/resources/interop27-in.xml | 23 + .../ws.service.interop/resources/interop28-in.xml | 26 + .../ws.service.interop/resources/interop28.xsd | 36 + .../ws.service.interop/resources/interop29-in.xml | 23 + .../ws.service.interop/resources/interop29.xsd | 37 + .../ws.service.interop/resources/interop30-in.xml | 28 + .../ws.service.interop/resources/interop30.xsd | 36 + .../ws.service.interop/resources/interop31-in.xml | 23 + .../ws.service.interop/resources/interop31.xsd | 39 + .../ws.service.interop/resources/interop32-in.xml | 32 + .../ws.service.interop/resources/interop32.xsd | 56 + .../ws.service.interop/resources/interop33-in.xml | 31 + .../ws.service.interop/resources/interop33.xsd | 46 + .../ws.service.interop/resources/interop34-in.xml | 21 + .../ws.service.interop/resources/interop34.xsd | 29 + .../ws.service.interop/resources/interop35-in.xml | 23 + .../ws.service.interop/resources/interop35.xsd | 29 + .../ws.service.interop/resources/interop36-in.xml | 21 + .../ws.service.interop/resources/interop36.xsd | 28 + .../ws.service.interop/resources/interop37-in.xml | 22 + .../ws.service.interop/resources/interop37.xsd | 45 + .../ws.service.interop/resources/interop38-in.xml | 24 + .../ws.service.interop/resources/interop38.xsd | 37 + .../ws.service.interop/resources/interop39-in.xml | 22 + .../ws.service.interop/resources/interop40-in.xml | 39 + .../ws.service.interop/resources/interop40.xsd | 49 + .../ws.service.interop/resources/interop41-in.xml | 23 + .../ws.service.interop/resources/interop41.xsd | 28 + .../ws.service.interop/resources/interop42-in.xml | 23 + .../ws.service.interop/resources/interop42.xsd | 28 + .../ws.service.interop/resources/interop43-in.xml | 23 + .../ws.service.interop/resources/interop43.xsd | 29 + .../ws.service.interop/resources/interop44-in.xml | 23 + .../ws.service.interop/resources/interop44.xsd | 29 + .../ws.service.interop/resources/interop45-in.xml | 23 + .../ws.service.interop/resources/interop45.xsd | 30 + .../ws.service.interop/resources/interop46-in.xml | 23 + .../ws.service.interop/resources/interop46.xsd | 30 + .../ws.service.interop/resources/interop47-in.xml | 25 + .../ws.service.interop/resources/interop47.xsd | 31 + .../ws.service.interop/resources/interop50-in.xml | 78 + .../ws.service.interop/resources/interop50.xsd | 79 + .../test/ws.service.interop/runtest.sh | 31 + .../ws.service.interop.client/Makefile.am | 51 + .../ws.service.interop.client/TestClient.cpp | 375 ++++ .../ws.service.interop.client/runclient.bat | 32 + .../ws.service.interop.client/runclient.sh | 42 + .../ws.service.interop.client.vcproj | 139 ++ .../test/ws.service.interop/ws.service.interop.sln | 30 + .../ws.service.interop/Makefile.am | 53 + .../ws.service.interop/ws.service.interop/Test.h | 82 + .../ws.service.interop/TestImpl.componentType | 8 + .../ws.service.interop/TestImpl.cpp | 509 ++++++ .../ws.service.interop/TestImpl.h | 84 + .../ws.service.interop/runwsserver.bat | 49 + .../ws.service.interop/runwsserver.sh | 49 + .../ws.service.interop.composite | 16 + .../ws.service.interop.solution.composite | 27 + .../ws.service.interop/ws.service.interop.vcproj | 170 ++ 114 files changed, 6501 insertions(+) create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd create mode 100755 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat create mode 100755 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat create mode 100755 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite create mode 100644 sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj (limited to 'sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop') diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am new file mode 100644 index 0000000000..bc0e430ee7 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am @@ -0,0 +1,25 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy/configuration +SUBDIRS = ws.service.interop ws.service.interop.client resources +EXTRA_DIST = ws.service.interop.solution +deploy_DATA = ws.service.interop/ws.service.interop.solution.composite + +TESTS = runtest.sh +TESTS_ENVIRONMENT = $(SHELL) -x + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat new file mode 100644 index 0000000000..3aab273673 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat @@ -0,0 +1,58 @@ +@echo off +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +rem Will copy the correct files from the source tree for packaging and deployment of the +rem SCA sample. +setlocal +set currentPath=%~d0%~p0 +set sourcePath=%currentPath% + + +set destinationPath=%sourcePath%\deploy + +if not exist %destinationPath% mkdir %destinationPath% +if not exist %destinationPath%\packages mkdir %destinationPath%\packages +if not exist %destinationPath%\packages\ws.service.interop mkdir %destinationPath%\packages\ws.service.interop + +copy %sourcePath%\ws.service.interop\TestImpl.componentType %destinationPath%\packages\ws.service.interop +copy %sourcePath%\ws.service.interop\ws.service.interop.composite %destinationPath%\packages\ws.service.interop +copy %sourcePath%\ws.service.interop\Test.h %destinationPath%\packages\ws.service.interop +copy %sourcePath%\ws.service.interop\TestImpl.h %destinationPath%\packages\ws.service.interop +copy %sourcePath%\resources\interop.wsdl %destinationPath%\packages\ws.service.interop +copy %sourcePath%\resources\*.xsd %destinationPath%\packages\ws.service.interop +copy %sourcePath%\resources\*.xml %destinationPath%\packages\ws.service.interop +copy %sourcePath%\ws.service.interop\Debug\ws_service_interop.dll %destinationPath%\packages\ws.service.interop + + +if not exist %destinationPath%\bin mkdir %destinationPath%\bin +if not exist %destinationPath%\bin\resources mkdir %destinationPath%\bin\resources + +copy %sourcePath%\ws.service.interop.client\Debug\ws.service.interop.client.exe %destinationPath%\bin +copy %sourcePath%\ws.service.interop.client\Debug\ws.service.interop.client.pdb %destinationPath%\bin +copy %sourcePath%\ws.service.interop.client\runclient.bat %destinationPath%\bin +copy %sourcePath%\ws.service.interop\runwsserver.bat %destinationPath%\bin +copy %sourcePath%\resources\*.xsd %destinationPath%\bin\resources +copy %sourcePath%\resources\*.xml %destinationPath%\bin\resources + + +if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration +if not exist %destinationPath%\configuration\ws.service.interop.solution mkdir %destinationPath%\configuration\ws.service.interop.solution + +copy %sourcePath%\ws.service.interop\ws.service.interop.solution.composite %destinationPath%\configuration\ws.service.interop.solution + +endlocal diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am new file mode 100644 index 0000000000..0a482e82f1 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am @@ -0,0 +1,25 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy +compositedir=$(deploydir)/packages/ws.service.interop +binresourcedir=$(deploydir)/bin/resources + +composite_DATA = *.xsd *.xml *.wsdl +binresource_DATA = *.xsd *.xml *.wsdl +EXTRA_DIST = *.xsd *.xml *.wsdl + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd new file mode 100644 index 0000000000..30727473a0 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Expected type is emof:Package. + + + + + + + + + + + Expected type is xsd:schema. + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd new file mode 100644 index 0000000000..082c389211 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl new file mode 100644 index 0000000000..258b31b2bd --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl @@ -0,0 +1,1814 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml new file mode 100644 index 0000000000..be5da658c2 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml @@ -0,0 +1,22 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd new file mode 100644 index 0000000000..083966d9f9 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml new file mode 100644 index 0000000000..d57593625b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml @@ -0,0 +1,27 @@ + + + + + SimpleTypeWithName + + SomeString + SomeString + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd new file mode 100644 index 0000000000..a46c21c4f9 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml new file mode 100644 index 0000000000..f4f50bf28c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml @@ -0,0 +1,22 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd new file mode 100644 index 0000000000..631dc0bfff --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml new file mode 100644 index 0000000000..ae06607013 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml @@ -0,0 +1,20 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd new file mode 100644 index 0000000000..4d968e7b3c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml new file mode 100644 index 0000000000..168c41d380 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml @@ -0,0 +1,21 @@ + + + + RootElement6 + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd new file mode 100644 index 0000000000..acedc99232 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd @@ -0,0 +1,23 @@ + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml new file mode 100644 index 0000000000..029387c5d4 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd new file mode 100644 index 0000000000..e1cfc492d2 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml new file mode 100644 index 0000000000..5a8c0de3b9 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd new file mode 100644 index 0000000000..b7ca9dc916 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd @@ -0,0 +1,35 @@ + + + + + + SDO 2.0.1 + + A schema that tests the presence of annotations in schema read by SDO + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml new file mode 100644 index 0000000000..37d72454c0 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd new file mode 100644 index 0000000000..3a793fd8c5 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml new file mode 100644 index 0000000000..164b7242b4 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd new file mode 100644 index 0000000000..593860b84b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml new file mode 100644 index 0000000000..5e5d9af4a7 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeAnonymous + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd new file mode 100644 index 0000000000..a72cda91e5 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml new file mode 100644 index 0000000000..09fc39d2e1 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithSDOName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd new file mode 100644 index 0000000000..f428e65bf8 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml new file mode 100644 index 0000000000..256f42646d --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithAbstractBase + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd new file mode 100644 index 0000000000..3d553a7171 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml new file mode 100644 index 0000000000..eb73036a8b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithInstanceClass + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd new file mode 100644 index 0000000000..0155718348 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml new file mode 100644 index 0000000000..2376cbae06 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithExtendedInstanceClass + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd new file mode 100644 index 0000000000..ad59a9710b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml new file mode 100644 index 0000000000..94b51e764f --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml @@ -0,0 +1,23 @@ + + + + + listmember1 listmember2 + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd new file mode 100644 index 0000000000..f6518cfb3f --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml new file mode 100644 index 0000000000..4e6895d46f --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml @@ -0,0 +1,22 @@ + + + + EN + 01:02:03 + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd new file mode 100644 index 0000000000..bbfc755fb7 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml new file mode 100644 index 0000000000..ea28b230ea --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd new file mode 100644 index 0000000000..de8dc5b79e --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml new file mode 100644 index 0000000000..77d828227c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd new file mode 100644 index 0000000000..7d28e0d9b3 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml new file mode 100644 index 0000000000..8b0e8df4ba --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd new file mode 100644 index 0000000000..1c4ffa6a5c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml new file mode 100644 index 0000000000..3bb03bb36f --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd new file mode 100644 index 0000000000..4888a7d385 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml new file mode 100644 index 0000000000..4ee0a343a4 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml @@ -0,0 +1,24 @@ + + + + + BaseElement + ExtensionElement + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd new file mode 100644 index 0000000000..11c8d5c980 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml new file mode 100644 index 0000000000..7f0d845be2 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd new file mode 100644 index 0000000000..b2f358c69e --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml new file mode 100644 index 0000000000..913004272e --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml @@ -0,0 +1,24 @@ + + + + + SimpleTypeWithName + SimpleTypeWithNameExtended + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd new file mode 100644 index 0000000000..c7c5a7f1af --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml new file mode 100644 index 0000000000..4a87e3e401 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml @@ -0,0 +1,23 @@ + + + + + ComplexTypeExtendingSimpeType + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml new file mode 100644 index 0000000000..28ef8e7eaf --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd new file mode 100644 index 0000000000..dc72404fae --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml new file mode 100644 index 0000000000..c596e781ff --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml @@ -0,0 +1,23 @@ + + + + + ComplexTypeSimpleContentRestrictingComplexType + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml new file mode 100644 index 0000000000..ea47654916 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml @@ -0,0 +1,26 @@ + + + + + Some + Mixed + SimpleTypeWithName + Content + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd new file mode 100644 index 0000000000..36ca723a0c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml new file mode 100644 index 0000000000..37dc992ac0 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd new file mode 100644 index 0000000000..febb95142e --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml new file mode 100644 index 0000000000..1f802101c4 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml @@ -0,0 +1,28 @@ + + + + + + Some + Mixed + SimpleTypeWithName + Content + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd new file mode 100644 index 0000000000..d42361b509 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml new file mode 100644 index 0000000000..3cd54829a9 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd new file mode 100644 index 0000000000..9ba51daca8 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml new file mode 100644 index 0000000000..72dc7ceb44 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml @@ -0,0 +1,32 @@ + + + + + + some data string + + + + idvalue2 + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd new file mode 100644 index 0000000000..bf33516371 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml new file mode 100644 index 0000000000..61a0fdf2aa --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml @@ -0,0 +1,31 @@ + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd new file mode 100644 index 0000000000..27f6c22d12 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml new file mode 100644 index 0000000000..3c488be77c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml @@ -0,0 +1,21 @@ + + + + ElementWithSDOName + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd new file mode 100644 index 0000000000..8fe33e9776 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml new file mode 100644 index 0000000000..63f84a91da --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml @@ -0,0 +1,23 @@ + + + + + ElementWithSDOAliasName + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd new file mode 100644 index 0000000000..706326b22f --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml new file mode 100644 index 0000000000..2a4b63f958 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml @@ -0,0 +1,21 @@ + + + + ElementWithMaxOccurs + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd new file mode 100644 index 0000000000..2e1c95b1c3 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml new file mode 100644 index 0000000000..f25366e905 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml @@ -0,0 +1,22 @@ + + + + Element1InChoice + Element2InChoice + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd new file mode 100644 index 0000000000..b2afa51290 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml new file mode 100644 index 0000000000..5a97314a46 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml @@ -0,0 +1,24 @@ + + + + + ElementInAllOne + ElementInAllTwo + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd new file mode 100644 index 0000000000..a4b406550a --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml new file mode 100644 index 0000000000..d6ec278d2a --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml new file mode 100644 index 0000000000..ac7a3835b7 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml @@ -0,0 +1,39 @@ + + + + + + + ElementInSubstitutionGroupBase + + + + Some Data + + + + ElementInSubstitutionGroupBase + + + ElementInSubstitutionGroupExtends + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd new file mode 100644 index 0000000000..3e2ca8765a --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml new file mode 100644 index 0000000000..6fe9f99157 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithDefaultDefault + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd new file mode 100644 index 0000000000..a473626f03 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml new file mode 100644 index 0000000000..427f07b22b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithFixedFixed + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd new file mode 100644 index 0000000000..99a9afecd1 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml new file mode 100644 index 0000000000..005879cf42 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithSDOString + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd new file mode 100644 index 0000000000..60d31e94cc --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml new file mode 100644 index 0000000000..1170e4a991 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml @@ -0,0 +1,23 @@ + + + + + idvalue0 + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd new file mode 100644 index 0000000000..45c74b90fa --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml new file mode 100644 index 0000000000..f0160f713a --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml @@ -0,0 +1,23 @@ + + + + + idvalue0 + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd new file mode 100644 index 0000000000..7a6236c9eb --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml new file mode 100644 index 0000000000..f5ddf4a859 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithSDODataType + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd new file mode 100644 index 0000000000..54573c0bdb --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml new file mode 100644 index 0000000000..4cff425ea2 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml @@ -0,0 +1,25 @@ + + + + + + ChangeSummaryText + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd new file mode 100644 index 0000000000..be67383db3 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml new file mode 100644 index 0000000000..5aa3d442a9 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml @@ -0,0 +1,78 @@ + + + + anySimpleType + AnyTypeString + http://tempuri.org + ABCD + true + false + 1 + 0 + 128 + -127 + 2001-01-01 + 2001-12-31T12:00:00 + -1.23456789 + 1.23456789 + 0.0 + 12.3E-4 + P1D + 0.0 + ---01 + --01-- + --01-01 + 2001 + 2001-01 + 0F00 + idvalue0 + idvalue0 + idvalue0 + -2147483648 + 2147483647 + -2147483648 + 2147483647 + EN + -9223372036854775808 + 9223372036854775807 + Name + NCName + -1 + NMTOKEN + NMTOKENS + 0 + 0 + normalizedString + tns:interop50 + 1 + QName + -32768 + 32767 + string + + token + 0 + 255 + 0 + 4294967295 + 0 + 18446744073709551615 + 0 + 65535 + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd new file mode 100644 index 0000000000..f2d4ed7679 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh new file mode 100755 index 0000000000..831246bbc6 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh @@ -0,0 +1,31 @@ + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +cd $TUSCANY_SCACPP/test/ws.service.interop/deploy/bin + +# Start the axis http server. Output goes to a log file +./runwsserver.sh > runwsserver.log & + +# The wget command makes sure the server has fully started up +wget -O - http://localhost:9090/axis2/services + +# Run the tests against the server +./runclient.sh + +# Finally, kill the axis http server by finding the PID +kill -9 `ps | grep axis2_http_serv | cut -c1-6` diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am new file mode 100644 index 0000000000..9fef007b19 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am @@ -0,0 +1,51 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy +prgbindir=$(deploydir)/bin + +prgbin_PROGRAMS = ws.service.interop.client +prgbin_SCRIPTS = runclient.sh +EXTRA_DIST = runclient.sh + +AM_CPPFLAGS = $(CPPFLAGS) + +ws_service_interop_client_SOURCES = \ +TestClient.cpp + +ws_service_interop_client_LDADD = \ +-L$(TUSCANY_SCACPP)/lib \ + -ltuscany_sca \ +-L$(TUSCANY_SDOCPP)/lib \ + -ltuscany_sdo \ + -ltuscany_sdo_axiom \ +-L$(AXIS2C_HOME)/lib \ + -laxis2_util \ + -laxis2_axiom \ + -laxis2_wsdl \ + -laxis2_engine \ + -laxis2_parser \ + -laxis2_minizip \ + -lpthread \ + -laxis2_http_sender \ + -laxis2_http_receiver + +INCLUDES = \ +-I${AXIS2C_HOME}/include \ +-I${TUSCANY_SCACPP}/include \ +-I${TUSCANY_SDOCPP}/include + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp new file mode 100644 index 0000000000..da3a90cff4 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp @@ -0,0 +1,375 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include +#include +#include + +#include +using namespace commonj::sdo; + +#include +using namespace commonj::sdo_axiom; + +#include +using namespace tuscany::sca; + +#include +#include +using namespace std; + +axiom_node_t* get_om_payload_from_xml_file(axis2_env_t *env, const char* currentTest); +axiom_node_t* runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload); +void loadAllXSD(); +bool compareAxiomNodes(axiom_node_t* returned_payload, axiom_node_t* payload_data); + +XSDHelperPtr xsdHelper = NULL; +XMLHelperPtr xmlHelper = NULL; + + +int main(int argc, char** argv) +{ + axis2_env_t *env = NULL; + axis2_char_t *address = NULL; + axis2_char_t *testNumberString = "-1"; + + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *payload = NULL; + axiom_node_t *ret_node = NULL; + + /* Set up the envioronment */ + env = axis2_env_create_all("ws.service.interop.client.log", AXIS2_LOG_LEVEL_TRACE); + + /* Set end point reference of echo service */ + address = "http://localhost:9090/axis2/services/ws.service"; + if (argc > 1 ) + testNumberString = argv[1]; + if (argc > 2 ) + address = argv[2]; + if (AXIS2_STRCMP(testNumberString, "-h") == 0) + { + cout<<"Usage : "<< argv[0] <<"[test_number] [endpoint_url]"< 0 && testNumber <= 50) + { + cout<<"Running test : "<< testNumber << endl; + } + else + { + testNumber = -1; + cout<<"Running all tests" << endl; + } + + cout<<"Using endpoint : "<< address << endl; + + const string interop = "interop"; + + string currentTest; + + int testsPassed = 0; + int testsRun = 0; + string failedTests = ""; + string unsupportedTests = ""; + + loadAllXSD(); + + // Tests 1 to 50 + for(int i=1; i<=50; i++) + { + if( testNumber != i && + testNumber > 0 ) + { + // Only running a single, chosen test + continue; + } + if( i==13 || + i==48 || + i==49 ) + { + // Ignore non-existant schemas + continue; + } + + currentTest = interop; + if(i<10) + { + currentTest.append("0"); + } + char buf[3]; + sprintf(buf, "%d", i); + currentTest.append(buf); + + cout << "Running test " << currentTest << endl; + + if( i==5 || + i==25 || + i==27 || + i==39 ) + { + cout << "We do not currently support schema " << currentTest << endl; + unsupportedTests += currentTest + " "; + continue; + } + + testsRun++; + + payload = get_om_payload_from_xml_file(env, currentTest.c_str()); + axiom_node_t* returned_payload = NULL; + bool success = false; + if(payload) + { + returned_payload = runCall(env, address, (char*) currentTest.c_str(), payload); + } + + if(returned_payload) + { + // Get the inner node to compare + axiom_node_t* payload_data = AXIOM_NODE_GET_FIRST_CHILD(payload, env); + success = compareAxiomNodes(returned_payload, payload_data); + } + + if(success) + { + cout << currentTest << " PASSED!" << endl; + testsPassed++; + } + else + { + failedTests += currentTest + " "; + cout << currentTest << " FAILED!" << endl; + } + + } + cout << "Passed " << testsPassed << " of " << testsRun << " tests" << endl; + if(failedTests.size() > 0) + { + string expectedFailedTests = "interop04 interop28 interop30 interop32 interop33 interop40 interop50"; + cout << " Failed Tests: " << failedTests << endl; + cout << "Expected failures: " << expectedFailedTests << endl; + } + if(unsupportedTests.size() > 0) + { + cout << "Unsupported: " << unsupportedTests << endl; + } + return 0; +} + +axiom_node_t* runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload) +{ + axis2_char_t *address = endpoint; + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *ret_node = NULL; + axiom_node_t *ret = NULL; + char action [100]; + int len = 0; + + client_home = AXIS2_GETENV("AXIS2C_HOME"); + + /* Create EPR with given address */ + endpoint_ref = axis2_endpoint_ref_create(env, address); + + svc_client = axis2_svc_client_create(env, client_home); + if (!svc_client) + { + printf("Error creating service client\n"); + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + return NULL; + } + + options = axis2_options_create(env); + + AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref); + + len = sprintf(action, "http://www.WSEntryPointTest.org/WSEntryPointTest/%s", opName); + AXIS2_OPTIONS_SET_ACTION(options, env, action); + + /* Set service client options */ + AXIS2_SVC_CLIENT_SET_OPTIONS(svc_client, env, options); + + /* Engage addressing composite */ + AXIS2_SVC_CLIENT_ENGAGE_MODULE(svc_client, env, AXIS2_MODULE_ADDRESSING); + + + /* Send request */ + ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload); + if(ret_node) + { + ret = AXIOM_NODE_GET_FIRST_CHILD(ret_node, env); + if(!ret) + { + cout << "No data in response - failure on server" << endl; + } + } + else + { + cout << "request failed" << endl; + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + } + + if (svc_client) + { + AXIS2_SVC_CLIENT_FREE(svc_client, env); + svc_client = NULL; + } + if (endpoint_ref) + { + // The following line is commented out due to it causing a segmentation fault on Linux with Axis2C 0.93 + // AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env); + endpoint_ref = NULL; + } + + return ret; +} + + +bool compareAxiomNodes(axiom_node_t* returned_payload, axiom_node_t* expected_payload) +{ + bool success = false; + + AxiomHelper* axiomHelper = AxiomHelper::getHelper(); + DataObjectPtr expectedDO = axiomHelper->toSdo(expected_payload, xsdHelper->getDataFactory()); + DataObjectPtr returnedDO = axiomHelper->toSdo(returned_payload, xsdHelper->getDataFactory()); + + string diff; + success = Utils::compareDataObjects(expectedDO, returnedDO, diff); + + if(!success) + { + cout << "Expected data does not match returned data:\n" << diff << "\nExpected data:"<defineFile(xsdFileName.c_str()); + } + + } + catch(SDORuntimeException& ex) + { + cout << "SDORuntimeException whilst loading xsd" << endl; + cout << ex.getMessageText() << endl; + } +} + +/* build SOAP request message content using OM */ +axiom_node_t* get_om_payload_from_xml_file(axis2_env_t *env, const char* currentTest) +{ + axiom_node_t* req_om_node = NULL; + axiom_node_t* payload_om_node = NULL; + const string resourcesDir = "./resources/"; + const string dotxml = "-in.xml"; + + string xmlFileName = resourcesDir + currentTest + dotxml; + + try + { + + xmlHelper = HelperProvider::getXMLHelper(xsdHelper->getDataFactory()); + + XMLDocumentPtr payloadFile = xmlHelper->loadFile(xmlFileName.c_str()); + string rootElemURI = payloadFile->getRootElementURI(); + string rootElemName = payloadFile->getRootElementName(); + + DataObjectPtr payloadDO = payloadFile->getRootDataObject(); + + AxiomHelper* axiomHelper = AxiomHelper::getHelper(); + payload_om_node = axiomHelper->toAxiomNode(payloadDO, rootElemURI.c_str(), rootElemName.c_str()); + + if(!payload_om_node) + { + payload_om_node = axiomHelper->toAxiomNode(payloadDO); + } + + if(payload_om_node) + { + axiom_element_t* req_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.apache.org/tuscany/interop", "ns1"); + req_om_elem = axiom_element_create(env, NULL, currentTest, ns1, &req_om_node); + AXIOM_NODE_DETACH(payload_om_node, env); + AXIOM_NODE_ADD_CHILD(req_om_node, env, payload_om_node); + } + else + { + cout << "Could not convert xml document("<< xmlFileName <<") to Axiom" << endl; + return NULL; + } + + } + catch(SDORuntimeException& ex) + { + cout << "SDORuntimeException whilst loading xml ("<< xmlFileName <<") & converting to Axiom" << endl; + cout << ex.getMessageText() << endl; + return NULL; + } + + return req_om_node; +} diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat new file mode 100644 index 0000000000..4ab0ea4cf3 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat @@ -0,0 +1,32 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +setlocal + +if "%AXIS2C_HOME%" == "" ( +echo "AXIS2C_HOME not set" +goto end +) +echo Using Axis2C installed at %AXIS2C_HOME% + +rem Run the client +.\ws.service.interop.client.exe + +:end +endlocal diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh new file mode 100755 index 0000000000..57e4b6b90f --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH + +./ws.service.interop.client + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj new file mode 100644 index 0000000000..2646bb025c --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln new file mode 100644 index 0000000000..b0bda8950b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln @@ -0,0 +1,30 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.service.interop", "ws.service.interop\ws.service.interop.vcproj", "{25B65303-B2E2-47AF-968C-89D9E58611F8}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.service.interop.client", "ws.service.interop.client\ws.service.interop.client.vcproj", "{136C4966-3073-4EB0-9259-BC5E3B987D19}" + ProjectSection(ProjectDependencies) = postProject + {25B65303-B2E2-47AF-968C-89D9E58611F8} = {25B65303-B2E2-47AF-968C-89D9E58611F8} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.ActiveCfg = Debug|Win32 + {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.Build.0 = Debug|Win32 + {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.ActiveCfg = Release|Win32 + {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.Build.0 = Release|Win32 + {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.ActiveCfg = Debug|Win32 + {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.Build.0 = Debug|Win32 + {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.ActiveCfg = Release|Win32 + {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am new file mode 100644 index 0000000000..d8a82e241a --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am @@ -0,0 +1,53 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy +compositedir=$(deploydir)/packages/ws.service.interop +prgbindir=$(deploydir)/bin + +BUILT_SOURCES = TestImpl_TestService_Proxy.cpp \ +TestImpl_TestService_Wrapper.cpp + +noinst_HEADERS = *.h + +${BUILT_SOURCES}: ws.service.interop.composite + java -jar $(TUSCANY_SCACPP)/bin/scagen.jar -dir . -output . -verbose + +prgbin_SCRIPTS = runwsserver.sh + +composite_LTLIBRARIES = libws_service_interop.la +composite_DATA = ws.service.interop.composite *.componentType +EXTRA_DIST = ws.service.interop.composite *.componentType runwsserver.sh + +libws_service_interop_la_SOURCES = \ +TestImpl.cpp \ +TestImpl_TestService_Proxy.cpp \ +TestImpl_TestService_Wrapper.cpp + +libws_service_interop_la_LIBADD = \ +-L${TUSCANY_SCACPP}/lib \ + -ltuscany_sca \ +-L${TUSCANY_SCACPP}/extensions/cpp/lib \ + -ltuscany_sca_cpp \ +-L${TUSCANY_SDOCPP}/lib \ + -ltuscany_sdo + +INCLUDES = \ +-I$(TUSCANY_SCACPP)/extensions/cpp/include \ +-I$(TUSCANY_SCACPP)/include \ +-I${TUSCANY_SDOCPP}/include + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h new file mode 100644 index 0000000000..59f55984e7 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h @@ -0,0 +1,82 @@ +/* ++----------------------------------------------------------------------+ +| | +| Licensed under the Apache License, Version 2.0 (the "License"); you | +| may not use this file except in compliance with the License. You may | +| obtain a copy of the License at | +| http://www.apache.org/licenses/LICENSE-2.0 | +| | +| Unless required by applicable law or agreed to in writing, software | +| distributed under the License is distributed on an "AS IS" BASIS, | +| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | +| implied. See the License for the specific language governing | +| permissions and limitations under the License. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TEST_H +#define TEST_H + +#include +#include +#include +using std::string; + +class Test +{ +public: + virtual DataObjectPtr interop01(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop02(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop03(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop04(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop05(DataObjectPtr arg1) = 0; + virtual string interop06(string arg1) = 0; + virtual DataObjectPtr interop07(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop08(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop09(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop10(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop11(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop12(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop13(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop14(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop15(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop16(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop17(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop18(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop19(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop20(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop21(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop22(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop23(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop24(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop25(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop26(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop27(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop28(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop29(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop30(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop31(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop32(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop33(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop34(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop35(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop36(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop37(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop38(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop39(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop40(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop41(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop42(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop43(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop44(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop45(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop46(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop47(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop48(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop49(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop50(DataObjectPtr arg1) = 0; +}; + +#endif + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType new file mode 100644 index 0000000000..d0cca1882d --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp new file mode 100644 index 0000000000..c99667e362 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp @@ -0,0 +1,509 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| Licensed under the Apache License, Version 2.0 (the "License"); you | +| may not use this file except in compliance with the License. You may | +| obtain a copy of the License at | +| http://www.apache.org/licenses/LICENSE-2.0 | +| | +| Unless required by applicable law or agreed to in writing, software | +| distributed under the License is distributed on an "AS IS" BASIS, | +| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | +| implied. See the License for the specific language governing | +| permissions and limitations under the License. | ++----------------------------------------------------------------------+ +*/ + +#include "TestImpl.h" + +#include +#include +#include +#include +using namespace tuscany::sca; +#include +using namespace commonj::sdo; + +#include + +#include +using std::string; + +TestImpl::TestImpl() +{ +} + +TestImpl::~TestImpl() +{ +} + +bool TestImpl::compareWithFile(DataObjectPtr suppliedDO, string test) +{ + Composite* composite = SCARuntime::getInstance()->getCurrentComponent()->getComposite(); + string rootPath = composite->getRoot(); + string xmlFileName = rootPath+"/"+test+"-in.xml"; + + XMLHelperPtr helper = composite->getXMLHelper(); + XMLDocumentPtr expectedDoc = helper->loadFile(xmlFileName.c_str()); + DataObjectPtr expectedDO = expectedDoc->getRootDataObject(); + + printf( "Comparing supplied DataObject against expected DataObject\n"); + + string diff = ""; + bool result = Utils::compareDataObjects(suppliedDO, expectedDO, diff); + if(!result) + { + printf("Supplied DO differs from expected DO:\n%s\nSupplied DO:\n", diff.c_str() ); + Utils::printDO(suppliedDO); + printf("Expected DO:\n"); + Utils::printDO(expectedDO); + } + else + { + printf("DataObjects match!\n"); + } + + return result; +} + +DataObjectPtr TestImpl::interop01(DataObjectPtr arg1) +{ + printf("TestImpl::interop01 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop01")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop02(DataObjectPtr arg1) +{ + printf("TestImpl::interop02 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop02")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop03(DataObjectPtr arg1) +{ + printf("TestImpl::interop03 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop03")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop04(DataObjectPtr arg1) +{ + printf("TestImpl::interop04 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop04")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop05(DataObjectPtr arg1) +{ + printf("TestImpl::interop05 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop05")) + { + return arg1; + } + return NULL; +} +string TestImpl::interop06(string arg1) +{ + printf("TestImpl::interop06 %s\n", arg1.c_str()); + return arg1; +} +DataObjectPtr TestImpl::interop07(DataObjectPtr arg1) +{ + printf("TestImpl::interop07 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop07")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop08(DataObjectPtr arg1) +{ + printf("TestImpl::interop08 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop08")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop09(DataObjectPtr arg1) +{ + printf("TestImpl::interop09 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop09")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop10(DataObjectPtr arg1) +{ + printf("TestImpl::interop10 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop10")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop11(DataObjectPtr arg1) +{ + printf("TestImpl::interop11 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop11")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop12(DataObjectPtr arg1) +{ + printf("TestImpl::interop12 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop12")) + { + return arg1; + } + return NULL; +} +// DataObjectPtr TestImpl::interop13(DataObjectPtr arg1) +// { +// printf("TestImpl::interop13 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +DataObjectPtr TestImpl::interop14(DataObjectPtr arg1) +{ + printf("TestImpl::interop14 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop14")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop15(DataObjectPtr arg1) +{ + printf("TestImpl::interop15 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop15")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop16(DataObjectPtr arg1) +{ + printf("TestImpl::interop16 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop16")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop17(DataObjectPtr arg1) +{ + printf("TestImpl::interop17 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop17")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop18(DataObjectPtr arg1) +{ + printf("TestImpl::interop18 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop18")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop19(DataObjectPtr arg1) +{ + printf("TestImpl::interop19 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop19")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop20(DataObjectPtr arg1) +{ + printf("TestImpl::interop20 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop20")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop21(DataObjectPtr arg1) +{ + printf("TestImpl::interop21 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop21")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop22(DataObjectPtr arg1) +{ + printf("TestImpl::interop22 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop22")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop23(DataObjectPtr arg1) +{ + printf("TestImpl::interop23 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop23")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop24(DataObjectPtr arg1) +{ + printf("TestImpl::interop24 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop24")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop25(DataObjectPtr arg1) +{ + printf("TestImpl::interop25 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop25")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop26(DataObjectPtr arg1) +{ + printf("TestImpl::interop26 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop26")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop27(DataObjectPtr arg1) +{ + printf("TestImpl::interop27 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop27")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop28(DataObjectPtr arg1) +{ + printf("TestImpl::interop28 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop28")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop29(DataObjectPtr arg1) +{ + printf("TestImpl::interop29 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop29")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop30(DataObjectPtr arg1) +{ + printf("TestImpl::interop30 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop30")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop31(DataObjectPtr arg1) +{ + printf("TestImpl::interop31 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop31")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop32(DataObjectPtr arg1) +{ + printf("TestImpl::interop32 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop32")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop33(DataObjectPtr arg1) +{ + printf("TestImpl::interop33 %s\n", arg1->getType().getURI()); + bool result = compareWithFile(arg1, "interop33"); + if(result) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop34(DataObjectPtr arg1) +{ + printf("TestImpl::interop34 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop34")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop35(DataObjectPtr arg1) +{ + printf("TestImpl::interop35 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop35")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop36(DataObjectPtr arg1) +{ + printf("TestImpl::interop36 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop36")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop37(DataObjectPtr arg1) +{ + printf("TestImpl::interop37 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop37")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop38(DataObjectPtr arg1) +{ + printf("TestImpl::interop38 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop38")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop39(DataObjectPtr arg1) +{ + printf("TestImpl::interop39 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop39")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop40(DataObjectPtr arg1) +{ + printf("TestImpl::interop40 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop40")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop41(DataObjectPtr arg1) +{ + printf("TestImpl::interop41 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop41")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop42(DataObjectPtr arg1) +{ + printf("TestImpl::interop42 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop42")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop43(DataObjectPtr arg1) +{ + printf("TestImpl::interop43 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop43")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop44(DataObjectPtr arg1) +{ + printf("TestImpl::interop44 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop44")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop45(DataObjectPtr arg1) +{ + printf("TestImpl::interop45 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop45")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop46(DataObjectPtr arg1) +{ + printf("TestImpl::interop46 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop46")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop47(DataObjectPtr arg1) +{ + printf("TestImpl::interop47 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop47")) + { + return arg1; + } + return NULL; +} +// DataObjectPtr TestImpl::interop48(DataObjectPtr arg1) +// { +// printf("TestImpl::interop48 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +// DataObjectPtr TestImpl::interop49(DataObjectPtr arg1) +// { +// printf("TestImpl::interop49 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +DataObjectPtr TestImpl::interop50(DataObjectPtr arg1) +{ + printf("TestImpl::interop50 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop50")) + { + return arg1; + } + return NULL; +} diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h new file mode 100644 index 0000000000..2f4f57e475 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h @@ -0,0 +1,84 @@ +/* ++----------------------------------------------------------------------+ +| | +| Licensed under the Apache License, Version 2.0 (the "License"); you | +| may not use this file except in compliance with the License. You may | +| obtain a copy of the License at | +| http://www.apache.org/licenses/LICENSE-2.0 | +| | +| Unless required by applicable law or agreed to in writing, software | +| distributed under the License is distributed on an "AS IS" BASIS, | +| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | +| implied. See the License for the specific language governing | +| permissions and limitations under the License. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TESTIMPL_H +#define TESTIMPL_H + +#include "Test.h" + +class TestImpl : public Test +{ +public: + TestImpl(); + virtual ~TestImpl(); + + // Test interface + virtual DataObjectPtr interop01(DataObjectPtr arg1); + virtual DataObjectPtr interop02(DataObjectPtr arg1); + virtual DataObjectPtr interop03(DataObjectPtr arg1); + virtual DataObjectPtr interop04(DataObjectPtr arg1); + virtual DataObjectPtr interop05(DataObjectPtr arg1); + virtual string interop06(string arg1); + virtual DataObjectPtr interop07(DataObjectPtr arg1); + virtual DataObjectPtr interop08(DataObjectPtr arg1); + virtual DataObjectPtr interop09(DataObjectPtr arg1); + virtual DataObjectPtr interop10(DataObjectPtr arg1); + virtual DataObjectPtr interop11(DataObjectPtr arg1); + virtual DataObjectPtr interop12(DataObjectPtr arg1); + //virtual DataObjectPtr interop13(DataObjectPtr arg1); + virtual DataObjectPtr interop14(DataObjectPtr arg1); + virtual DataObjectPtr interop15(DataObjectPtr arg1); + virtual DataObjectPtr interop16(DataObjectPtr arg1); + virtual DataObjectPtr interop17(DataObjectPtr arg1); + virtual DataObjectPtr interop18(DataObjectPtr arg1); + virtual DataObjectPtr interop19(DataObjectPtr arg1); + virtual DataObjectPtr interop20(DataObjectPtr arg1); + virtual DataObjectPtr interop21(DataObjectPtr arg1); + virtual DataObjectPtr interop22(DataObjectPtr arg1); + virtual DataObjectPtr interop23(DataObjectPtr arg1); + virtual DataObjectPtr interop24(DataObjectPtr arg1); + virtual DataObjectPtr interop25(DataObjectPtr arg1); + virtual DataObjectPtr interop26(DataObjectPtr arg1); + virtual DataObjectPtr interop27(DataObjectPtr arg1); + virtual DataObjectPtr interop28(DataObjectPtr arg1); + virtual DataObjectPtr interop29(DataObjectPtr arg1); + virtual DataObjectPtr interop30(DataObjectPtr arg1); + virtual DataObjectPtr interop31(DataObjectPtr arg1); + virtual DataObjectPtr interop32(DataObjectPtr arg1); + virtual DataObjectPtr interop33(DataObjectPtr arg1); + virtual DataObjectPtr interop34(DataObjectPtr arg1); + virtual DataObjectPtr interop35(DataObjectPtr arg1); + virtual DataObjectPtr interop36(DataObjectPtr arg1); + virtual DataObjectPtr interop37(DataObjectPtr arg1); + virtual DataObjectPtr interop38(DataObjectPtr arg1); + virtual DataObjectPtr interop39(DataObjectPtr arg1); + virtual DataObjectPtr interop40(DataObjectPtr arg1); + virtual DataObjectPtr interop41(DataObjectPtr arg1); + virtual DataObjectPtr interop42(DataObjectPtr arg1); + virtual DataObjectPtr interop43(DataObjectPtr arg1); + virtual DataObjectPtr interop44(DataObjectPtr arg1); + virtual DataObjectPtr interop45(DataObjectPtr arg1); + virtual DataObjectPtr interop46(DataObjectPtr arg1); + virtual DataObjectPtr interop47(DataObjectPtr arg1); + //virtual DataObjectPtr interop48(DataObjectPtr arg1); + //virtual DataObjectPtr interop49(DataObjectPtr arg1); + virtual DataObjectPtr interop50(DataObjectPtr arg1); +private: + virtual bool compareWithFile(DataObjectPtr arg1, string test); +}; + +#endif + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat new file mode 100644 index 0000000000..804688fc56 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat @@ -0,0 +1,49 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +setlocal + +if "%TUSCANY_SCACPP%" == "" ( +echo "TUSCANY_SCACPP not set" +goto end +) +echo using SCA installed at %TUSCANY_SCACPP% + +if "%TUSCANY_SDOCPP%" == "" ( +echo "TUSCANY_SDOCPP not set" +goto end +) +echo using SDO installed at %TUSCANY_SDOCPP% + +if "%AXIS2C_HOME%" == "" ( +echo "AXIS2C_HOME not set" +goto end +) +echo using Axis2C installed at %AXIS2C_HOME% + +set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ +set TUSCANY_SCACPP_DEFAULT_COMPONENT=ws.service.interop.solution.component + +set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% + +cd %AXIS2C_HOME%\bin +.\axis2_http_server.exe + +:end +endlocal diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh new file mode 100755 index 0000000000..ec0a75188b --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh @@ -0,0 +1,49 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +APFULLDIR=`pwd` + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +TEST_SYSTEM=$APFULLDIR/../ + +export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SCACPP/extensions/cpp/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH + +export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM +export TUSCANY_SCACPP_DEFAULT_COMPONENT=ws.service.interop.solution.component + +cd $AXIS2C_HOME/bin +./axis2_http_server diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite new file mode 100644 index 0000000000..997aebfdc0 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite @@ -0,0 +1,16 @@ + + + + + + + + ws.service.interop.component/TestService + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite new file mode 100644 index 0000000000..4a47d431a8 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite @@ -0,0 +1,27 @@ + + + + + + + + + + + + diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj new file mode 100644 index 0000000000..57749e2b40 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3