diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-10 15:08:32 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-10 15:08:32 +0000 |
commit | 181bc548fd1a9b5a6f39882cb4102751230de642 (patch) | |
tree | 59e48664084e6237dae49ab0701e7f1fc47d5d17 /sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/resources/Upper-async-wrapped.wsdl | |
parent | 966fa611b66117a5eb448369c3a12f6dc7cccb33 (diff) |
Add a simple test case to look a implementations that use doc/lit (bare) interfaces. There was a conversation on the ML about whether databinding is clever enough to translate between bare and wrapped as the data passes from implementation to binding as it's send through a reference. At the moment the test gives me index out of bounds.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1057230 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/resources/Upper-async-wrapped.wsdl')
-rw-r--r-- | sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/resources/Upper-async-wrapped.wsdl | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/resources/Upper-async-wrapped.wsdl b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/resources/Upper-async-wrapped.wsdl new file mode 100644 index 0000000000..adce1542e6 --- /dev/null +++ b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/resources/Upper-async-wrapped.wsdl @@ -0,0 +1,66 @@ +<?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 targetNamespace="http://sample/upper-async-wrapped" + xmlns:tns="http://sample/upper-async-wrapped" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" + name="UpperAsyncWrapped"> + + <wsdl:types> + <schema elementFormDefault="qualified" + targetNamespace="http://sample/upper-async-wrapped" + xmlns="http://www.w3.org/2001/XMLSchema"> + <element name="upper"> + <complexType> + <sequence> + <element name="arg0" type="xsd:string" /> + <element name="arg1" type="xsd:string" /> + </sequence> + </complexType> + </element> + + <element name="upperResponse"> + <complexType> + <sequence> + <element name="result" type="xsd:string" /> + </sequence> + </complexType> + </element> + + </schema> + </wsdl:types> + + <wsdl:message name="upperRequest"> + <wsdl:part element="tns:upper" name="parameters" /> + </wsdl:message> + + <wsdl:message name="upperResponse"> + <wsdl:part element="tns:upperResponse" name="parameters" /> + </wsdl:message> + + <wsdl:portType name="UpperWrapped" sca:requires="sca:asyncInvocation"> + <wsdl:operation name="upper"> + <wsdl:input message="tns:upperRequest" name="upperRequest" /> + <wsdl:output message="tns:upperResponse" name="upperResponse" /> + </wsdl:operation> + </wsdl:portType> + +</wsdl:definitions> |