Hello Deepal, Thank You for the quick response. I already have modified the axis2.xml, but still get the same error.
I am attaching the module.xml and axis2.xml file for your reference. Can you please take a look at it? I have verified, that it take the correct axis2.xml file. Can you please help me debug this issue? Thanks and Regards, Navin --- Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > Hi ; > > You have to do simple modification to your axis2.xml > in order to overcome > this error . > > in axis2.xml you can see > <phaseOrder type="inflow"> > add an entry to that (i mean the phase that you are > going to use) > <phase name="loggingPhase"/> > > if you are going to put the handlers in all the > flows then add the same > entry to each flow's phaseOrder > > Thanks, > Deepal > ................................................................ > ~Future is Open~ > > > > ----- Original Message ----- > From: "Navinkumar Shetty" > <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Saturday, July 30, 2005 1:17 PM > Subject: RE: [Axis2] Question about Handlers- > getting errors > > > > Hello Ashutosh, > > > > I am trying the use the Logging module from the > client > > side and I am getting the following error - > > adding new module > > org.apache.axis2.phaseresolver.PhaseException: > Invalid > > Phase ,loggingPhasefor the handler > InFlowLogHandler > > dose not exit in axis2.xml or refering to phase in > > diffrent flow > > at > > > org.apache.axis2.phaseresolver.PhaseHolder.addHandler(PhaseHolder.java:67) > > at > > > org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToServiceFromGlobal(PhaseResolver.java:415) > > at > > > org.apache.axis2.phaseresolver.PhaseResolver.engageModuleGlobally(PhaseResolver.java:333) > > at > > > org.apache.axis2.engine.AxisConfigurationImpl.engageModule(AxisConfigurationImpl.java:329) > > at > > > org.apache.axis2.clientapi.InOutMEPClient.engageModule(InOutMEPClient.java:307) > > at > > > userguide.clients.ClientForWebServiceWithModule.main(ClientForWebServiceWithModule.java:41) > > > > I tried debugging and it looks like it is picking > up > > the correct axis2.xml. > > > > Can you please let me know how you got the client > > running? > > > > Thanks and Regards, > > Navin > > > > --- "Shahi, Ashutosh" <[EMAIL PROTECTED]> > wrote: > > > >> > >> Hi Suvanam, > >> The way to do it is: use the call() constructor > >> which takes the client repository as parameter > and > >> then call, call.engageModule(moduleName). The > client > >> repository should contain the archive file(.mar) > >> containing module and handlers. > >> > >> Thanks, > >> Ashutosh > >> > >> -----Original Message----- > >> From: SUVANAN DUTTA [mailto:[EMAIL PROTECTED] > >> Sent: Wed 7/27/2005 11:13 PM > >> To: [email protected] > >> Cc: > >> Subject: [Axis2] Question about Handlers > >> Hi, > >> I was looking at the AXIS2 samples and found out > the > >> LoggingModule sample which illustrates the way to > >> write a custom handler. The samples tells me how > to > >> deploy the module on AXIS2. > >> > >> Now, how do I point to and use the same Logging > >> Module > >> from client side? > >> > >> Can someone pl. let me know. > >> > >> Thanks, > >> - Suvanan. > >> > >> > __________________________________________________ > >> Do You Yahoo!? > >> Tired of spam? Yahoo! Mail has the best spam > >> protection around > >> http://mail.yahoo.com > >> > >> > >> > >> > >> > > > > > > > > > > > ____________________________________________________ > > Start your day with Yahoo! - make it your home > page > > http://www.yahoo.com/r/hs > > > > > > > > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
