[jbossws-commits] JBossWS SVN: r3393 - in trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples: context and 2 other directories.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Sat Jun 2 10:59:16 EDT 2007
Author: thomas.diesler at jboss.com
Date: 2007-06-02 10:59:15 -0400 (Sat, 02 Jun 2007)
New Revision: 3393
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpoint.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpointBean.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointEJB.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointJSE.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/TestEndpoint.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpoint.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpointImpl.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionTestCase.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/webmethod/TestEndpoint.java
Log:
Rollback possibly invalid changes for xfire
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -104,7 +104,7 @@
private TestEndpoint createProxy() throws MalformedURLException
{
URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-samples-asynchronous?wsdl");
- QName serviceName = new QName(targetNS, "TestEndpointService");
+ QName serviceName = new QName(targetNS, "TestEndpointBeanService");
Service service = Service.create(wsdlURL, serviceName);
return (TestEndpoint)service.getPort(TestEndpoint.class);
}
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpoint.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpoint.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -32,7 +32,7 @@
import javax.xml.ws.AsyncHandler;
import javax.xml.ws.Response;
- at WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jaxws/asynchronous")
+ at WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jaxws/asynchronous")
@SOAPBinding(style = Style.RPC)
public interface TestEndpoint
{
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpointBean.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpointBean.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/asynchronous/TestEndpointBean.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -32,7 +32,7 @@
import org.jboss.logging.Logger;
- at WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jaxws/asynchronous")
+ at WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jaxws/asynchronous")
@SOAPBinding(style = Style.RPC)
public class TestEndpointBean
{
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointEJB.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointEJB.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointEJB.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -29,8 +29,6 @@
import javax.annotation.security.RolesAllowed;
import javax.ejb.Stateless;
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.SOAPBinding.Style;
@@ -40,12 +38,10 @@
import org.jboss.annotation.security.SecurityDomain;
import org.jboss.wsf.spi.annotation.WebContext;
- at WebService(name = "TestEndpoint", serviceName = "TestEndpointService", targetNamespace = "http://org.jboss.ws/jaxws/context")
+ at WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jaxws/context")
@SOAPBinding(style = Style.RPC)
-
- at WebContext(contextRoot = "/jaxws-samples-context", urlPattern = "/*", authMethod = "BASIC", transportGuarantee = "NONE", secureWSDLAccess = false)
-
@Stateless
+ at WebContext(contextRoot = "/jaxws-samples-context", urlPattern = "/*", authMethod = "BASIC", transportGuarantee = "NONE", secureWSDLAccess = false)
@SecurityDomain("JBossWS")
@RolesAllowed("friend")
public class EndpointEJB
@@ -54,7 +50,6 @@
WebServiceContext wsCtx;
@WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
public String testGetMessageContext()
{
MessageContext jaxwsContext = (MessageContext)wsCtx.getMessageContext();
@@ -62,7 +57,6 @@
}
@WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
public String testGetUserPrincipal()
{
Principal principal = wsCtx.getUserPrincipal();
@@ -70,8 +64,7 @@
}
@WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
- public boolean testIsUserInRole(@WebParam(name = "arg0") String role)
+ public boolean testIsUserInRole(String role)
{
return wsCtx.isUserInRole(role);
}
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointJSE.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointJSE.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/EndpointJSE.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -27,8 +27,6 @@
import javax.annotation.Resource;
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.SOAPBinding.Style;
@@ -43,7 +41,6 @@
WebServiceContext wsCtx;
@WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
public String testGetMessageContext()
{
MessageContext jaxwsContext = (MessageContext)wsCtx.getMessageContext();
@@ -51,7 +48,6 @@
}
@WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
public String testGetUserPrincipal()
{
Principal principal = wsCtx.getUserPrincipal();
@@ -59,8 +55,7 @@
}
@WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
- public boolean testIsUserInRole(@WebParam(name = "arg0") String role)
+ public boolean testIsUserInRole(String role)
{
return wsCtx.isUserInRole(role);
}
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/TestEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/TestEndpoint.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/context/TestEndpoint.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -1,3 +1,4 @@
+
package org.jboss.test.ws.jaxws.samples.context;
import javax.jws.WebMethod;
@@ -7,20 +8,46 @@
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
+
+/**
+ * This class was generated by the JAXWS SI.
+ * JAX-WS RI 2.0-b26-ea3
+ * Generated source version: 2.0
+ *
+ */
@WebService(name = "TestEndpoint", targetNamespace = "http://org.jboss.ws/jaxws/context")
@SOAPBinding(style = Style.RPC)
-public interface TestEndpoint
-{
- @WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
- public String testGetMessageContext();
+public interface TestEndpoint {
- @WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
- public String testGetUserPrincipal();
- @WebMethod
- @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
- public boolean testIsUserInRole(@WebParam(name = "arg0") String arg0);
+ /**
+ *
+ * @return
+ * returns java.lang.String
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
+ public String testGetMessageContext();
+ /**
+ *
+ * @return
+ * returns java.lang.String
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
+ public String testGetUserPrincipal();
+
+ /**
+ *
+ * @param arg0
+ * @return
+ * returns boolean
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "http://org.jboss.ws/jaxws/context", partName = "return")
+ public boolean testIsUserInRole(
+ @WebParam(name = "arg0", partName = "arg0")
+ String arg0);
+
}
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpoint.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpoint.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -23,7 +23,7 @@
import javax.jws.WebService;
- at WebService(serviceName="ExceptionEndpointService")
+ at WebService
public interface ExceptionEndpoint
{
public void throwRuntimeException();
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpointImpl.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpointImpl.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionEndpointImpl.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -28,7 +28,7 @@
import javax.xml.soap.SOAPFault;
import javax.xml.ws.soap.SOAPFaultException;
- at WebService(serviceName="ExceptionEndpointService", endpointInterface = "org.jboss.test.ws.jaxws.samples.exception.ExceptionEndpoint")
+ at WebService(endpointInterface = "org.jboss.test.ws.jaxws.samples.exception.ExceptionEndpoint")
public class ExceptionEndpointImpl implements ExceptionEndpoint
{
public void throwRuntimeException()
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionTestCase.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionTestCase.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/exception/ExceptionTestCase.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -54,7 +54,7 @@
{
super.setUp();
- QName serviceName = new QName(targetNS, "ExceptionEndpointService");
+ QName serviceName = new QName(targetNS, "ExceptionEndpointImplService");
URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-samples-exception/ExceptionEndpointService?wsdl");
Service service = Service.create(wsdlURL, serviceName);
Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/webmethod/TestEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/webmethod/TestEndpoint.java 2007-06-02 14:14:20 UTC (rev 3392)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/webmethod/TestEndpoint.java 2007-06-02 14:59:15 UTC (rev 3393)
@@ -22,16 +22,13 @@
package org.jboss.test.ws.jaxws.samples.webmethod;
import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
- at WebService (name="TestEndpoint", serviceName="TestEndpointService")
+ at WebService (name="TestEndpoint")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface TestEndpoint
{
@WebMethod(operationName = "echoString", action = "urn:EchoString")
- @WebResult(name = "result")
- String echo(@WebParam(name = "arg0") String input);
+ String echo(String input);
}
More information about the jbossws-commits
mailing list