You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/06/09 17:08:27 UTC
svn commit: r1133913 [3/13] - in /cxf/trunk:
rt/core/src/test/java/org/apache/cxf/endpoint/
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/search/client/
rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/ext/search/client/
rt/frontend/jaxw...
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1006Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1006Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1006Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1006Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1006",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1006Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1006",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1006Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1006Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1006Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1007Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1007Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1007Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1007Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1007",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1007Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1007",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1007Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1007Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1007Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1008Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1008Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1008Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1008Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1008",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1008Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1008",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1008Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1008Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1008Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1101Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1101Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1101Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1101Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1101",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1101Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1101",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1101Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1101Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1101Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1102Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1102Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1102Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1102Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1102",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1102Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1102",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1102Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1102Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1102Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1103Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1103Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1103Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1103Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1103",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1103Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1103",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1103Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1103Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1103Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1104Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1104Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1104Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1104Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1104",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1104Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1104",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1104Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1104Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1104Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1105Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1105Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1105Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1105Impl.java Thu Jun 9 15:08:22 2011
@@ -1,40 +1,40 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1105",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1105Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1105",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1105Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1105Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1105Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1106Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1106Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1106Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1106Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1106",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1106Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1106",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1106Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1106Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1106Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1107Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1107Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1107Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1107Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1107",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1107Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1107",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1107Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1107Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1107Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1108Impl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1108Impl.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1108Impl.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1108Impl.java Thu Jun 9 15:08:22 2011
@@ -1,39 +1,39 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.services;
-
-import org.apache.cxf.jms_simple.JMSSimplePortType;
-
-@javax.jws.WebService(portName = "SimplePort",
- serviceName = "JMSSimpleService1108",
- targetNamespace = "http://cxf.apache.org/jms_simple",
- endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
- wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
-public class Test1108Impl implements JMSSimplePortType {
-
- /** {@inheritDoc}*/
- public String echo(String in) {
- return in;
- }
-
- /** {@inheritDoc}*/
- public void ping(String in) {
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.services;
+
+import org.apache.cxf.jms_simple.JMSSimplePortType;
+
+@javax.jws.WebService(portName = "SimplePort",
+ serviceName = "JMSSimpleService1108",
+ targetNamespace = "http://cxf.apache.org/jms_simple",
+ endpointInterface = "org.apache.cxf.jms_simple.JMSSimplePortType",
+ wsdlLocation = "testutils/jms_spec_testsuite.wsdl")
+public class Test1108Impl implements JMSSimplePortType {
+
+ /** {@inheritDoc}*/
+ public String echo(String in) {
+ return in;
+ }
+
+ /** {@inheritDoc}*/
+ public void ping(String in) {
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1108Impl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/services/Test1108Impl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java Thu Jun 9 15:08:22 2011
@@ -1,254 +1,254 @@
-/**
- * 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 org.apache.cxf.jms.testsuite.testcases;
-
-import java.lang.reflect.Constructor;
-import java.net.URL;
-
-import javax.jms.Destination;
-import javax.jms.JMSException;
-import javax.jms.Message;
-import javax.jms.Session;
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-import org.apache.cxf.BusFactory;
-import org.apache.cxf.jms.testsuite.util.JMSTestUtil;
-import org.apache.cxf.testsuite.testcase.MessagePropertiesType;
-import org.apache.cxf.testsuite.testcase.TestCaseType;
-import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher;
-import org.apache.cxf.transport.jms.JMSConfiguration;
-import org.apache.cxf.transport.jms.JMSFactory;
-import org.apache.cxf.transport.jms.JMSMessageHeadersType;
-import org.apache.cxf.transport.jms.spec.JMSSpecConstants;
-import org.springframework.jms.core.JmsTemplate;
-import org.springframework.jms.core.MessageCreator;
-
-/**
- *
- */
-public abstract class AbstractSOAPJMSTestSuite extends AbstractBusClientServerTestBase {
-
- /**
- *
- */
- public AbstractSOAPJMSTestSuite() {
- super();
- }
-
- public <T1, T2> T2 getPort(String serviceName, String portName, Class<T1> serviceClass,
- Class<T2> portTypeClass) throws Exception {
- String namespace = "http://cxf.apache.org/jms_simple";
- QName qServiceName = new QName(namespace, serviceName);
- QName qPortName = new QName(namespace, portName);
- URL wsdl = getClass().getResource("/wsdl/jms_spec_testsuite.wsdl");
- String wsdlString = wsdl.toString();
- EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
- BusFactory.setThreadDefaultBus(getBus());
- BusFactory.setDefaultBus(getBus());
- Class<? extends Service> svcls = serviceClass.asSubclass(Service.class);
-
- Constructor<? extends Service> serviceConstructor = svcls.getConstructor(URL.class,
- QName.class);
- Service service = serviceConstructor.newInstance(new Object[] {
- wsdl, qServiceName
- });
- EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
- return service.getPort(qPortName, portTypeClass);
- }
-
- public void checkJMSProperties(Message message, MessagePropertiesType messageProperties)
- throws JMSException {
- // todo messagetype
- // todo messageid
- if (messageProperties.isSetDeliveryMode()) {
- assertEquals(message.getJMSDeliveryMode(), messageProperties.getDeliveryMode()
- .intValue());
- }
- if (messageProperties.isSetPriority()) {
- assertEquals(message.getJMSPriority(), messageProperties.getPriority().intValue());
- }
- if (messageProperties.isSetExpiration()) {
- assertEquals(message.getJMSExpiration(), messageProperties.getExpiration().intValue());
- }
- if (messageProperties.isSetReplyTo() && !messageProperties.getReplyTo().trim().equals("")) {
- assertEquals(message.getJMSReplyTo().toString(), messageProperties.getReplyTo());
- }
- if (messageProperties.isSetCorrelationID()
- && !messageProperties.getCorrelationID().trim().equals("")) {
- assertEquals(message.getJMSCorrelationID(), messageProperties.getCorrelationID());
- }
- if (messageProperties.isSetDestination()
- && !messageProperties.getDestination().trim().equals("")) {
- assertEquals(message.getJMSDestination().toString(), messageProperties.getDestination());
- }
- if (messageProperties.isSetRedelivered()) {
- assertEquals(message.getJMSRedelivered(), messageProperties.isRedelivered());
- }
- if (messageProperties.isSetBindingVersion()
- && !messageProperties.getBindingVersion().trim().equals("")) {
- assertEquals(message.getStringProperty(JMSSpecConstants.BINDINGVERSION_FIELD),
- messageProperties.getBindingVersion());
- }
- if (messageProperties.isSetTargetService()
- && !messageProperties.getTargetService().trim().equals("")) {
- assertEquals(message.getStringProperty(JMSSpecConstants.TARGETSERVICE_FIELD),
- messageProperties.getTargetService());
- }
- if (messageProperties.isSetContentType()
- && !messageProperties.getContentType().trim().equals("")) {
- assertEquals(message.getStringProperty(JMSSpecConstants.CONTENTTYPE_FIELD),
- messageProperties.getContentType());
- }
- if (messageProperties.isSetSoapAction()
- && !messageProperties.getSoapAction().trim().equals("")) {
- assertEquals(message.getStringProperty(JMSSpecConstants.SOAPACTION_FIELD),
- messageProperties.getSoapAction());
- }
- if (messageProperties.isSetRequestURI()
- && !messageProperties.getRequestURI().trim().equals("")) {
- assertEquals(message.getStringProperty(JMSSpecConstants.REQUESTURI_FIELD),
- messageProperties.getRequestURI().trim());
- }
- if (messageProperties.isSetIsFault()) {
- assertEquals(message.getBooleanProperty(JMSSpecConstants.ISFAULT_FIELD),
- messageProperties.isIsFault());
- }
- // todo messagebody
- }
-
- public void checkJMSProperties(TestCaseType testcase, JMSMessageHeadersType requestHeader)
- throws JMSException {
- if (testcase.getRequestMessage() != null) {
- checkJMSProperties(testcase.getRequestMessage(), requestHeader);
- }
- }
-
- public void checkJMSProperties(TestCaseType testcase, JMSMessageHeadersType requestHeader,
- JMSMessageHeadersType responseHeader) throws JMSException {
- if (testcase.getRequestMessage() != null) {
- checkJMSProperties(testcase.getRequestMessage(), requestHeader);
- }
- if (testcase.getResponseMessage() != null) {
- checkJMSProperties(testcase.getResponseMessage(), responseHeader);
- }
- if (requestHeader.getJMSCorrelationID() != null) {
- assertEquals(requestHeader.getJMSCorrelationID(), responseHeader.getJMSCorrelationID());
- } else {
- assertEquals(requestHeader.getJMSMessageID(), responseHeader.getJMSCorrelationID());
- }
- }
-
- private void checkJMSProperties(MessagePropertiesType messageProperties,
- JMSMessageHeadersType header) {
- // todo messagetype
- // todo messageid
- if (messageProperties.isSetDeliveryMode()) {
- int dm = 0;
- if (header.isSetJMSDeliveryMode()) {
- dm = header.getJMSDeliveryMode();
- }
- assertEquals(dm,
- messageProperties.getDeliveryMode().intValue());
- }
- if (messageProperties.isSetPriority()) {
- assertEquals(header.getJMSPriority(), messageProperties.getPriority().intValue());
- }
- /*
- * if (messageProperties.isSetExpiration()) { assertEquals(header.getJMSExpiration(),
- * messageProperties.getExpiration().intValue()); }
- */
- /*
- * if (messageProperties.isSetReplyTo() && !messageProperties.getReplyTo().trim().equals("")) {
- * assertEquals(header.getJMSReplyTo().toString(), messageProperties.getReplyTo()); }
- */
- // correlationid
- /*
- * if (messageProperties.isSetDestination() && !messageProperties.getDestination().trim().equals(""))
- * { assertEquals(header.get.toString(), messageProperties.getDestination()); }
- */
- if (messageProperties.isSetBindingVersion()
- && !messageProperties.getBindingVersion().trim().equals("")) {
- assertEquals(header.getSOAPJMSBindingVersion(), messageProperties.getBindingVersion());
- }
- if (messageProperties.isSetTargetService()
- && !messageProperties.getTargetService().trim().equals("")) {
- assertEquals(header.getSOAPJMSTargetService(), messageProperties.getTargetService());
- }
- if (messageProperties.isSetContentType()
- && !messageProperties.getContentType().trim().equals("")) {
- assertEquals(header.getSOAPJMSContentType(), messageProperties.getContentType());
- }
- if (messageProperties.isSetSoapAction()
- && !messageProperties.getSoapAction().trim().equals("")) {
- assertEquals(header.getSOAPJMSSOAPAction(), messageProperties.getSoapAction());
- }
- if (messageProperties.isSetRequestURI()
- && !messageProperties.getRequestURI().trim().equals("")) {
- assertEquals(header.getSOAPJMSRequestURI(), messageProperties.getRequestURI().trim());
- }
- if (messageProperties.isSetIsFault()) {
- assertEquals(header.isSOAPJMSIsFault(), messageProperties.isIsFault());
- }
- // todo messagebody
- }
-
- public void twoWayTestWithCreateMessage(final TestCaseType testcase) throws Exception {
- String address = testcase.getAddress();
- JMSConfiguration jmsConfig = JMSTestUtil.getInitJMSConfiguration(address);
- final JmsTemplate jmsTemplate = JMSFactory.createJmsTemplate(jmsConfig, null);
-
- final Destination replyToDestination = JMSFactory.resolveOrCreateDestination(jmsTemplate,
- null, false);
- class JMSConduitMessageCreator implements MessageCreator {
- private javax.jms.Message jmsMessage;
-
- public javax.jms.Message createMessage(Session session) throws JMSException {
- jmsMessage = JMSTestUtil.buildJMSMessageFromTestCase(testcase, session, replyToDestination);
- return jmsMessage;
- }
-
- public String getMessageID() {
- if (jmsMessage != null) {
- try {
- return jmsMessage.getJMSMessageID();
- } catch (JMSException e) {
- return null;
- }
- }
- return null;
- }
- }
- JMSConduitMessageCreator messageCreator = new JMSConduitMessageCreator();
-
- jmsTemplate.send(jmsConfig.getTargetDestination(), messageCreator);
- String messageId = messageCreator.getMessageID();
-
- String messageSelector = "JMSCorrelationID = '" + messageId + "'";
- javax.jms.Message replyMessage = jmsTemplate.receiveSelected(replyToDestination,
- messageSelector);
- checkReplyMessage(replyMessage, testcase);
- }
-
- private void checkReplyMessage(Message replyMessage, TestCaseType testcase) throws JMSException {
- checkJMSProperties(replyMessage, testcase.getResponseMessage());
- }
-}
+/**
+ * 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 org.apache.cxf.jms.testsuite.testcases;
+
+import java.lang.reflect.Constructor;
+import java.net.URL;
+
+import javax.jms.Destination;
+import javax.jms.JMSException;
+import javax.jms.Message;
+import javax.jms.Session;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.jms.testsuite.util.JMSTestUtil;
+import org.apache.cxf.testsuite.testcase.MessagePropertiesType;
+import org.apache.cxf.testsuite.testcase.TestCaseType;
+import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
+import org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher;
+import org.apache.cxf.transport.jms.JMSConfiguration;
+import org.apache.cxf.transport.jms.JMSFactory;
+import org.apache.cxf.transport.jms.JMSMessageHeadersType;
+import org.apache.cxf.transport.jms.spec.JMSSpecConstants;
+import org.springframework.jms.core.JmsTemplate;
+import org.springframework.jms.core.MessageCreator;
+
+/**
+ *
+ */
+public abstract class AbstractSOAPJMSTestSuite extends AbstractBusClientServerTestBase {
+
+ /**
+ *
+ */
+ public AbstractSOAPJMSTestSuite() {
+ super();
+ }
+
+ public <T1, T2> T2 getPort(String serviceName, String portName, Class<T1> serviceClass,
+ Class<T2> portTypeClass) throws Exception {
+ String namespace = "http://cxf.apache.org/jms_simple";
+ QName qServiceName = new QName(namespace, serviceName);
+ QName qPortName = new QName(namespace, portName);
+ URL wsdl = getClass().getResource("/wsdl/jms_spec_testsuite.wsdl");
+ String wsdlString = wsdl.toString();
+ EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
+ BusFactory.setThreadDefaultBus(getBus());
+ BusFactory.setDefaultBus(getBus());
+ Class<? extends Service> svcls = serviceClass.asSubclass(Service.class);
+
+ Constructor<? extends Service> serviceConstructor = svcls.getConstructor(URL.class,
+ QName.class);
+ Service service = serviceConstructor.newInstance(new Object[] {
+ wsdl, qServiceName
+ });
+ EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
+ return service.getPort(qPortName, portTypeClass);
+ }
+
+ public void checkJMSProperties(Message message, MessagePropertiesType messageProperties)
+ throws JMSException {
+ // todo messagetype
+ // todo messageid
+ if (messageProperties.isSetDeliveryMode()) {
+ assertEquals(message.getJMSDeliveryMode(), messageProperties.getDeliveryMode()
+ .intValue());
+ }
+ if (messageProperties.isSetPriority()) {
+ assertEquals(message.getJMSPriority(), messageProperties.getPriority().intValue());
+ }
+ if (messageProperties.isSetExpiration()) {
+ assertEquals(message.getJMSExpiration(), messageProperties.getExpiration().intValue());
+ }
+ if (messageProperties.isSetReplyTo() && !messageProperties.getReplyTo().trim().equals("")) {
+ assertEquals(message.getJMSReplyTo().toString(), messageProperties.getReplyTo());
+ }
+ if (messageProperties.isSetCorrelationID()
+ && !messageProperties.getCorrelationID().trim().equals("")) {
+ assertEquals(message.getJMSCorrelationID(), messageProperties.getCorrelationID());
+ }
+ if (messageProperties.isSetDestination()
+ && !messageProperties.getDestination().trim().equals("")) {
+ assertEquals(message.getJMSDestination().toString(), messageProperties.getDestination());
+ }
+ if (messageProperties.isSetRedelivered()) {
+ assertEquals(message.getJMSRedelivered(), messageProperties.isRedelivered());
+ }
+ if (messageProperties.isSetBindingVersion()
+ && !messageProperties.getBindingVersion().trim().equals("")) {
+ assertEquals(message.getStringProperty(JMSSpecConstants.BINDINGVERSION_FIELD),
+ messageProperties.getBindingVersion());
+ }
+ if (messageProperties.isSetTargetService()
+ && !messageProperties.getTargetService().trim().equals("")) {
+ assertEquals(message.getStringProperty(JMSSpecConstants.TARGETSERVICE_FIELD),
+ messageProperties.getTargetService());
+ }
+ if (messageProperties.isSetContentType()
+ && !messageProperties.getContentType().trim().equals("")) {
+ assertEquals(message.getStringProperty(JMSSpecConstants.CONTENTTYPE_FIELD),
+ messageProperties.getContentType());
+ }
+ if (messageProperties.isSetSoapAction()
+ && !messageProperties.getSoapAction().trim().equals("")) {
+ assertEquals(message.getStringProperty(JMSSpecConstants.SOAPACTION_FIELD),
+ messageProperties.getSoapAction());
+ }
+ if (messageProperties.isSetRequestURI()
+ && !messageProperties.getRequestURI().trim().equals("")) {
+ assertEquals(message.getStringProperty(JMSSpecConstants.REQUESTURI_FIELD),
+ messageProperties.getRequestURI().trim());
+ }
+ if (messageProperties.isSetIsFault()) {
+ assertEquals(message.getBooleanProperty(JMSSpecConstants.ISFAULT_FIELD),
+ messageProperties.isIsFault());
+ }
+ // todo messagebody
+ }
+
+ public void checkJMSProperties(TestCaseType testcase, JMSMessageHeadersType requestHeader)
+ throws JMSException {
+ if (testcase.getRequestMessage() != null) {
+ checkJMSProperties(testcase.getRequestMessage(), requestHeader);
+ }
+ }
+
+ public void checkJMSProperties(TestCaseType testcase, JMSMessageHeadersType requestHeader,
+ JMSMessageHeadersType responseHeader) throws JMSException {
+ if (testcase.getRequestMessage() != null) {
+ checkJMSProperties(testcase.getRequestMessage(), requestHeader);
+ }
+ if (testcase.getResponseMessage() != null) {
+ checkJMSProperties(testcase.getResponseMessage(), responseHeader);
+ }
+ if (requestHeader.getJMSCorrelationID() != null) {
+ assertEquals(requestHeader.getJMSCorrelationID(), responseHeader.getJMSCorrelationID());
+ } else {
+ assertEquals(requestHeader.getJMSMessageID(), responseHeader.getJMSCorrelationID());
+ }
+ }
+
+ private void checkJMSProperties(MessagePropertiesType messageProperties,
+ JMSMessageHeadersType header) {
+ // todo messagetype
+ // todo messageid
+ if (messageProperties.isSetDeliveryMode()) {
+ int dm = 0;
+ if (header.isSetJMSDeliveryMode()) {
+ dm = header.getJMSDeliveryMode();
+ }
+ assertEquals(dm,
+ messageProperties.getDeliveryMode().intValue());
+ }
+ if (messageProperties.isSetPriority()) {
+ assertEquals(header.getJMSPriority(), messageProperties.getPriority().intValue());
+ }
+ /*
+ * if (messageProperties.isSetExpiration()) { assertEquals(header.getJMSExpiration(),
+ * messageProperties.getExpiration().intValue()); }
+ */
+ /*
+ * if (messageProperties.isSetReplyTo() && !messageProperties.getReplyTo().trim().equals("")) {
+ * assertEquals(header.getJMSReplyTo().toString(), messageProperties.getReplyTo()); }
+ */
+ // correlationid
+ /*
+ * if (messageProperties.isSetDestination() && !messageProperties.getDestination().trim().equals(""))
+ * { assertEquals(header.get.toString(), messageProperties.getDestination()); }
+ */
+ if (messageProperties.isSetBindingVersion()
+ && !messageProperties.getBindingVersion().trim().equals("")) {
+ assertEquals(header.getSOAPJMSBindingVersion(), messageProperties.getBindingVersion());
+ }
+ if (messageProperties.isSetTargetService()
+ && !messageProperties.getTargetService().trim().equals("")) {
+ assertEquals(header.getSOAPJMSTargetService(), messageProperties.getTargetService());
+ }
+ if (messageProperties.isSetContentType()
+ && !messageProperties.getContentType().trim().equals("")) {
+ assertEquals(header.getSOAPJMSContentType(), messageProperties.getContentType());
+ }
+ if (messageProperties.isSetSoapAction()
+ && !messageProperties.getSoapAction().trim().equals("")) {
+ assertEquals(header.getSOAPJMSSOAPAction(), messageProperties.getSoapAction());
+ }
+ if (messageProperties.isSetRequestURI()
+ && !messageProperties.getRequestURI().trim().equals("")) {
+ assertEquals(header.getSOAPJMSRequestURI(), messageProperties.getRequestURI().trim());
+ }
+ if (messageProperties.isSetIsFault()) {
+ assertEquals(header.isSOAPJMSIsFault(), messageProperties.isIsFault());
+ }
+ // todo messagebody
+ }
+
+ public void twoWayTestWithCreateMessage(final TestCaseType testcase) throws Exception {
+ String address = testcase.getAddress();
+ JMSConfiguration jmsConfig = JMSTestUtil.getInitJMSConfiguration(address);
+ final JmsTemplate jmsTemplate = JMSFactory.createJmsTemplate(jmsConfig, null);
+
+ final Destination replyToDestination = JMSFactory.resolveOrCreateDestination(jmsTemplate,
+ null, false);
+ class JMSConduitMessageCreator implements MessageCreator {
+ private javax.jms.Message jmsMessage;
+
+ public javax.jms.Message createMessage(Session session) throws JMSException {
+ jmsMessage = JMSTestUtil.buildJMSMessageFromTestCase(testcase, session, replyToDestination);
+ return jmsMessage;
+ }
+
+ public String getMessageID() {
+ if (jmsMessage != null) {
+ try {
+ return jmsMessage.getJMSMessageID();
+ } catch (JMSException e) {
+ return null;
+ }
+ }
+ return null;
+ }
+ }
+ JMSConduitMessageCreator messageCreator = new JMSConduitMessageCreator();
+
+ jmsTemplate.send(jmsConfig.getTargetDestination(), messageCreator);
+ String messageId = messageCreator.getMessageID();
+
+ String messageSelector = "JMSCorrelationID = '" + messageId + "'";
+ javax.jms.Message replyMessage = jmsTemplate.receiveSelected(replyToDestination,
+ messageSelector);
+ checkReplyMessage(replyMessage, testcase);
+ }
+
+ private void checkReplyMessage(Message replyMessage, TestCaseType testcase) throws JMSException {
+ checkJMSProperties(replyMessage, testcase.getResponseMessage());
+ }
+}
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
------------------------------------------------------------------------------
svn:keywords = Rev Date