summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.3/itest
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2008-07-25 00:10:13 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2008-07-25 00:10:13 +0000
commit77c3e9b4f95474ce281410f1e34276083a0b39bf (patch)
tree72cd74fd51a367addafebb3da39032490cb552e7 /branches/sca-java-1.3/itest
parentf6acea6dfa2059450db3961d42ccf09502d4d273 (diff)
Fix TUSCANY-2481
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@679623 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.3/itest')
-rw-r--r--branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/Hello.xsd20
-rw-r--r--branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl20
2 files changed, 22 insertions, 18 deletions
diff --git a/branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/Hello.xsd b/branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/Hello.xsd
new file mode 100644
index 0000000000..4fc5b10e7c
--- /dev/null
+++ b/branches/sca-java-1.3/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/branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl b/branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
index 3921dec72d..1966acc957 100644
--- a/branches/sca-java-1.3/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl
+++ b/branches/sca-java-1.3/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>