What does it look for in classpath? How can I build the config Context from the class path? Can you point me to any article about this on WSO2.org?
If my client is running on a different machine than the server, how can i get the context config to create the service client? Should I use ConfigurationContext myConfigContext = ConfigurationContextFactory.createConfigurationContextFromURIs( "http://xyz.com/axis2/axis2.xml" , "http://xyz.com/axis2repo") Or is there any other way ? On 22 March 2010 10:30, Deepal jayasinghe <deep...@gmail.com> wrote: > When you create an instance of Stub you can either pass your > configuration context, if not stub creates a default configuration > context using values in the class path and use that as the configuration > context. > > -Deepal > > If I create a ServiceClient using a stub generated from WSDL, like > > > > ServiceClient client = CustomServiceStub._getserviceclient(); > > > > How does the created 'client' know about its ConfigurationContext? Is > > the context config information extracted from the stub classes ? > > > > > > > > -- > > Sri Harsha Yenuganti > > shyenuga...@gmail.com <mailto:shyenuga...@gmail.com> > > > > " IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO > > SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. " > > > > > > > -- > "If we knew what it was we were doing, it would not be called research, > would it?" - Albert Einstein > > > http://blogs.deepal.org > http://deepal.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- Sri Harsha Yenuganti shyenuga...@gmail.com " IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "