diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-07 08:23:45 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-07 08:23:45 +0000 |
commit | 9eadd8eaceec84edfadbc0c5274e3e2675fd464f (patch) | |
tree | e3987fef0a404ab632f3b2d09554863f18713fd2 /sca-java-2.x/trunk/itest/ws/contribution-wsdl-first/src/main/resources/HelloWorldImplService_schema1.xsd | |
parent | b9a00cfc5f1f6020e627a2eefc224beb54bc1582 (diff) |
TUSCANY-3616 - correct WSDL/XSD to match Java interface description
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/itest/ws/contribution-wsdl-first/src/main/resources/HelloWorldImplService_schema1.xsd | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/sca-java-2.x/trunk/itest/ws/contribution-wsdl-first/src/main/resources/HelloWorldImplService_schema1.xsd b/sca-java-2.x/trunk/itest/ws/contribution-wsdl-first/src/main/resources/HelloWorldImplService_schema1.xsd index f579909f82..aee1febea7 100644 --- a/sca-java-2.x/trunk/itest/ws/contribution-wsdl-first/src/main/resources/HelloWorldImplService_schema1.xsd +++ b/sca-java-2.x/trunk/itest/ws/contribution-wsdl-first/src/main/resources/HelloWorldImplService_schema1.xsd @@ -19,7 +19,10 @@ -->
<xs:schema version="1.0" targetNamespace="http://ws.binding.sca.tuscany.apache.org/"
xmlns:tns="http://ws.binding.sca.tuscany.apache.org/"
+ xmlns:tns2="http://helloworld/external"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:import namespace="http://helloworld/external" schemaLocation="./HelloWorldImplService_schema2.xsd"/>
<xs:element name="Exception" type="tns:Exception"/>
@@ -67,28 +70,13 @@ <xs:complexType name="getGreetingsComplex">
<xs:sequence>
- <xs:element name="arg0" type="tns:foo" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="foo">
- <xs:sequence>
- <xs:element name="bars" type="tns:bar" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="bar">
- <xs:sequence>
- <xs:element name="b" type="xs:boolean" minOccurs="0"/>
- <xs:element name="s" type="xs:string" minOccurs="0"/>
- <xs:element name="x" type="xs:int"/>
- <xs:element name="y" type="xs:int" minOccurs="0"/>
+ <xs:element name="arg0" type="tns2:foo" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getGreetingsComplexResponse">
<xs:sequence>
- <xs:element name="return" type="tns:foo" minOccurs="0"/>
+ <xs:element name="return" type="tns2:foo" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
|