diff options
-rw-r--r-- | java/sca/itest/wsdl/src/main/resources/wsdl/Hello.xsd | 20 | ||||
-rw-r--r-- | java/sca/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl | 20 |
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> |