diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:08:20 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:08:20 +0000 |
commit | 61c9466ff91ca40f4b1ebbe670d7848e521131d7 (patch) | |
tree | d41cd727b04a6146533cc3ad97182e715cd61e32 /branches/sca-java-1.3.3/itest/wsdl-multiple/src/main | |
parent | 0cc8ed2208c9d04057bcb00859490290e3aa948c (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.3.3/itest/wsdl-multiple/src/main')
8 files changed, 0 insertions, 424 deletions
diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldCallback.java b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldCallback.java deleted file mode 100644 index 842ae0a692..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldCallback.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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. - */ -package helloworld; - -import org.osoa.sca.annotations.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -public interface HelloWorldCallback { - - public void getGreetingsCallback(String name); -} diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldClientImpl.java b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldClientImpl.java deleted file mode 100644 index d2d898e9c4..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldClientImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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. - */ -package helloworld; - -import org.osoa.sca.annotations.Reference; -import org.osoa.sca.annotations.Scope; - -/** - * This client program shows how to create an SCA runtime, start it, - * locate the HelloWorld service and invoke it. - */ -@Scope("COMPOSITE") -public class HelloWorldClientImpl implements HelloWorldService, HelloWorldCallback { - - @Reference - protected HelloWorldService helloWorldService; - - public void getGreetings(String name) { - helloWorldService.getGreetings(name); - } - - public void getGreetingsCallback(String name) { - System.out.println("Callback " + name); - } - -}
\ No newline at end of file diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldService.java b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldService.java deleted file mode 100644 index d4fbd434fe..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * 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. - */ -package helloworld; - -import org.osoa.sca.annotations.Callback; -import org.osoa.sca.annotations.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -@Callback(HelloWorldCallback.class) -public interface HelloWorldService { - - public void getGreetings(String name); -} diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldServiceImpl.java b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldServiceImpl.java deleted file mode 100644 index a46f763960..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldServiceImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 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. - */ -package helloworld; - -import org.osoa.sca.annotations.Callback; -import org.osoa.sca.annotations.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(HelloWorldService.class) -public class HelloWorldServiceImpl implements HelloWorldService { - - @Callback - protected HelloWorldCallback helloWorldCallback; - - public void getGreetings(String name) { - helloWorldCallback.getGreetingsCallback(name); - } - -} diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/auto-wsdl.composite b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/auto-wsdl.composite deleted file mode 100644 index 9d9ed57cc7..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/auto-wsdl.composite +++ /dev/null @@ -1,44 +0,0 @@ -<?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. ---> -<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" - xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" - name="autohelloworldws"> - - <component name="HelloWorldClientComponent"> - <implementation.java class="helloworld.HelloWorldClientImpl"/> - <reference name="helloWorldService"> - <binding.ws uri="http://localhost:8085/HelloWorldServiceComponent"/> - <callback> - <binding.ws uri="http://localhost:8085/HelloWorldClientComponent/helloWorldService"/> - </callback> - </reference> - </component> - - <component name="HelloWorldServiceComponent"> - <implementation.java class="helloworld.HelloWorldServiceImpl"/> - <service name="HelloWorldService"> - <interface.java interface="helloworld.HelloWorldService" callbackInterface="helloworld.HelloWorldCallback"/> - <binding.ws uri="http://localhost:8085/HelloWorldServiceComponent"/> - <callback> - <binding.ws uri="http://localhost:8085/HelloWorldClientComponent/helloWorldService"/> - </callback> - </service> - </component> -</composite>
\ No newline at end of file diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/manual-wsdl.composite b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/manual-wsdl.composite deleted file mode 100644 index 0c1dc5d353..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/manual-wsdl.composite +++ /dev/null @@ -1,46 +0,0 @@ -<?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. ---> -<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" - xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" - name="manualhelloworldws"> - - <component name="HelloWorldClientComponent"> - <implementation.java class="helloworld.HelloWorldClientImpl"/> - <reference name="helloWorldService"> - <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldServiceSOAP11port)"/> - <callback> - <binding.ws uri="http://localhost:8085/HelloWorldClientComponent/helloWorldService" - wsdlElement="http://helloworld#wsdl.binding(HelloWorldCallbackSOAP11Binding)"/> - </callback> - </reference> - </component> - - <component name="HelloWorldServiceComponent"> - <implementation.java class="helloworld.HelloWorldServiceImpl"/> - <service name="HelloWorldService"> - <interface.java interface="helloworld.HelloWorldService" callbackInterface="helloworld.HelloWorldCallback"/> - <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldServiceSOAP11port)"/> - <callback> - <binding.ws uri="http://localhost:8085/HelloWorldClientComponent/helloWorldService" - wsdlElement="http://helloworld#wsdl.binding(HelloWorldCallbackSOAP11Binding)"/> - </callback> - </service> - </component> -</composite>
\ No newline at end of file diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldCallback.wsdl b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldCallback.wsdl deleted file mode 100644 index ea2f93c3e6..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldCallback.wsdl +++ /dev/null @@ -1,98 +0,0 @@ -<?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://helloworld" - xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:ns="http://helloworld/xsd" - xmlns:axis2="http://helloworld"> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" - elementFormDefault="qualified" - targetNamespace="http://helloworld/xsd" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="getGreetingsCallback"> - <xs:complexType> - <xs:sequence> - <xs:element name="param0" nillable="true" - type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetingsCallbackResponse"> - <xs:complexType/> - </xs:element> - </xs:schema> - </wsdl:types> - <wsdl:message name="getGreetingsCallbackMessage"> - <wsdl:part name="part1" element="ns:getGreetingsCallback"> - </wsdl:part> - </wsdl:message> - <wsdl:message name="getGreetingsCallbackResponseMessage"> - <wsdl:part name="part1" element="ns:getGreetingsCallbackResponse"> - </wsdl:part> - </wsdl:message> - <wsdl:portType name="HelloWorldCallbackPortType"> - <wsdl:operation name="getGreetingsCallback"> - <wsdl:input message="axis2:getGreetingsCallbackMessage"> - </wsdl:input> - <wsdl:output message="axis2:getGreetingsCallbackResponseMessage"> - </wsdl:output> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="HelloWorldCallbackSOAP11Binding" - type="axis2:HelloWorldCallbackPortType"> - <soap:binding style="document" - transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getGreetingsCallback"> - <soap:operation soapAction="urn:getGreetingsCallback" - style="document" /> - <wsdl:input> - <soap:body use="literal" namespace="http://helloworld" /> - </wsdl:input> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="HelloWorldCallbackSOAP12Binding" - type="axis2:HelloWorldCallbackPortType"> - <soap12:binding style="document" - transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getGreetingsCallback"> - <soap12:operation soapAction="urn:getGreetingsCallback" - style="document" /> - <wsdl:input> - <soap12:body use="literal" namespace="http://helloworld" /> - </wsdl:input> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="HelloWorldCallback"> - <wsdl:port name="HelloWorldCallbackSOAP11port" - binding="axis2:HelloWorldCallbackSOAP11Binding"> - <soap:address - location="http://localhost:8085/axis2/services/HelloWorldCallback" /> - </wsdl:port> - <wsdl:port name="HelloWorldCallbackSOAP12port" - binding="axis2:HelloWorldCallbackSOAP12Binding"> - <soap12:address - location="http://localhost:8085/axis2/services/HelloWorldCallback" /> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldService.wsdl b/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldService.wsdl deleted file mode 100644 index 1e50e146f2..0000000000 --- a/branches/sca-java-1.3.3/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldService.wsdl +++ /dev/null @@ -1,95 +0,0 @@ -<?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://helloworld" - xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:ns="http://helloworld/xsd" - xmlns:axis2="http://helloworld"> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" - elementFormDefault="qualified" - targetNamespace="http://helloworld/xsd" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="getGreetings"> - <xs:complexType> - <xs:sequence> - <xs:element name="param0" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetingsResponse"> - <xs:complexType/> - </xs:element> - </xs:schema> - </wsdl:types> - <wsdl:message name="getGreetingsMessage"> - <wsdl:part name="part1" element="ns:getGreetings"></wsdl:part> - </wsdl:message> - <wsdl:message name="getGreetingsResponseMessage"> - <wsdl:part name="part1" element="ns:getGreetingsResponse"></wsdl:part> - </wsdl:message> - <wsdl:portType name="HelloWorldServicePortType"> - <wsdl:operation name="getGreetings"> - <wsdl:input message="axis2:getGreetingsMessage"> - </wsdl:input> - <wsdl:output message="axis2:getGreetingsResponseMessage"> - </wsdl:output> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="HelloWorldServiceSOAP12Binding" - type="axis2:HelloWorldServicePortType"> - <soap12:binding style="document" - transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getGreetings"> - <soap12:operation soapAction="urn:getGreetings" - style="document" /> - <wsdl:input> - <soap12:body use="literal" namespace="http://helloworld" /> - </wsdl:input> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="HelloWorldServiceSOAP11Binding" - type="axis2:HelloWorldServicePortType"> - <soap:binding style="document" - transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getGreetings"> - <soap:operation soapAction="urn:getGreetings" - style="document" /> - <wsdl:input> - <soap:body use="literal" namespace="http://helloworld" /> - </wsdl:input> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="HelloWorldService"> - <wsdl:port name="HelloWorldServiceSOAP11port" - binding="axis2:HelloWorldServiceSOAP11Binding"> - <soap:address - location="http://localhost:8085/axis2/services/HelloWorldService" /> - </wsdl:port> - <wsdl:port name="HelloWorldServiceSOAP12port" - binding="axis2:HelloWorldServiceSOAP12Binding"> - <soap12:address - location="http://localhost:8085/axis2/services/HelloWorldService" /> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> |