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 <[email protected]> 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
> > [email protected] <mailto:[email protected]>
> >
> > " 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Sri Harsha Yenuganti
[email protected]
" IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO
SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "