diff options
Diffstat (limited to '')
25 files changed, 1045 insertions, 0 deletions
diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite new file mode 100644 index 0000000000..c34a160b61 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite @@ -0,0 +1,58 @@ +<?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:calc="http://sample.calculator" + targetNamespace="http://calc" + xmlns:wsdli="http://www.w3.org/2004/08/wsdl-instance" + name="Calculator"> + + <service name="CalculatorService" promote="CalculatorServiceComponent"> + <interface.wsdl interface="http://sample/calculator#wsdl.interface(Calculator)"/> + <binding.ws uri="http://localhost:8085/Calculator" wsdlElement="http://sample/calculator"/> + <binding.ws wsdli:wsdlLocation="http://tempuri.org" wsdlElement="http://sample/calculator#wsdl.binding(CalculatorBinding)"/> + <binding.ws wsdlElement="http://sample/calculator#wsdl.port(CalculatorService/CalculatorPort)"/> + <binding.ws wsdlElement="http://sample/calculator#wsdl.endpoint(CalculatorService/CalculatorEndpoint)"/> + </service> + + <component name="CalculatorServiceComponent"> + <implementation.java class="calculator.warning.CalculatorServiceImpl"/> + <reference name="addService" target="AddServiceComponent"/> + <reference name="subtractService" target="SubtractServiceComponent"/> + <reference name="multiplyService" target="MultiplyServiceComponent"/> + <reference name="divideService" target="DivideServiceComponent"/> + </component> + + <component name="AddServiceComponent"> + <implementation.java class="calculator.warning.AddServiceImpl"/> + </component> + + <component name="SubtractServiceComponent"> + <implementation.java class="calculator.warning.SubtractServiceImpl"/> + </component> + + <component name="MultiplyServiceComponent"> + <implementation.java class="calculator.warning.MultiplyServiceImpl"/> + </component> + + <component name="DivideServiceComponent"> + <implementation.java class="calculator.warning.DivideServiceImpl"/> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite new file mode 100644 index 0000000000..293c4d725d --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite @@ -0,0 +1,59 @@ +<?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:calc="http://sample.calculator" + targetNamespace="http://calc" + xmlns:wsdli="http://www.w3.org/2004/08/wsdl-instance" + name="Calculator-bad-wsdlElement"> + + <service name="CalculatorService" promote="CalculatorServiceComponent"> + <interface.wsdl interface="http://sample/calculator#wsdl.interface(Calculator)"/> + <binding.ws wsdlElement="http://sample/calculator#wsdl.port(CalculatorService/CalculatorPort)"> + <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"> + <wsa:Address>http://localhost:8085/Calculator</wsa:Address> + </wsa:EndpointReference> + </binding.ws> + </service> + + <component name="CalculatorServiceComponent"> + <implementation.java class="calculator.warning.CalculatorServiceImpl"/> + <reference name="addService" target="AddServiceComponent"/> + <reference name="subtractService" target="SubtractServiceComponent"/> + <reference name="multiplyService" target="MultiplyServiceComponent"/> + <reference name="divideService" target="DivideServiceComponent"/> + </component> + + <component name="AddServiceComponent"> + <implementation.java class="calculator.warning.AddServiceImpl"/> + </component> + + <component name="SubtractServiceComponent"> + <implementation.java class="calculator.warning.SubtractServiceImpl"/> + </component> + + <component name="MultiplyServiceComponent"> + <implementation.java class="calculator.warning.MultiplyServiceImpl"/> + </component> + + <component name="DivideServiceComponent"> + <implementation.java class="calculator.warning.DivideServiceImpl"/> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl new file mode 100644 index 0000000000..013a55b61e --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl @@ -0,0 +1,92 @@ +<?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:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" + name="helloworld"> + + <wsdl:types> + <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema"> + + <element name="getGreetings"> + <complexType> + <sequence> + <element name="name" type="xsd:string"/> + </sequence> + </complexType> + </element> + + <element name="getGreetingsResponse"> + <complexType> + <sequence> + <element name="getGreetingsReturn" type="xsd:string"/> + </sequence> + </complexType> + </element> + + </schema> + </wsdl:types> + + <wsdl:message name="getGreetingsRequest"> + <wsdl:part element="tns:getGreetings" name="parameters"/> + </wsdl:message> + + <wsdl:message name="getGreetingsResponse"> + <wsdl:part element="tns:getGreetingsResponse" name="parameters"/> + </wsdl:message> + + <wsdl:portType name="HelloWorld"> + <wsdl:operation name="getGreetings"> + <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/> + <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld"> + <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="getGreetings"> + <wsdlsoap:operation soapAction=""/> + <wsdl:input name="getGreetingsRequest"> + <wsdlsoap:body use="literal"/> + </wsdl:input> + <wsdl:output name="getGreetingsResponse"> + <wsdlsoap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + + <wsdl:binding name="HelloWorldSoapJmsBinding" type="tns:HelloWorld"> + <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms"/> + <wsdl:operation name="getGreetings"> + <wsdlsoap:operation soapAction=""/> + <wsdl:input name="getGreetingsRequest"> + <wsdlsoap:body use="literal"/> + </wsdl:input> + <wsdl:output name="getGreetingsResponse"> + <wsdlsoap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + + <wsdl:service name="HelloWorldService"> + <wsdl:port binding="tns:HelloWorldSoapJmsBinding" name="HelloWorldSoapJmsPort"> + <wsdlsoap:address location="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61619"/> + </wsdl:port> + </wsdl:service> + +</wsdl:definitions> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite new file mode 100644 index 0000000000..b7ff1e304f --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite @@ -0,0 +1,34 @@ +<?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" + targetNamespace="http://helloworld" + xmlns:hw="http://helloworld" + name="helloworldws"> + + <component name="HelloWorldServiceComponent"> + <implementation.java class="binding.jms.HelloWorldServiceImpl" /> + <service name="HelloWorldService"> + <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" /> + <binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding2)" + uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61619"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl new file mode 100644 index 0000000000..013a55b61e --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl @@ -0,0 +1,92 @@ +<?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:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" + name="helloworld"> + + <wsdl:types> + <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema"> + + <element name="getGreetings"> + <complexType> + <sequence> + <element name="name" type="xsd:string"/> + </sequence> + </complexType> + </element> + + <element name="getGreetingsResponse"> + <complexType> + <sequence> + <element name="getGreetingsReturn" type="xsd:string"/> + </sequence> + </complexType> + </element> + + </schema> + </wsdl:types> + + <wsdl:message name="getGreetingsRequest"> + <wsdl:part element="tns:getGreetings" name="parameters"/> + </wsdl:message> + + <wsdl:message name="getGreetingsResponse"> + <wsdl:part element="tns:getGreetingsResponse" name="parameters"/> + </wsdl:message> + + <wsdl:portType name="HelloWorld"> + <wsdl:operation name="getGreetings"> + <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/> + <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld"> + <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="getGreetings"> + <wsdlsoap:operation soapAction=""/> + <wsdl:input name="getGreetingsRequest"> + <wsdlsoap:body use="literal"/> + </wsdl:input> + <wsdl:output name="getGreetingsResponse"> + <wsdlsoap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + + <wsdl:binding name="HelloWorldSoapJmsBinding" type="tns:HelloWorld"> + <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms"/> + <wsdl:operation name="getGreetings"> + <wsdlsoap:operation soapAction=""/> + <wsdl:input name="getGreetingsRequest"> + <wsdlsoap:body use="literal"/> + </wsdl:input> + <wsdl:output name="getGreetingsResponse"> + <wsdlsoap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + + <wsdl:service name="HelloWorldService"> + <wsdl:port binding="tns:HelloWorldSoapJmsBinding" name="HelloWorldSoapJmsPort"> + <wsdlsoap:address location="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61619"/> + </wsdl:port> + </wsdl:service> + +</wsdl:definitions> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite new file mode 100644 index 0000000000..8cda0b007e --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite @@ -0,0 +1,34 @@ +<?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" + targetNamespace="http://helloworld" + xmlns:hw="http://helloworld" + name="helloworldws"> + + <component name="HelloWorldServiceComponent"> + <implementation.java class="binding.jms.HelloWorldServiceImpl" /> + <service name="HelloWorldService"> + <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" /> + <binding.ws wsdlElement="http://helloworld#wsdl.service(HelloWorldService2)" + uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61619"/> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite new file mode 100644 index 0000000000..781319d619 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite @@ -0,0 +1,35 @@ +<?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" name="account"> + + <!-- composite refrence with ejb binding. Modify host and port number in uri attribute based on where you have installed target ResumeBank EJB --> + + <component name="CustomerComponent"> + <implementation.java class="binding.ejb.account.CustomerImpl" /> + <reference name="extEJBService"> + <!-- To use the CosNaming, use the following URI --> + <!-- + <binding.ejb uri="corbaname:iiop:1.2@localhost:1050#AddServiceBean" /> + --> + <binding.ejb session-type="state" uri="hello-addservice/AddServiceBean/binding.ejb.calculator.AddService" /> + </reference> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite new file mode 100644 index 0000000000..8a0dfac98b --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite @@ -0,0 +1,35 @@ +<?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" name="account"> + + <!-- composite refrence with ejb binding. Modify host and port number in uri attribute based on where you have installed target ResumeBank EJB --> + + <component name="CustomerComponent"> + <implementation.java class="binding.ejb.account.CustomerImpl" /> + <reference name="extEJBService"> + <!-- To use the CosNaming, use the following URI --> + <!-- + <binding.ejb uri="corbaname:iiop:1.2@localhost:1050#AddServiceBean" /> + --> + <binding.ejb ejb-version="EJB4" uri="hello-addservice/AddServiceBean/binding.ejb.calculator.AddService" /> + </reference> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite new file mode 100644 index 0000000000..fcfe408582 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <activationSpec name="jms"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite new file mode 100644 index 0000000000..ede3b3fd40 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always" type="queue"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite new file mode 100644 index 0000000000..a8c89a0bf5 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + <headers JMSType="jms"/> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite new file mode 100644 index 0000000000..b4e56d1789 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite @@ -0,0 +1,32 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <resourceAdapter name="resAdpName"/> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite new file mode 100644 index 0000000000..e68eb75d64 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <activationSpec name="jms"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite new file mode 100644 index 0000000000..00c7a3f86b --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <connectionFactory name="RespQueueA"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite new file mode 100644 index 0000000000..d656d47cfd --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always" type="queue"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite new file mode 100644 index 0000000000..ad1daacfcf --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms correlationScheme="correlationScheme" initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite new file mode 100644 index 0000000000..fb35f5d1b8 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite @@ -0,0 +1,35 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always" type="no"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite new file mode 100644 index 0000000000..fcdf25455c --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <activationSpec name=""/> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite new file mode 100644 index 0000000000..14f1314a1b --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <connectionFactory name=""/> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite new file mode 100644 index 0000000000..1a3cb21ac6 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <activationSpec name=""/> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite new file mode 100644 index 0000000000..80b8f9d938 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <connectionFactory name=""/> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite new file mode 100644 index 0000000000..8fd1e2f554 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" + jndiURL="tcp://localhost:61616" uri="tuscany://localhost:17171"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite new file mode 100644 index 0000000000..b74682e1bd --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite @@ -0,0 +1,38 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + <resourceAdapter name="resource"> + <property name="resourceName" type="jms"/> + </resourceAdapter> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite new file mode 100644 index 0000000000..f439ab6260 --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite @@ -0,0 +1,38 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" jndiURL="tcp://localhost:61616"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + <connectionFactory name="RespQueueA"> + <property name="RespQueueA"/> + </connectionFactory> + </response> + </binding.jms> + </service> + </component> + +</composite> diff --git a/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite new file mode 100644 index 0000000000..e22f30152e --- /dev/null +++ b/branches/sca-java-1.3.3/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite @@ -0,0 +1,36 @@ +<?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" + name="RPCComposite"> + + <component name="HelloWorldService"> + <implementation.java class="binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" + jndiURL="tcp://localhost:61616" uri="jms://queue.sample?transport.jms=QueueConnectionFactory"> + <destination name="DestQueueA" create="always"/> + <response> + <destination name="RespQueueA" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> |