diff options
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources')
4 files changed, 259 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/ImportedImportedOrderService.wsdl b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/ImportedImportedOrderService.wsdl new file mode 100644 index 0000000000..35a21b336d --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/ImportedImportedOrderService.wsdl @@ -0,0 +1,60 @@ +<?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/importwsdl/importwsdl" xmlns:bons1="http://OrderService/importwsdl"
+ 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/importwsdl/importwsdl">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://OrderService/OrderService/importwsdl">
+ <xsd:import namespace="http://OrderService/importwsdl"
+ schemaLocation="Order.xsd" />
+ <xsd:element name="retrieveOrder">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="orderID" nillable="true" type="xsd:string" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="retrieveOrderResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="order" nillable="true" type="bons1:Order" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="writeOrder">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="order" nillable="true" type="bons1:Order" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="writeOrderResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="writeOrderStatus" nillable="true"
+ type="xsd:string" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </wsdl:types>
+</wsdl:definitions>
diff --git a/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/ImportedOrderService.wsdl b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/ImportedOrderService.wsdl new file mode 100644 index 0000000000..724cbdfa74 --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/nested-wsdl/src/test/resources/ImportedOrderService.wsdl @@ -0,0 +1,78 @@ +<?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/importwsdl" xmlns:im="http://OrderService/OrderService/importwsdl/importwsdl"
+ 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/importwsdl">
+ <wsdl:import location="ImportedImportedOrderService.wsdl" namespace="http://OrderService/OrderService/importwsdl/importwsdl" />
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://OrderService/OrderService/importwsdl">
+ <xsd:element name="updateOrderStatus">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="orderID" nillable="true" type="xsd:string" />
+ <xsd:element name="newStatus" nillable="true" type="xsd:string" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="updateOrderStatusResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="rc" nillable="true" type="xsd:string" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="retrieveOrderRequestMsg">
+ <wsdl:part element="this:retrieveOrder" name="retrieveOrderParameters" />
+ </wsdl:message>
+ <wsdl:message name="retrieveOrderResponseMsg">
+ <wsdl:part element="this:retrieveOrderResponse" name="retrieveOrderResult" />
+ </wsdl:message>
+ <wsdl:message name="writeOrderRequestMsg">
+ <wsdl:part element="this:writeOrder" name="writeOrderParameters" />
+ </wsdl:message>
+ <wsdl:message name="writeOrderResponseMsg">
+ <wsdl:part element="this:writeOrderResponse" name="writeOrderResult" />
+ </wsdl:message>
+ <wsdl:message name="updateOrderStatusRequestMsg">
+ <wsdl:part element="this:updateOrderStatus" name="updateOrderStatusParameter" />
+ </wsdl:message>
+ <wsdl:message name="updateOrderStatusResponseMsg">
+ <wsdl:part element="this:updateOrderStatusResponse" name="updateOrderStatusResult" />
+ </wsdl:message>
+ <wsdl:portType name="OrderService">
+ <wsdl:operation name="retrieveOrder">
+ <wsdl:input message="this:retrieveOrderRequestMsg" name="retrieveOrderRequest" />
+ <wsdl:output message="this:retrieveOrderResponseMsg" name="retrieveOrderResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="writeOrder">
+ <wsdl:input message="this:writeOrderRequestMsg" name="writeOrderRequest" />
+ <wsdl:output message="this:writeOrderResponseMsg" name="writeOrderResponse" />
+ </wsdl:operation>
+ <wsdl:operation name="updateOrderStatus">
+ <wsdl:input message="this:updateOrderStatusRequestMsg"
+ name="updateOrderStatusRequest" />
+ <wsdl:output message="this:updateOrderStatusResponseMsg"
+ name="updateOrderStatusResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
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 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>
|