I have used like this for engaging rampart module in the client side ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(cli ent_ _path, client_path + "/conf/axis2.xml");
AxisConfiguration conf = ctx.getAxisConfiguration(); ServiceStub stub = new ServiceStub(ctx,"EPR URL"); In the axis2.xml, I have the entry to refer the addressing or any other module. Krishna -----Original Message----- From: shantanu chawla [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:58 PM To: [email protected] Subject: Re: setting wsa:messageId in a Axis2 1.1.1 service How did u engage / disengage ws-addressing in the client code generated by axis2 Shantanu On 4/18/07, Erwin Reinhoud <[EMAIL PROTECTED]> wrote: > Dear users, > > I have generated both client and service based on a wsdl. I use ws-addressing and can set these in the client by use of the ServiceClient, but how do i do the same for the service? I let Axis2 generate a skeleton service, but see no way to add wsa header info there. Is the only solution to write you own service? > > Thanks in advance. > > Kind regards, > > Erwin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Graduate Student Department of Computer Science, San Diego State University --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
