Hi Tammo, I had faced some issue when using local transport and later I figured out how to use it. Maybe it is all about how to use it. I had posted my findings which you can see in the archived mail thread here: http://mail-archives.apache.org/mod_mbox/axis-java-user/201107.mbox/%3C9 c3b47f84c2f814da02f301c0158838a03fd6...@xmb-sjc-222.amer.cisco.com%3E
Here is a gist: I tried to use org.apache.axis2.integration.LocalTestCase.java (which is used by Axis for Unit Tests). I bundled this along with my code and called getClient(serviceName, OperationName) method on it. But when executing my code it was unable to resolve the service... I had accessed the service in this format "local://services/MyService"... Later I figured out that the following call does not work as desired (which is the cause for not finding the service), so I changed it as I have shown below: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(nul l, null); So I had to supply the parameters (see below) to get this to work as desired: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(Rep ositoryPath, AxisXML); thanks, -- Yashwanth -----Original Message----- From: Tammo van Lessen [mailto:[email protected]] Sent: Friday, October 21, 2011 2:04 AM To: [email protected] Subject: NPE in LocalTransportReceiver.processMessage() Hi devs, can someone please review and re-open AXIS2-3219? I added detailed informations about the problem and two suggestions for potential fixes. It can be fixed by a single parameter passing change. I'm happy to provide a patch as well, but would like know which solution better fix into Axis2's design. It is a bit frustrating to see it as 'Resolved' without neither a single change associated to it nor does it seem the issue has been properly reviewed. A code review, especially regarding the use of static fields in this context, would do it good. Thanks, Tammo PS: Sorry for the rant, besides of that, Axis is great stuff :) -- Tammo van Lessen - http://www.taval.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
