Create a new ConfigurationContext  with the repo and file path:
ConfigurationContext  configurationContext = ConfigurationContextFactory.
         createConfigurationContextFromFileSystem(repo, axis2_xml);

Then use it either in the generated stub or when creating ServiceClient.

thanks,
dims

On 8/1/06, Jones, Alan R <[EMAIL PROTECTED]> wrote:

Hi All,

I am of course trying to understand Axis2 stuff,  and there's a little
thing I am missing somewhere...if I have a client that I would like to
have referencing an axis2.xml descriptor, in a client repository, how do
I point the client to reference that particular file? In the Rampart
security example they use a command line in the ant build file
("Daxis2.xml=client_repo/conf/axis2.xml") but is there a way for my
client code to know which axis2.xml file to use, say in the Client API?
Thanks in advance













Thanks,

Alan J




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to