Author: alessio.soldano(a)jboss.com
Date: 2008-02-08 06:46:18 -0500 (Fri, 08 Feb 2008)
New Revision: 5640
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperMTOMEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperSWAEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractPressReleaseEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Agency.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionMTOM.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionSWA.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOM.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOMEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWA.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWAEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/PressReleaseEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Printer.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecureAgency.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePressReleaseEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePrinter.java
Log:
[JBWS-1895] Javadoc
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperMTOMEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperMTOMEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperMTOMEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,12 +21,20 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.util.Date;
import javax.activation.DataHandler;
import org.jboss.logging.Logger;
+/**
+ * The common implementation of the MTOM newspaper endpoint
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class AbstractNewspaperMTOMEndpoint
{
private Logger log = Logger.getLogger(this.getClass());
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperSWAEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperSWAEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractNewspaperSWAEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,13 +21,20 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.util.Date;
import javax.activation.DataHandler;
import org.jboss.logging.Logger;
-
+/**
+ * The common implementation of the SWA newspaper endpoint
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class AbstractNewspaperSWAEndpoint
{
private Logger log = Logger.getLogger(this.getClass());
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractPressReleaseEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractPressReleaseEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/AbstractPressReleaseEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,8 +21,16 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import org.jboss.logging.Logger;
+/**
+ * The common implementation of the press release endpoint
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public abstract class AbstractPressReleaseEndpoint
{
private Logger log = Logger.getLogger(this.getClass());
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Agency.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Agency.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Agency.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.net.URL;
import java.util.GregorianCalendar;
@@ -32,6 +34,12 @@
import com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl;
+/**
+ * The press agency client
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class Agency
{
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionMTOM.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionMTOM.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionMTOM.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,11 +21,19 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.util.Date;
import javax.activation.DataHandler;
import javax.xml.bind.annotation.XmlMimeType;
+/**
+ * The MTOM version of the newspaper edition
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class EditionMTOM
{
private Date date;
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionSWA.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionSWA.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/EditionSWA.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.util.Date;
import javax.activation.DataHandler;
@@ -28,6 +30,12 @@
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
+/**
+ * The SWA version of the newspaper edition
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@XmlRootElement
public class EditionSWA
{
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOM.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOM.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOM.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.util.Date;
import javax.jws.WebMethod;
@@ -28,6 +30,12 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
+/**
+ * The MTOM newspaper endpoint interface
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@WebService(targetNamespace = "http://org.jboss.ws/samples/news")
@SOAPBinding(style = SOAPBinding.Style.RPC,
use = SOAPBinding.Use.LITERAL)
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOMEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOMEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperMTOMEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@@ -28,7 +30,12 @@
import org.jboss.wsf.spi.annotation.WebContext;
-
+/**
+ * The MTOM newspaper endpoint
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@Stateless
@WebService(endpointInterface =
"org.jboss.test.ws.jaxws.samples.news.NewspaperMTOM",
name = "NewspaperMTOMEndpoint",
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWA.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWA.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWA.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.util.Date;
import javax.jws.WebMethod;
@@ -28,6 +30,12 @@
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
+/**
+ * The SWA newspaper endpoint interface
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@WebService(targetNamespace = "http://org.jboss.ws/samples/news")
@SOAPBinding(style = SOAPBinding.Style.RPC,
use = SOAPBinding.Use.LITERAL)
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWAEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWAEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/NewspaperSWAEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@@ -28,7 +30,12 @@
import org.jboss.annotation.security.SecurityDomain;
import org.jboss.wsf.spi.annotation.WebContext;
-
+/**
+ * The SWA newspaper endpoint
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@Stateless
@WebService(endpointInterface =
"org.jboss.test.ws.jaxws.samples.news.NewspaperSWA",
name = "NewspaperSWAEndpoint",
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/PressReleaseEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/PressReleaseEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/PressReleaseEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,12 +21,20 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import org.jboss.wsf.spi.annotation.WebContext;
+/**
+ * The press release endpoint
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@Stateless
@WebService(name = "PressReleaseEndpoint",
targetNamespace = "http://org.jboss.ws/samples/news",
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Printer.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Printer.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/Printer.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.io.IOException;
import java.net.URL;
import java.util.GregorianCalendar;
@@ -40,6 +42,12 @@
import com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl;
+/**
+ * The printer client
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class Printer
{
protected NewspaperMTOMEndpoint mtomEndpoint;
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecureAgency.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecureAgency.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecureAgency.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,10 +21,18 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.net.URL;
import org.jboss.ws.core.StubExt;
+/**
+ * The press agency client using WS-Security
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class SecureAgency extends Agency
{
public SecureAgency(URL url)
@@ -46,8 +54,7 @@
else
{
System.out.println("SecureAgency client usage:");
- System.out.println("./wsrunclient.sh -classpath agency.jar
-Dorg.jboss.ws.wsse.trustStore=wsse10.truststore
-Dorg.jboss.ws.wsse.keyStore=alice-sign_enc.jks " +
- "-Dorg.jboss.ws.wsse.keyStorePassword=password
-Dorg.jboss.ws.wsse.trustStorePassword=password
org.jboss.test.ws.jaxws.samples.news.SecureAgency " +
+ System.out.println("./wsrunclient.sh -classpath agency.jar
org.jboss.test.ws.jaxws.samples.news.SecureAgency " +
"http://localhost.localdomain:8080/news/pressRelease?wsdl title
body");
}
}
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePressReleaseEndpoint.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePressReleaseEndpoint.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePressReleaseEndpoint.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@@ -29,6 +31,12 @@
import org.jboss.ws.annotation.EndpointConfig;
import org.jboss.wsf.spi.annotation.WebContext;
+/**
+ * The press release endpoint enforcing authentication plus message encryption and
signature
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
@Stateless
@WebService(name = "PressReleaseEndpoint",
targetNamespace = "http://org.jboss.ws/samples/news",
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePrinter.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePrinter.java 2008-02-08
11:11:55 UTC (rev 5639)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/news/SecurePrinter.java 2008-02-08
11:46:18 UTC (rev 5640)
@@ -21,10 +21,18 @@
*/
package org.jboss.test.ws.jaxws.samples.news;
+//$Id$
+
import java.net.URL;
import javax.xml.ws.BindingProvider;
+/**
+ * The printer client using https transport
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 31-Jan-2008
+ */
public class SecurePrinter extends Printer
{
public SecurePrinter(URL url, boolean mtom)