Author: ekoneil
Date: Tue Jun 14 17:06:07 2005
New Revision: 190669
URL: http://svn.apache.org/viewcvs?rev=190669&view=rev
Log:
Additional WSM test cleanup.
Remove unused files, fix copyrights, code consistency, etc.
BB: self
DRT: WSM pass
Removed:
incubator/beehive/trunk/wsm/drt/tests/beehive-role.xml
Modified:
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/AxisHookTest.java
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/AnnotatedWebServiceDeploymentHandlerTest.java
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/FaultTest.java
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/Cheetorama.java
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ComplexUserDefinedException.java
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeDocWebService.jws
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeWebService.jws
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ModeratelyComplexObject.java
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/SimpleUserDefinedException.java
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/jsr181/wsdl/StarWars.jws
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar.jws
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar3.jws
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Foo.jws
Modified:
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/AxisHookTest.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/AxisHookTest.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/AxisHookTest.java
(original)
+++
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/AxisHookTest.java
Tue Jun 14 17:06:07 2005
@@ -40,9 +40,7 @@
import org.apache.beehive.wsm.model.jsr181.SOAPBindingInfo;
/**
- * ****************************************************************************
*
- * @author Jonathan Colwell
*/
public class AxisHookTest extends TestCase {
@@ -51,14 +49,13 @@
public static final String WM_JAVAONEWAYMETHODNAME = "fakeOneWayWebMethod";
public static final String WM_JAVAMETHODWITHEXCEPIONNAME=
"fakeWayWebMethodWithException";
public static final String WS_NAME = "WebServiceName";
- //public static final String WS_SERVICENAME = WS_NAME + "Service";
public static final String WS_NAMESPACE = "http://web.service/namespace";
public static final String WM_OPERATION = "OperationName";
public static final String WM_ACTION = "Lights_Camera_Action!";
public static final String WM_RESULT = "ResultName";
public static final String WM_ONEWAY = "Oneway";
public static final String WM_EXCEPTION = "WithException";
- public static final String WM_TWOWAYPARAM = "number";
+ public static final String WM_TWOWAYPARAM = "number";
public static final String WM_ONEWAYPARAM = "text";
ServiceDesc sd;
@@ -209,8 +206,7 @@
}
public static class FakeWebService {
-
-
+
// a method with an exception just to test exception processing in
AxisHook
public String
fakeWayWebMethodWithException(javax.xml.rpc.holders.IntHolder num) throws
NumberFormatException, MyException {
return "You're number " + num.value + '!';
@@ -226,6 +222,5 @@
}
public static class MyException extends Exception {
-
}
}
Modified:
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/AnnotatedWebServiceDeploymentHandlerTest.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/AnnotatedWebServiceDeploymentHandlerTest.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/AnnotatedWebServiceDeploymentHandlerTest.java
(original)
+++
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/AnnotatedWebServiceDeploymentHandlerTest.java
Tue Jun 14 17:06:07 2005
@@ -27,27 +27,22 @@
import org.w3c.dom.Node;
/**
- * ****************************************************************************
- * NOTE [EMAIL PROTECTED] 2004-Sep-21 --
* The FakeWebService and this class should be expanded to test most of the
* JSR-181 annotations.
- *
- * @author Jonathan Colwell
*/
public class AnnotatedWebServiceDeploymentHandlerTest
extends TestCase {
- public void testInvokeRPCSOAPService() throws Exception {
- final String classname =
"org.apache.beehive.wsm.axis.FakeWebService"; // rpc style web service
-
- SOAPService fakeSOAPService;
- AnnotatedWebServiceDeploymentHandler hdlr =
- new AnnotatedWebServiceDeploymentHandler();
+ public void testInvokeRPCSOAPService()
+ throws Exception {
+ final String classname = "org.apache.beehive.wsm.axis.FakeWebService";
// rpc style web service
+
+ SOAPService fakeSOAPService;
+ AnnotatedWebServiceDeploymentHandler hdlr = new
AnnotatedWebServiceDeploymentHandler();
Class clazz = Class.forName(classname);
fakeSOAPService = hdlr.getSOAPService(clazz);
-
- MessageContext mc = new MessageContext(new AxisServer());
+ MessageContext mc = new MessageContext(new AxisServer());
SOAPEnvelope env = new SOAPEnvelope();
env.addBodyElement(new RPCElement("doInvocation"));
mc.setRequestMessage(new Message(env));
@@ -56,51 +51,46 @@
Message msg = mc.getResponseMessage();
msg.saveChanges();
assertNotNull(msg);
- if (null != msg)
- {
+ if (null != msg) {
Node n = msg.getSOAPBody().getFirstChild();
assertEquals("doInvocationResponse", n.getLocalName());
n = n.getFirstChild();
assertEquals("invocationSucceeded", n.getLocalName());
- // namespace must be null in the RPC style
+ // namespace must be null in the RPC style
assertEquals("", n.getNamespaceURI());
n = n.getFirstChild();
assertNotNull(n);
assertEquals("true", n.getNodeValue());
}
}
-
+
public void testInvokeDOCSOAPService()
throws Exception {
+ final String classname =
"org.apache.beehive.wsm.axis.FakeDocWebService"; // doc style web service
+
+ SOAPService fakeSOAPService;
+ AnnotatedWebServiceDeploymentHandler hdlr = new
AnnotatedWebServiceDeploymentHandler();
+ Class clazz = Class.forName(classname);
+ fakeSOAPService = hdlr.getSOAPService(clazz);
- final String classname =
"org.apache.beehive.wsm.axis.FakeDocWebService"; // doc style web service
-
- SOAPService fakeSOAPService;
- AnnotatedWebServiceDeploymentHandler hdlr =
- new AnnotatedWebServiceDeploymentHandler();
- Class clazz = Class.forName(classname);
- fakeSOAPService = hdlr.getSOAPService(clazz);
-
-
- MessageContext mc = new MessageContext(new
AxisServer());
- SOAPEnvelope env = new SOAPEnvelope();
- env.addBodyElement(new RPCElement("doInvocation"));
- mc.setRequestMessage(new Message(env));
- mc.setService(fakeSOAPService);
- fakeSOAPService.invoke(mc);
- Message msg = mc.getResponseMessage();
- msg.saveChanges();
- assertNotNull(msg);
- if (null != msg)
- {
- Node n = msg.getSOAPBody().getFirstChild();
- assertEquals("doInvocationResponse", n.getLocalName());
- n = n.getFirstChild();
- assertEquals("invocationSucceeded", n.getLocalName());
- assertEquals("http://result.target.namespace/",
n.getNamespaceURI());
- n = n.getFirstChild();
- assertNotNull(n);
- assertEquals("true", n.getNodeValue());
- }
- }
+ MessageContext mc = new MessageContext(new AxisServer());
+ SOAPEnvelope env = new SOAPEnvelope();
+ env.addBodyElement(new RPCElement("doInvocation"));
+ mc.setRequestMessage(new Message(env));
+ mc.setService(fakeSOAPService);
+ fakeSOAPService.invoke(mc);
+ Message msg = mc.getResponseMessage();
+ msg.saveChanges();
+ assertNotNull(msg);
+ if (null != msg) {
+ Node n = msg.getSOAPBody().getFirstChild();
+ assertEquals("doInvocationResponse", n.getLocalName());
+ n = n.getFirstChild();
+ assertEquals("invocationSucceeded", n.getLocalName());
+ assertEquals("http://result.target.namespace/",
n.getNamespaceURI());
+ n = n.getFirstChild();
+ assertNotNull(n);
+ assertEquals("true", n.getNodeValue());
+ }
+ }
}
Modified:
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/FaultTest.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/FaultTest.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/FaultTest.java
(original)
+++
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/axis/handlers/FaultTest.java
Tue Jun 14 17:06:07 2005
@@ -20,7 +20,6 @@
import javax.xml.namespace.QName;
import junit.framework.TestCase;
-
import org.apache.axis.AxisFault;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
@@ -35,7 +34,6 @@
import org.w3c.dom.NodeList;
public class FaultTest extends TestCase {
-
private SOAPService fakeSOAPService;
public void setUp() throws Exception {
@@ -46,7 +44,6 @@
}
public void testSimpleUserDefinedExceptions() throws Exception {
-
MessageContext mc = new MessageContext(new AxisServer());
SOAPEnvelope env = new SOAPEnvelope();
env.addBodyElement(new RPCElement("doThrowSimpleUserDefinedFault"));
@@ -69,14 +66,13 @@
String localName = de.getLocalName();
String namespace = de.getNamespaceURI();
if (localName.equals("SimpleUserDefinedExceptionFault")
- && namespace.equals("http://fake.target.namespace/")) {
+ && namespace.equals("http://fake.target.namespace/")) {
NodeList nl = de.getChildNodes();
assertTrue(nl.getLength() == 0);
return;
}
}
fail("Didn't find the exception name in the Fault detail");
-
}
}
@@ -103,23 +99,23 @@
String localName = de.getLocalName();
String namespace = de.getNamespaceURI();
if (localName.equals("ComplexUserDefinedExceptionFault")
- && namespace.equals("http://fake.target.namespace/")) {
+ && namespace.equals("http://fake.target.namespace/")) {
NodeList nl = de.getChildNodes();
assertTrue(nl.getLength() == 2);
// make sure both nodes are on right namespace
Node firstNode = nl.item(0);
assertTrue(firstNode.getNamespaceURI().equals(
- "http://fake.target.namespace/"));
+ "http://fake.target.namespace/"));
Node secondNode = nl.item(1);
assertTrue(secondNode.getNamespaceURI().equals(
- "http://fake.target.namespace/"));
+ "http://fake.target.namespace/"));
// make sure the both attributes of the exception is
// serialized
assertTrue("str1".equals(firstNode.getLocalName())
- || "str1".equals(secondNode.getLocalName()));
+ || "str1".equals(secondNode.getLocalName()));
assertTrue("str2".equals(firstNode.getLocalName())
- || "str2".equals(secondNode.getLocalName()));
+ || "str2".equals(secondNode.getLocalName()));
return;
}
// TODO: Check the other elements in the fault
@@ -145,15 +141,13 @@
assertNotNull(msg);
if (null != msg) {
SOAPFault f = (SOAPFault) msg.getSOAPBody().getFirstChild();
- MessageElement faultString = f.getChildElement(new QName(
- "faultstring"));
+ MessageElement faultString = f.getChildElement(new
QName("faultstring"));
// we should have
// <faultstring>java.lang.NullPointerException</faultstring>
//quick hack to validate the faultString is set correctly
// at this point I can't seem to walk the xml tree properly
// but the toString works on the element.
- "<faultstring>java.lang.NullPointerException</faultstring>"
- .equals(faultString.toString());
+
"<faultstring>java.lang.NullPointerException</faultstring>".equals(faultString.toString());
// TODO: Check the other elements in the fault
}
}
Modified: incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/Cheetorama.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/Cheetorama.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/Cheetorama.java
(original)
+++ incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/Cheetorama.java Tue Jun
14 17:06:07 2005
@@ -4,12 +4,6 @@
* Licensed 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
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed 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
*
@@ -27,7 +21,6 @@
import javax.jws.WebService;
/**
- * ****************************************************************************
*/
@WebService(name = "Abacus", targetNamespace =
"http://www.superflaco.com/AnnotationEndpointInterfaceTest")
public interface Cheetorama {
Modified:
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ComplexUserDefinedException.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ComplexUserDefinedException.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ComplexUserDefinedException.java
(original)
+++
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ComplexUserDefinedException.java
Tue Jun 14 17:06:07 2005
@@ -1,9 +1,6 @@
-package org.apache.beehive.wsm.axis;
/*
- *
* Copyright 2001-2004 The Apache Software Foundation.
- *
- *
+ *
* Licensed 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
@@ -17,6 +14,7 @@
* limitations under the License.
*
*/
+package org.apache.beehive.wsm.axis;
public class ComplexUserDefinedException
extends Exception
Modified:
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeDocWebService.jws
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeDocWebService.jws?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeDocWebService.jws
(original)
+++
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeDocWebService.jws
Tue Jun 14 17:06:07 2005
@@ -1,5 +1,3 @@
-package org.apache.beehive.wsm.axis;
-
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
@@ -16,6 +14,7 @@
* limitations under the License.
*
*/
+package org.apache.beehive.wsm.axis;
import javax.jws.Oneway;
import javax.jws.WebMethod;
@@ -24,7 +23,6 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-
@WebService(
name = "FakeDocName",
serviceName = "FakeDocServiceName",
@@ -33,9 +31,7 @@
public class FakeDocWebService {
@WebMethod(action = "invocationAction")
- @WebResult(
- name = "invocationSucceeded",
- targetNamespace = "http://result.target.namespace/")
+ @WebResult(name = "invocationSucceeded", targetNamespace =
"http://result.target.namespace/")
public String doInvocation() {
return "true";
}
Modified:
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeWebService.jws
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeWebService.jws?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeWebService.jws
(original)
+++
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeWebService.jws
Tue Jun 14 17:06:07 2005
@@ -1,8 +1,4 @@
-package org.apache.beehive.wsm.axis;
-
/*
- * FakeWebService.java
- *
* Copyright 2001-2004 The Apache Software Foundation.
*
*
@@ -19,6 +15,7 @@
* limitations under the License.
*
*/
+package org.apache.beehive.wsm.axis;
import javax.jws.Oneway;
import javax.jws.WebMethod;
@@ -43,9 +40,7 @@
public class FakeWebService {
@WebMethod(action = "invocationAction")
- @WebResult(
- name = "invocationSucceeded",
- targetNamespace = "http://result.target.namespace/")
+ @WebResult(name = "invocationSucceeded", targetNamespace =
"http://result.target.namespace/")
public String doInvocation() {
return "true";
}
Modified:
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ModeratelyComplexObject.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ModeratelyComplexObject.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ModeratelyComplexObject.java
(original)
+++
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/ModeratelyComplexObject.java
Tue Jun 14 17:06:07 2005
@@ -1,6 +1,4 @@
/*
- * ModeratelyComplexObject.java
- *
* Copyright 2001-2004 The Apache Software Foundation.
*
*
@@ -25,11 +23,10 @@
import java.util.Map;
/**
- * ****************************************************************************
*
- * @author Jonathan Colwell
*/
-public class ModeratelyComplexObject implements Serializable {
+public class ModeratelyComplexObject
+ implements Serializable {
private Date mDate;
private Map mMap;
Modified:
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/SimpleUserDefinedException.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/SimpleUserDefinedException.java?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/SimpleUserDefinedException.java
(original)
+++
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/SimpleUserDefinedException.java
Tue Jun 14 17:06:07 2005
@@ -1,5 +1,3 @@
-package org.apache.beehive.wsm.axis;
-
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
@@ -17,8 +15,11 @@
* limitations under the License.
*
*/
-public class SimpleUserDefinedException extends Exception implements
- java.io.Serializable {
+package org.apache.beehive.wsm.axis;
+
+public class SimpleUserDefinedException
+ extends Exception
+ implements java.io.Serializable {
public SimpleUserDefinedException() {
}
Modified:
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/jsr181/wsdl/StarWars.jws
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/jsr181/wsdl/StarWars.jws?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
---
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/jsr181/wsdl/StarWars.jws
(original)
+++
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/jsr181/wsdl/StarWars.jws
Tue Jun 14 17:06:07 2005
@@ -1,9 +1,6 @@
/*
- * starwars.jws
- *
* Copyright 2001-2004 The Apache Software Foundation.
*
- *
* Licensed 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
@@ -15,27 +12,14 @@
* 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.
- *
- *
- * Original author: Jonathan Colwell
*/
package org.apache.beehive.wsm.jsr181.wsdl;
-import javax.jws.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
-import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-import javax.jws.soap.SOAPMessageHandler;
-import javax.jws.soap.SOAPMessageHandlers;
-
-/*******************************************************************************
- *
- *
- * @author Jonathan Colwell
- */
@WebService(name="starwars",
serviceName="starwarsService",
targetNamespace="http://starwars")
@@ -43,7 +27,6 @@
use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public class StarWars {
-
public static net.superflaco.Character stashed;
Modified: incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar.jws
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar.jws?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar.jws (original)
+++ incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar.jws Tue Jun 14
17:06:07 2005
@@ -1,5 +1,3 @@
-package web;
-
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
@@ -15,13 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+package web;
import javax.jws.WebService;
/**
- * ****************************************************************************
- *
- * @author Jonathan Colwell
+ *
*/
@WebService(serviceName = "Bar1Service", endpointInterface = "Cheetorama")
public class Bar {
Modified: incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar3.jws
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar3.jws?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar3.jws (original)
+++ incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar3.jws Tue Jun 14
17:06:07 2005
@@ -1,5 +1,3 @@
-package web;
-
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
@@ -15,18 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+package web;
import javax.jws.WebMethod;
import javax.jws.WebService;
/**
- * ****************************************************************************
* Although this class implements the dropMoney method in
* the endpoint interface (cheetorama), the method is not
* annotated with @WebMethod.
*/
@WebService(serviceName = "Bar3Service", endpointInterface = "Cheetorama")
public class Bar3 {
+
@WebMethod
public boolean getNutty(int level, String detail) {
return (level > 5);
Modified: incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Foo.jws
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Foo.jws?rev=190669&r1=190668&r2=190669&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Foo.jws (original)
+++ incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Foo.jws Tue Jun 14
17:06:07 2005
@@ -1,5 +1,3 @@
-package web;
-
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
@@ -15,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+package web;
import javax.jws.Oneway;
import javax.jws.WebMethod;
@@ -23,9 +22,7 @@
import javax.jws.WebService;
/**
- * ****************************************************************************
- *
- * @author Jonathan Colwell
+ *
*/
@WebService(name = "Abacus", targetNamespace =
"http://www.superflaco.com/AnnotationTest")
public class Foo {