summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/OrderService.wsdl
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-11-06 11:00:39 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-11-06 11:00:39 +0000
commit808c6465648ffa117d2a8ff6b0f253678b38f007 (patch)
treefdc13a01e6dc240ec2ddc90cb96350f3c473f4e7 /sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/OrderService.wsdl
parentbb3d56a12d757c67f35fdf90259996e445441f65 (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/OrderService.wsdl')
-rw-r--r--sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/OrderService.wsdl67
1 files changed, 67 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/OrderService.wsdl b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/OrderService.wsdl
new file mode 100644
index 0000000000..492cd27794
--- /dev/null
+++ b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/OrderService.wsdl
@@ -0,0 +1,67 @@
+<?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.
+-->
+<wsdl:definitions name="OrderService"
+ targetNamespace="http://OrderService/OrderService/rootwsdl" xmlns:im="http://OrderService/OrderService/importwsdl"
+ xmlns:tns="http://OrderService/OrderService/rootwsdl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:this="http://OrderService/OrderService/rootwsdl">
+ <wsdl:import location="ImportedOrderService.wsdl" namespace="http://OrderService/OrderService/importwsdl" />
+ <wsdl:binding name="OrderServiceHttpBinding"
+ type="im:OrderService">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="retrieveOrder">
+ <soap:operation soapAction="" />
+ <wsdl:input name="retrieveOrderRequest">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="retrieveOrderResponse">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="writeOrder">
+ <soap:operation soapAction="" />
+ <wsdl:input name="writeOrderRequest">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="writeOrderResponse">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="updateOrderStatus">
+ <soap:operation soapAction="" />
+ <wsdl:input name="updateOrderStatusRequest">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="updateOrderStatusResponse">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="OrderServiceHttpService">
+ <wsdl:port binding="this:OrderServiceHttpBinding"
+ name="OrderServiceHttpPort">
+ <soap:address
+ location="http://localhost:9080/OrderService.WSBindingWeb/sca/OrderServiceExport" />
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>