Return-Path: Delivered-To: apmail-ode-dev-archive@www.apache.org Received: (qmail 98076 invoked from network); 4 Jun 2008 16:34:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2008 16:34:06 -0000 Received: (qmail 63417 invoked by uid 500); 4 Jun 2008 16:34:09 -0000 Delivered-To: apmail-ode-dev-archive@ode.apache.org Received: (qmail 63393 invoked by uid 500); 4 Jun 2008 16:34:08 -0000 Mailing-List: contact dev-help@ode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ode.apache.org Delivered-To: mailing list dev@ode.apache.org Received: (qmail 63382 invoked by uid 99); 4 Jun 2008 16:34:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 09:34:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 16:33:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D445234C12E for ; Wed, 4 Jun 2008 09:33:45 -0700 (PDT) Message-ID: <155312868.1212597225118.JavaMail.jira@brutus> Date: Wed, 4 Jun 2008 09:33:45 -0700 (PDT) From: "Alexis Midon (JIRA)" To: dev@ode.apache.org Subject: [jira] Commented: (ODE-275) Provide a configurable handler to support WS-RM In-Reply-To: <1591187645.1209118796292.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 [ https://issues.apache.org/jira/browse/ODE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602339#action_12602339 ] Alexis Midon commented on ODE-275: ---------------------------------- Here is proposal for an implementation (and the consequent patch). A new interface org.apache.ode.axis2.ServiceClientHandler exposes a method: handle(QName serviceName, String portName, ServiceClient client) throws AxisFault. An implementation of this interface may be specified with the property "axis2.service.client.handler" in the integration-layer.properties (see ODE-295). Each SoapExternalService has one handler instance per thread (same pattern as for ServiceClient and Options). This instance is invoked each time the ServiceClient is created. This might happen on the first call, or if the handler implementation or the Axis2 Options have changed (The value of this property is checked every 30 seconds). The handler is invoked after the loading of the xml file [serviceLocalName].axis2 Here the order of precedence of the 3 ServiceClient configuration steps available: (least important first) #1. loading of [serviceLocalName].axis2 #2. Options set in integration-layer.properties #2. ServiceHandler Feedback welcome. > Provide a configurable handler to support WS-RM > ----------------------------------------------- > > Key: ODE-275 > URL: https://issues.apache.org/jira/browse/ODE-275 > Project: ODE > Issue Type: New Feature > Components: Axis2 Integration > Reporter: Sukma Verdianto > Fix For: 1.3 > > > Custom code is required to enable Axis2 WS-RM modules (to set WS-RM specific options) at caller side. > Sandesha2 requires these following steps to be done before sending the messages : > 1. Engage sandesha2 and addressing modules, could be done by loading axis2 configuration per external endpoint which also define RMPhase. > 2. Set SandeshaClientConstants.LAST_MESSAGE property to true, could be done by adding a custom handler that will be called before invocation. > This require changes to ExternalService. > A sandesha userguide that show the example of writing simple WS-RM client is http://ws.apache.org/sandesha/sandesha2/userGuide.html#writing_clients -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.