Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 96058 invoked from network); 6 May 2004 15:43:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 May 2004 15:43:47 -0000 Received: (qmail 84263 invoked by uid 500); 6 May 2004 15:33:07 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 84221 invoked by uid 500); 6 May 2004 15:33:06 -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 84161 invoked from network); 6 May 2004 15:33:06 -0000 Received: from unknown (HELO mail.hcsc.net) (63.215.122.124) by daedalus.apache.org with SMTP; 6 May 2004 15:33:06 -0000 Received: from 192.168.111.5 by mail.hcsc.net with ESMTP (SMTP Relay ( MMS v5.5.3)); Thu, 06 May 2004 09:17:06 -0500 Subject: Possible bug on Client Stubs and LocalSender To: axis-user@ws.apache.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Hemanth_Setty@bcbsil.com Date: Thu, 6 May 2004 09:17:04 -0500 X-MIMETrack: Serialize by Router on GLSMTP01/SVR/HCSC(Release 6.5.1|January 21, 2004) at 05/06/2004 09:17:05 MIME-Version: 1.0 X-WSS-ID: 6C8497681991659-02-03 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I am trying to use the axis generated client stubs and work with a local transport. I do not want to modify the stubs because the same stubs will potentially be used as http and MQ stubs also. But the way I need to set up Local Transport on the Call object makes it difficult. LocalTransport needs to be initialized with and AxisServer pointing to my wsdd file to work correctly. But the default implementation of it just does new AxisServer() without a parameter. And if I don't set the transport on the Call object I will get a NoService axis fault. When Call.invoke(..) is called it clears the messageContext with the call object and also when setTargetEndpointAddress(URL) is called it registers the default LocalTransport with the service using service.registerTransportForURL(address, transport); I don't mind calling registerTransportForURL on the service(impl class is ServiceLocator) but this method is package protected. Is there a way to setup the localTransport with the correct AxisServer on the call object without using Call.setTransport(..) before the invoke. I could do it on service.registerTransportForURL(address, transport) method but this method is package protected and I cannot access it from my code. Is this a bug? Any help appreciated. Thank you Hemanth Setty ********** The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New Mexico. **********