From: <jbo...@li...> - 2006-07-03 13:22:28
|
Author: tho...@jb... Date: 2006-07-03 09:22:24 -0400 (Mon, 03 Jul 2006) New Revision: 542 Modified: trunk/src/test/java/org/jboss/test/ws/jsr181/webparam/PingService.java Log: layout Modified: trunk/src/test/java/org/jboss/test/ws/jsr181/webparam/PingService.java =================================================================== --- trunk/src/test/java/org/jboss/test/ws/jsr181/webparam/PingService.java 2006-07-03 13:16:02 UTC (rev 541) +++ trunk/src/test/java/org/jboss/test/ws/jsr181/webparam/PingService.java 2006-07-03 13:22:24 UTC (rev 542) @@ -1,24 +1,24 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2005, JBoss Inc., and individual contributors as indicated - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. - * - * This is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * This software is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this software; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. - */ + * JBoss, Home of Professional Open Source + * Copyright 2005, JBoss Inc., and individual contributors as indicated + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * This is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this software; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ package org.jboss.test.ws.jsr181.webparam; import javax.jws.WebMethod; @@ -49,27 +49,23 @@ return p; } - @WebMethod(operationName = "PingOneWay") @Oneway - public void ping( - @WebParam(name = "Ping") PingDocument p) + @WebMethod(operationName = "PingOneWay") + public void ping(@WebParam(name = "Ping") PingDocument p) { log.info("ping: " + p); } @WebMethod(operationName = "PingTwoWay") - public void ping( - @WebParam(name = "Ping", mode = WebParam.Mode.INOUT) PingDocumentHolder p) + public void ping(@WebParam(name = "Ping", mode = WebParam.Mode.INOUT) PingDocumentHolder p) { log.info("ping: " + p.value); p.value = new PingDocument(p.value.getContent() + " Response"); } - @WebMethod(operationName = "SecurePing") @Oneway - public void ping( - @WebParam(name = "Ping") PingDocument p, - @WebParam(name = "SecHeader", header = true) SecurityHeader secHdr) + @WebMethod(operationName = "SecurePing") + public void ping(@WebParam(name = "Ping") PingDocument p, @WebParam(name = "SecHeader", header = true) SecurityHeader secHdr) { log.info("ping: " + p + "," + secHdr); } |