Give the repository path, the first parameter of
ConfigurationContextFactory.createConfigurationContextFromFileSystem
("/home/user/axis2-1.3/repository", axix2.xml_location); Then it will pickup
the addressing.mar from the repository_location/modules which is
addressing-1.3.mar.Or if you are not using addressing then you can remove the addressing module from engaging by removing the <module ref="addressing"/> in the axis2.xml Upul On Mon, Mar 17, 2008 at 1:05 PM, westpine <[EMAIL PROTECTED]> wrote: > > Ok! One step closer :) But still does not work > I get axis2.xml (without any changes yet) from conf and got this error: > "Login error: The system is attempting to engage a module that is not > available: addressing" > > This what i've done: > > ConfigurationContext context = > ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, > "C:\\axis2.xml"); > ews = new ExchangeWebService(context, url_str); > > What could be a source of error? > > > > > Upul Godage wrote: > > > > You can get a copy of the default, let's say the conf/axis2.xml, and > > change > > the http sender entry and do other customizations. For example if you > do > > not need other listeners or senders other than http you can remove those > > entries. > > > > Upul > > > > On Mon, Mar 17, 2008 at 11:59 AM, westpine <[EMAIL PROTECTED]> wrote: > > > >> > >> Thaks! One more question. I know that axis2.xml could be linked by its > >> path > >> in service constructor (if using, like I do, generated stubs). But I > know > >> only this part of it, related to transport sender. But I need whole > file. > >> Where I can get it or what else parameters (besides transport sender) > I > >> have to include in it to make it valid? > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Custom-HTTP-transport-setting-tp16047723p16089132.html > >> Sent from the Axis - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Custom-HTTP-transport-setting-tp16047723p16089630.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
