summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2008-07-25 00:18:13 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2008-07-25 00:18:13 +0000
commita68dee0727f5e930738d385b6bfd6243b77fd2cf (patch)
tree6ba6659f98e731fcdc36153cc0abc654cbf099b7 /java
parent640fb44b4dca2cc10e86261c3da6db9f424525ea (diff)
Add test for TUSCANY-2481 fix
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@679631 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/itest/wsdl/src/main/resources/wsdl/Hello.xsd20
-rw-r--r--java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl20
2 files changed, 22 insertions, 18 deletions
diff --git a/java/sca/itest/wsdl/src/main/resources/wsdl/Hello.xsd b/java/sca/itest/wsdl/src/main/resources/wsdl/Hello.xsd
new file mode 100644
index 0000000000..4fc5b10e7c
--- /dev/null
+++ b/java/sca/itest/wsdl/src/main/resources/wsdl/Hello.xsd
@@ -0,0 +1,20 @@
+
+ <schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
+
+ <element name="getGreetings">
+ <complexType>
+ <sequence>
+ <element name="name" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="getGreetingsResponse">
+ <complexType>
+ <sequence>
+ <element name="getGreetingsReturn" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ </schema>
diff --git a/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl b/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
index 3921dec72d..1966acc957 100644
--- a/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
+++ b/java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
@@ -21,24 +21,8 @@
name="helloworld">
<wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
+ <schema xmlns="http://www.w3.org/2001/XMLSchema">
+ <import namespace="http://helloworld" schemaLocation="Hello.xsd"/>
</schema>
</wsdl:types>