Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 30142 invoked by uid 500); 4 Apr 2003 15:17:35 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 30085 invoked from network); 4 Apr 2003 15:17:32 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Subject: RE: Handler order Date: Fri, 4 Apr 2003 09:17:08 -0600 Message-ID: <31738B46B7BD864080808A19977D9F75E2A8A8@NAHOU-MSMBX03V.corp.enron.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Handler order Thread-Index: AcL6qNGCeDZnEppnSzmy9NZMrYkaegAE4QcA From: "Pathak, Sanjesh" To: X-OriginalArrivalTime: 04 Apr 2003 15:17:12.0222 (UTC) FILETIME=[4458ABE0:01C2FABD] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Toshiyuki, Thanks for the reply. What I want to do is display to the user the order of the handlers in request flow and response flow for a given service. As you suggessted in the code below I found the Service class (org.apache.axis.client.Service). I tried to use it's method getHandlerRegistry(). But I am still unsuccessfull. Please let me know if you find anything more on this. Thanks again. Sanjesh -----Original Message----- From: Toshiyuki Kimura [mailto:kimuratsy@nttdata.co.jp] Sent: Friday, April 04, 2003 6:53 AM To: axis-user@ws.apache.org Subject: RE: Handler order Hi Sanjesh, Which are you talking about the JAX-RPC handler, or AXIS specified handler ? And what do you want to do with the programming. In case of JAX-RPC, the spec specifies a few Handler Configuration APIs, for example 'getHandlerRegistry', 'getHandlerChain'. I add a snippet of the code; .........*.........*.........*.........*.........*.........*.........* import javax.xml.rpc.handler.*; import javax.xml.namespace.*; import java.Util.*; : : HandlerRegistry hr = service.getHandlerRegistry(); List hl = hr.getHandlerChain(new javax.xml.namespace.QName("qname")); for (int i=hl.size(); i>0; i--) { HandlerInfo hi = (javax.xml.rpc.handler.HandlerInfo)hl.get(i); Class handlerClass = hi.getHandlerClass(); } .........*.........*.........*.........*.........*.........*.........* NOTE: The above code is just a sample programming. I didn't check whether it works well or not. And I'm not sure AXIS has implemented these APIs faithfully. Best Regards, Toshi (Toshiyuki Kimura) R&D Headquarters NTT DATA Corporation -----Original Message----- From: Pathak, Sanjesh [mailto:Sanjesh.Pathak@ENRON.com] Sent: Friday, April 04, 2003 1:35 AM To: axis-user@ws.apache.org Subject: Handler order Hi, I am trying to get handlers (and their order) that are there in the response flow, request flow and fault flow of a service. Does anyone know if there is a programmatic way or an API to get the order the of the handlers in response flow, request flow and fault flow of a deployed service? Sanjesh ********************************************************************** This e-mail is the property of Enron Corp. and/or its relevant affiliate and may contain confidential and privileged material for the sole use of the intended recipient (s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender or reply to Enron Corp. at enron.messaging.administration@enron.com and delete all copies of the message. This e-mail (and any attachments hereto) are not intended to be an offer (or an acceptance) and do not create or evidence a binding and enforceable contract between Enron Corp. (or any of its affiliates) and the intended recipient or any other party, and may not be relied on by anyone as the basis of a contract by estoppel or otherwise. Thank you. **********************************************************************