Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 486 invoked from network); 24 Jul 2006 19:58:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jul 2006 19:58:37 -0000 Received: (qmail 60645 invoked by uid 500); 24 Jul 2006 19:58:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 60375 invoked by uid 500); 24 Jul 2006 19:58:33 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 60361 invoked by uid 99); 24 Jul 2006 19:58:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:58:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 12:58:32 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 498C47141E8 for ; Mon, 24 Jul 2006 19:56:14 +0000 (GMT) Message-ID: <31178619.1153770974283.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 12:56:14 -0700 (PDT) From: "Christopher Sahnwaldt (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-2530) publish any object as web service In-Reply-To: <28245112.1153653195134.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2530?page=all ] Christopher Sahnwaldt updated AXIS-2530: ---------------------------------------- Attachment: AxisServerExporter.java Creates an AxisServer object with a given configuration and exports it as an attribute in the ServletContext where the AxisServlet will find it. The tricky part is that the name of the created AxisServer object must be the same as the name of the AxisServlet (as set in web.xml). Otherwise, the AxisServlet won't use our server. Thus the setServletName() method. The attribute name is the constant AxisServletBase.ATTR_AXIS_ENGINE. The class implements a Spring interface, but if you don't need that, just remove it. > publish any object as web service > --------------------------------- > > Key: AXIS-2530 > URL: http://issues.apache.org/jira/browse/AXIS-2530 > Project: Apache Axis > Issue Type: New Feature > Components: Deployment / Registries > Affects Versions: current (nightly) > Reporter: Christopher Sahnwaldt > Attachments: AxisServerExporter.java > > > It would be great if one could take any object and publish it as a service. See for example http://marc.theaimsgroup.com/?l=axis-dev&m=115168170301873 . We have similar requirements (we configure objects using Spring), so we figured out a way to create our own Axis configuration and fill it with service handlers for our objects. To make the AxisServlet use our handmade configuration, we create an AxisServer object and store it as an attribute in the ServletContext. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org