Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 69585 invoked from network); 13 Jun 2007 20:17:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 20:17:01 -0000 Received: (qmail 90305 invoked by uid 500); 13 Jun 2007 20:17:04 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 90173 invoked by uid 500); 13 Jun 2007 20:17:03 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 90158 invoked by uid 500); 13 Jun 2007 20:17:03 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 90155 invoked by uid 99); 13 Jun 2007 20:17:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 13:17:03 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 13:16:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id AB0871A981A; Wed, 13 Jun 2007 13:16:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r547013 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java Date: Wed, 13 Jun 2007 20:16:39 -0000 To: axis2-cvs@ws.apache.org From: hemapani@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070613201639.AB0871A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: hemapani Date: Wed Jun 13 13:16:38 2007 New Revision: 547013 URL: http://svn.apache.org/viewvc?view=rev&rev=547013 Log: check in the missing method Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java?view=diff&rev=547013&r1=547012&r2=547013 ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java Wed Jun 13 13:16:38 2007 @@ -33,6 +33,7 @@ import org.apache.axis2.description.AxisServiceGroup; import org.apache.axis2.description.Flow; import org.apache.axis2.description.HandlerDescription; +import org.apache.axis2.description.InOnlyAxisOperation; import org.apache.axis2.description.InOutAxisOperation; import org.apache.axis2.description.OutInAxisOperation; import org.apache.axis2.description.Parameter; @@ -88,6 +89,26 @@ className, opName); } + + + public static AxisService createSimpleInOnlyService(QName serviceName, + MessageReceiver messageReceiver, + QName opName) + throws AxisFault { + AxisService service = new AxisService(serviceName.getLocalPart()); + service.setClassLoader(Thread.currentThread().getContextClassLoader()); + + AxisOperation axisOp = new InOnlyAxisOperation(opName); + + axisOp.setMessageReceiver(messageReceiver); + axisOp.setStyle(WSDLConstants.STYLE_RPC); + service.addOperation(axisOp); + service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + opName.getLocalPart(), + axisOp); + + return service; + } + public static AxisService createSimpleService(QName serviceName, MessageReceiver messageReceiver, String className, --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org