agutierrez-ext vor 4 Jahren
Ursprung
Commit
6bfd3a7c05

+ 1 - 1
.gitignore Datei anzeigen

@@ -1,2 +1,2 @@
1
-/nbproject/private/
1
+/nbproject/
2 2
 /build/

+ 32 - 59
nbproject/build-impl.xml Datei anzeigen

@@ -20,6 +20,7 @@ is divided into following sections:
20 20
 
21 21
         -->
22 22
 <project xmlns:if="ant:if" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" xmlns:unless="ant:unless" basedir=".." default="default" name="GenesisAPI-impl">
23
+    <import file="jaxws-build.xml"/>
23 24
     <import file="xml_binding_build.xml"/>
24 25
     <fail message="Please build using Ant 1.8.0 or higher.">
25 26
         <condition>
@@ -120,43 +121,7 @@ is divided into following sections:
120 121
         <property name="module.name" value=""/>
121 122
     </target>
122 123
     <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property,-init-modules-supported" name="-do-init">
123
-        <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
124
-        <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
125
-        <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
126
-        <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
127
-        <condition property="platform.javac" value="${platform.home}/bin/javac">
128
-            <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>
129
-        </condition>
130
-        <property name="platform.javac" value="${platform.javac.tmp}"/>
131
-        <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
132
-        <condition property="platform.java" value="${platform.home}/bin/java">
133
-            <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>
134
-        </condition>
135
-        <property name="platform.java" value="${platform.java.tmp}"/>
136
-        <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
137
-        <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">
138
-            <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>
139
-        </condition>
140
-        <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
141
-        <condition property="platform.invalid" value="true">
142
-            <or>
143
-                <contains string="${platform.javac}" substring="$${platforms."/>
144
-                <contains string="${platform.java}" substring="$${platforms."/>
145
-                <contains string="${platform.javadoc}" substring="$${platforms."/>
146
-            </or>
147
-        </condition>
148
-        <fail unless="platform.home">Must set platform.home</fail>
149
-        <fail unless="platform.bootcp">Must set platform.bootcp</fail>
150
-        <fail unless="platform.java">Must set platform.java</fail>
151
-        <fail unless="platform.javac">Must set platform.javac</fail>
152
-        <fail if="platform.invalid">
153
- The J2SE Platform is not correctly set up.
154
- Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. 
155
- Either open the project in the IDE and setup the Platform with the same name or add it manually.
156
- For example like this:
157
-     ant -Duser.properties.file=&lt;path_to_property_file&gt; jar (where you put the property "platforms.${platform.active}.home" in a .properties file)
158
-  or ant -Dplatforms.${platform.active}.home=&lt;path_to_JDK_home&gt; jar (where no properties file is used) 
159
-  </fail>
124
+        <property name="platform.java" value="${java.home}/bin/java"/>
160 125
         <available file="${manifest.file}" property="manifest.available"/>
161 126
         <condition property="splashscreen.available">
162 127
             <and>
@@ -279,6 +244,20 @@ is divided into following sections:
279 244
         <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
280 245
             <isset property="profile.available"/>
281 246
         </condition>
247
+        <condition else="false" property="jdkBug6558476">
248
+            <and>
249
+                <matches pattern="1\.[56]" string="${java.specification.version}"/>
250
+                <not>
251
+                    <os family="unix"/>
252
+                </not>
253
+            </and>
254
+        </condition>
255
+        <condition else="false" property="javac.fork">
256
+            <or>
257
+                <istrue value="${jdkBug6558476}"/>
258
+                <istrue value="${javac.external.vm}"/>
259
+            </or>
260
+        </condition>
282 261
         <property name="jar.index" value="false"/>
283 262
         <property name="jar.index.metainf" value="${jar.index}"/>
284 263
         <property name="copylibs.rebase" value="true"/>
@@ -366,7 +345,7 @@ is divided into following sections:
366 345
                         </path>
367 346
                     </resourcecount>
368 347
                 </condition>
369
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
348
+                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
370 349
                     <src>
371 350
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">
372 351
                             <include name="*"/>
@@ -417,7 +396,7 @@ is divided into following sections:
417 396
                 <property location="${build.dir}/empty" name="empty.dir"/>
418 397
                 <mkdir dir="${empty.dir}"/>
419 398
                 <mkdir dir="@{apgeneratedsrcdir}"/>
420
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
399
+                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
421 400
                     <src>
422 401
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">
423 402
                             <include name="*"/>
@@ -459,7 +438,7 @@ is divided into following sections:
459 438
             <sequential>
460 439
                 <property location="${build.dir}/empty" name="empty.dir"/>
461 440
                 <mkdir dir="${empty.dir}"/>
462
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
441
+                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
463 442
                     <src>
464 443
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">
465 444
                             <include name="*"/>
@@ -538,7 +517,7 @@ is divided into following sections:
538 517
             <element name="customizePrototype" optional="true"/>
539 518
             <sequential>
540 519
                 <property name="junit.forkmode" value="perTest"/>
541
-                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}">
520
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
542 521
                     <syspropertyset>
543 522
                         <propertyref prefix="test-sys-prop."/>
544 523
                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
@@ -566,7 +545,7 @@ is divided into following sections:
566 545
             <element name="customizePrototype" optional="true"/>
567 546
             <sequential>
568 547
                 <property name="junit.forkmode" value="perTest"/>
569
-                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}">
548
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
570 549
                     <syspropertyset>
571 550
                         <propertyref prefix="test-sys-prop."/>
572 551
                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
@@ -642,7 +621,7 @@ is divided into following sections:
642 621
                     </fileset>
643 622
                 </union>
644 623
                 <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
645
-                <testng classfilesetref="test.set" failureProperty="tests.failed" jvm="${platform.java}" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="GenesisAPI" testname="TestNG tests" workingDir="${work.dir}">
624
+                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="GenesisAPI" testname="TestNG tests" workingDir="${work.dir}">
646 625
                     <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
647 626
                     <propertyset>
648 627
                         <propertyref prefix="test-sys-prop."/>
@@ -873,9 +852,6 @@ is divided into following sections:
873 852
                     <classpath>
874 853
                         <path path="@{classpath}"/>
875 854
                     </classpath>
876
-                    <bootclasspath>
877
-                        <path path="${platform.bootcp}"/>
878
-                    </bootclasspath>
879 855
                 </nbjpdastart>
880 856
             </sequential>
881 857
         </macrodef>
@@ -925,7 +901,7 @@ is divided into following sections:
925 901
             <attribute default="jvm" name="jvm"/>
926 902
             <element name="customize" optional="true"/>
927 903
             <sequential>
928
-                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true" jvm="${platform.java}" module="@{modulename}">
904
+                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true" module="@{modulename}">
929 905
                     <classpath>
930 906
                         <path path="@{classpath}"/>
931 907
                     </classpath>
@@ -959,7 +935,7 @@ is divided into following sections:
959 935
             <attribute default="jvm" name="jvm"/>
960 936
             <element name="customize" optional="true"/>
961 937
             <sequential>
962
-                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true" jvm="${platform.java}">
938
+                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
963 939
                     <classpath>
964 940
                         <path path="@{classpath}"/>
965 941
                     </classpath>
@@ -991,7 +967,7 @@ is divided into following sections:
991 967
             <attribute default="jvm" name="jvm"/>
992 968
             <element name="customize" optional="true"/>
993 969
             <sequential>
994
-                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true" jvm="${platform.java}">
970
+                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
995 971
                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
996 972
                     <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
997 973
                     <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
@@ -1103,7 +1079,7 @@ is divided into following sections:
1103 1079
             <param name="no.dependencies" value="true"/>
1104 1080
         </antcall>
1105 1081
     </target>
1106
-    <target depends="init,deps-jar,jaxb-code-generation" name="-pre-pre-compile">
1082
+    <target depends="init,deps-jar,jaxb-code-generation,wsimport-client-generate" name="-pre-pre-compile">
1107 1083
         <mkdir dir="${build.classes.dir}"/>
1108 1084
     </target>
1109 1085
     <target name="-pre-compile">
@@ -1225,7 +1201,7 @@ is divided into following sections:
1225 1201
         <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
1226 1202
         <echo level="info">To run this application from the command line without Ant, try:</echo>
1227 1203
         <property location="${dist.jar}" name="dist.jar.resolved"/>
1228
-        <echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo>
1204
+        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
1229 1205
     </target>
1230 1206
     <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-check-do-mkdist" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
1231 1207
         <j2seproject1:jar manifest="${tmp.manifest.file}"/>
@@ -1327,8 +1303,8 @@ is divided into following sections:
1327 1303
                 <isset property="main.class.available"/>
1328 1304
             </and>
1329 1305
         </condition>
1330
-        <property name="platform.jlink" value="${platform.home}/bin/jlink"/>
1331
-        <property name="jlink.systemmodules.internal" value="${platform.home}/jmods"/>
1306
+        <property name="platform.jlink" value="${jdk.home}/bin/jlink"/>
1307
+        <property name="jlink.systemmodules.internal" value="${jdk.home}/jmods"/>
1332 1308
         <exec executable="${platform.jlink}">
1333 1309
             <arg value="--module-path"/>
1334 1310
             <arg path="${jlink.systemmodules.internal}:${run.modulepath}:${dist.jar}"/>
@@ -1521,19 +1497,16 @@ is divided into following sections:
1521 1497
                 </not>
1522 1498
             </and>
1523 1499
         </condition>
1524
-        <exec executable="${platform.java}" failonerror="false" outputproperty="platform.version.output">
1525
-            <arg value="-version"/>
1526
-        </exec>
1527 1500
         <condition else="" property="bug5101868workaround" value="*.java">
1528
-            <matches multiline="true" pattern="1\.[56](\..*)?" string="${platform.version.output}"/>
1501
+            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
1529 1502
         </condition>
1530 1503
         <condition else="" property="javadoc.html5.cmd.line.arg" value="-html5">
1531 1504
             <and>
1532 1505
                 <isset property="javadoc.html5"/>
1533
-                <available file="${platform.home}${file.separator}lib${file.separator}jrt-fs.jar"/>
1506
+                <available file="${jdk.home}${file.separator}lib${file.separator}jrt-fs.jar"/>
1534 1507
             </and>
1535 1508
         </condition>
1536
-        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
1509
+        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
1537 1510
             <classpath>
1538 1511
                 <path path="${javac.classpath}"/>
1539 1512
             </classpath>

+ 3 - 3
nbproject/genfiles.properties Datei anzeigen

@@ -1,8 +1,8 @@
1
-build.xml.data.CRC32=9b47f2f6
1
+build.xml.data.CRC32=7c51a37e
2 2
 build.xml.script.CRC32=ff2bf120
3 3
 build.xml.stylesheet.CRC32=f85dc8f2@1.99.0.48
4 4
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5 5
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6
-nbproject/build-impl.xml.data.CRC32=9b47f2f6
7
-nbproject/build-impl.xml.script.CRC32=05aed5de
6
+nbproject/build-impl.xml.data.CRC32=7c51a37e
7
+nbproject/build-impl.xml.script.CRC32=f8bba373
8 8
 nbproject/build-impl.xml.stylesheet.CRC32=d549e5cc@1.99.0.48

+ 1 - 1
nbproject/project.properties Datei anzeigen

@@ -81,7 +81,7 @@ main.class=com.vespot.Genesis
81 81
 manifest.file=manifest.mf
82 82
 meta.inf.dir=${src.dir}/META-INF
83 83
 mkdist.disabled=false
84
-platform.active=JDK_1.8
84
+platform.active=default_platform
85 85
 run.classpath=\
86 86
     ${javac.classpath}:\
87 87
     ${build.classes.dir}

+ 0 - 1
nbproject/project.xml Datei anzeigen

@@ -9,7 +9,6 @@
9 9
         </buildExtensions>
10 10
         <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
11 11
             <name>GenesisAPI</name>
12
-            <explicit-platform explicit-source-supported="true"/>
13 12
             <source-roots>
14 13
                 <root id="src.dir"/>
15 14
             </source-roots>

+ 40 - 0
src/META-INF/wsdl/GenesisService.wsdl Datei anzeigen

@@ -0,0 +1,40 @@
1
+<?xml version="1.0" encoding="UTF-8"?><definitions name="GenesisService" targetNamespace="http://xmlns.servipag.com/services/v1/GenesisService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.servipag.com/services/v1/GenesisService" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+  <types>
3
+    <xsd:schema>
4
+      <xsd:import namespace="http://xmlns.servipag.com/services/v1/GenesisService" schemaLocation="GenesisService_schema1.xsd"/>
5
+    </xsd:schema>
6
+  </types>
7
+  <message name="genesisMethod">
8
+    <part element="tns:genesisMethod" name="parameters">
9
+    </part>
10
+  </message>
11
+  <message name="genesisMethodResponse">
12
+    <part element="tns:genesisMethodResponse" name="parameters">
13
+    </part>
14
+  </message>
15
+  <portType name="GenesisServiceImpl">
16
+    <operation name="genesisMethod">
17
+      <input message="tns:genesisMethod">
18
+    </input>
19
+      <output message="tns:genesisMethodResponse">
20
+    </output>
21
+    </operation>
22
+  </portType>
23
+  <binding name="GenesisServiceImplPortBinding" type="tns:GenesisServiceImpl">
24
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
25
+    <operation name="genesisMethod">
26
+      <soap:operation soapAction=""/>
27
+      <input>
28
+        <soap:body use="literal"/>
29
+      </input>
30
+      <output>
31
+        <soap:body use="literal"/>
32
+      </output>
33
+    </operation>
34
+  </binding>
35
+  <service name="GenesisService">
36
+    <port binding="tns:GenesisServiceImplPortBinding" name="GenesisServiceImplPort">
37
+      <soap:address location="http://localhost:9080/GenesisWS/GenesisService"/>
38
+    </port>
39
+  </service>
40
+</definitions>

+ 41 - 0
src/META-INF/wsdl/GenesisServiceService.wsdl Datei anzeigen

@@ -0,0 +1,41 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<definitions name="GenesisServiceService" targetNamespace="http://webservices.genesis.servipag.cl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://webservices.genesis.servipag.cl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
3
+  <types>
4
+    <xsd:schema>
5
+      <xsd:import namespace="http://webservices.genesis.servipag.cl/" schemaLocation="GenesisServiceService_schema1.xsd"/>
6
+    </xsd:schema>
7
+  </types>
8
+  <message name="genesisMethodResponse">
9
+    <part name="parameters" element="tns:genesisMethodResponse">
10
+    </part>
11
+  </message>
12
+  <message name="genesisMethod">
13
+    <part name="parameters" element="tns:genesisMethod">
14
+    </part>
15
+  </message>
16
+  <portType name="GenesisServiceDelegate">
17
+    <operation name="genesisMethod">
18
+      <input message="tns:genesisMethod">
19
+    </input>
20
+      <output message="tns:genesisMethodResponse">
21
+    </output>
22
+    </operation>
23
+  </portType>
24
+  <binding name="GenesisServicePortBinding" type="tns:GenesisServiceDelegate">
25
+    <soap12:binding style="document" transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/>
26
+    <operation name="genesisMethod">
27
+      <soap12:operation soapAction=""/>
28
+      <input>
29
+        <soap12:body use="literal"/>
30
+      </input>
31
+      <output>
32
+        <soap12:body use="literal"/>
33
+      </output>
34
+    </operation>
35
+  </binding>
36
+  <service name="GenesisServiceService">
37
+    <port name="GenesisServicePort" binding="tns:GenesisServicePortBinding">
38
+      <soap12:address location="http://10.254.254.11:9081/GenesisWS/GenesisServiceService"/>
39
+    </port>
40
+  </service>
41
+</definitions>

+ 18 - 0
src/META-INF/wsdl/GenesisServiceService_schema1.xsd Datei anzeigen

@@ -0,0 +1,18 @@
1
+<?xml version="1.0" encoding="UTF-8"?><xs:schema targetNamespace="http://webservices.genesis.servipag.cl/" version="1.0" xmlns:tns="http://webservices.genesis.servipag.cl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
2
+
3
+  <xs:element name="genesisMethod" type="tns:genesisMethod"/>
4
+
5
+  <xs:element name="genesisMethodResponse" type="tns:genesisMethodResponse"/>
6
+
7
+  <xs:complexType name="genesisMethod">
8
+    <xs:sequence>
9
+      <xs:element minOccurs="0" name="arg0" type="xs:string"/>
10
+    </xs:sequence>
11
+  </xs:complexType>
12
+
13
+  <xs:complexType name="genesisMethodResponse">
14
+    <xs:sequence>
15
+      <xs:element minOccurs="0" name="return" type="xs:string"/>
16
+    </xs:sequence>
17
+  </xs:complexType>
18
+</xs:schema>

+ 18 - 0
src/META-INF/wsdl/GenesisService_schema1.xsd Datei anzeigen

@@ -0,0 +1,18 @@
1
+<?xml version="1.0" encoding="UTF-8"?><xs:schema targetNamespace="http://xmlns.servipag.com/services/v1/GenesisService" version="1.0" xmlns:tns="http://xmlns.servipag.com/services/v1/GenesisService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
2
+
3
+  <xs:element name="genesisMethod" type="tns:genesisMethod"/>
4
+
5
+  <xs:element name="genesisMethodResponse" type="tns:genesisMethodResponse"/>
6
+
7
+  <xs:complexType name="genesisMethod">
8
+    <xs:sequence>
9
+      <xs:element minOccurs="0" name="requestMessage" type="xs:string"/>
10
+    </xs:sequence>
11
+  </xs:complexType>
12
+
13
+  <xs:complexType name="genesisMethodResponse">
14
+    <xs:sequence>
15
+      <xs:element minOccurs="0" name="return" type="xs:string"/>
16
+    </xs:sequence>
17
+  </xs:complexType>
18
+</xs:schema>

+ 41 - 0
xml-resources/web-service-references/GenesisServiceService/wsdl/GenesisServiceService.wsdl Datei anzeigen

@@ -0,0 +1,41 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<definitions name="GenesisServiceService" targetNamespace="http://webservices.genesis.servipag.cl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://webservices.genesis.servipag.cl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
3
+  <types>
4
+    <xsd:schema>
5
+      <xsd:import namespace="http://webservices.genesis.servipag.cl/" schemaLocation="GenesisServiceService_schema1.xsd"/>
6
+    </xsd:schema>
7
+  </types>
8
+  <message name="genesisMethodResponse">
9
+    <part name="parameters" element="tns:genesisMethodResponse">
10
+    </part>
11
+  </message>
12
+  <message name="genesisMethod">
13
+    <part name="parameters" element="tns:genesisMethod">
14
+    </part>
15
+  </message>
16
+  <portType name="GenesisServiceDelegate">
17
+    <operation name="genesisMethod">
18
+      <input message="tns:genesisMethod">
19
+    </input>
20
+      <output message="tns:genesisMethodResponse">
21
+    </output>
22
+    </operation>
23
+  </portType>
24
+  <binding name="GenesisServicePortBinding" type="tns:GenesisServiceDelegate">
25
+    <soap12:binding style="document" transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/>
26
+    <operation name="genesisMethod">
27
+      <soap12:operation soapAction=""/>
28
+      <input>
29
+        <soap12:body use="literal"/>
30
+      </input>
31
+      <output>
32
+        <soap12:body use="literal"/>
33
+      </output>
34
+    </operation>
35
+  </binding>
36
+  <service name="GenesisServiceService">
37
+    <port name="GenesisServicePort" binding="tns:GenesisServicePortBinding">
38
+      <soap12:address location="http://10.254.254.11:9081/GenesisWS/GenesisServiceService"/>
39
+    </port>
40
+  </service>
41
+</definitions>

+ 18 - 0
xml-resources/web-service-references/GenesisServiceService/wsdl/GenesisServiceService_schema1.xsd Datei anzeigen

@@ -0,0 +1,18 @@
1
+<?xml version="1.0" encoding="UTF-8"?><xs:schema targetNamespace="http://webservices.genesis.servipag.cl/" version="1.0" xmlns:tns="http://webservices.genesis.servipag.cl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
2
+
3
+  <xs:element name="genesisMethod" type="tns:genesisMethod"/>
4
+
5
+  <xs:element name="genesisMethodResponse" type="tns:genesisMethodResponse"/>
6
+
7
+  <xs:complexType name="genesisMethod">
8
+    <xs:sequence>
9
+      <xs:element minOccurs="0" name="arg0" type="xs:string"/>
10
+    </xs:sequence>
11
+  </xs:complexType>
12
+
13
+  <xs:complexType name="genesisMethodResponse">
14
+    <xs:sequence>
15
+      <xs:element minOccurs="0" name="return" type="xs:string"/>
16
+    </xs:sequence>
17
+  </xs:complexType>
18
+</xs:schema>