diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-11-06 11:00:39 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-11-06 11:00:39 +0000 |
commit | 808c6465648ffa117d2a8ff6b0f253678b38f007 (patch) | |
tree | fdc13a01e6dc240ec2ddc90cb96350f3c473f4e7 /sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/Order.xsd | |
parent | bb3d56a12d757c67f35fdf90259996e445441f65 (diff) |
TUSCANY-4072: Add test from Robin Yu for Tuscany fails to retrieve XSD type/element for nested WSDL with diff namespace(wsdl resolver issue)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1406092 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/Order.xsd')
-rw-r--r-- | sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/Order.xsd | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/Order.xsd b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/Order.xsd new file mode 100644 index 0000000000..5c9d4103b4 --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/Order.xsd @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<xsd:schema targetNamespace="http://OrderService/importwsdl" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <xsd:complexType name="Order"> + <xsd:sequence> + <xsd:element minOccurs="0" name="orderID" + type="xsd:string"> + </xsd:element> + <xsd:element minOccurs="0" name="customerID" + type="xsd:string"> + </xsd:element> + <xsd:element minOccurs="0" name="description" + type="xsd:string"> + </xsd:element> + <xsd:element minOccurs="0" name="status" + type="xsd:string"> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + <xsd:element name="OrderElement"> + <xsd:sequence> + <xsd:element minOccurs="0" name="orderID" + type="xsd:string"> + </xsd:element> + <xsd:element minOccurs="0" name="customerID" + type="xsd:string"> + </xsd:element> + <xsd:element minOccurs="0" name="description" + type="xsd:string"> + </xsd:element> + <xsd:element minOccurs="0" name="status" + type="xsd:string"> + </xsd:element> + </xsd:sequence> + </xsd:element> +</xsd:schema>
\ No newline at end of file |