Angle,
There are two possible angles.
One is what Deepal just descried. This way your Confgiurator implementation
will do all the work.
This is complex and will take time.
Another and perhaps more simple way of doing it is once u have got the
relevent data from your third party source, then u can create services
programaticaly using the following code.
ConfigurationContext ctx =
ConfgiurationContextFactory.createConfigurationContextFromFileSystem(null,
null);
AxisService service = AxisService.createService("GreetingService.class",
ctx.getAxisConfiguration(),
RPCMessageReceiver.class);
ctx.getAxisConfiguration().addService(service);
Regards,
Rajith
On 1/19/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Angel;
You can deploy services programatically very easily in Axis2 , what you
need to do is write your own AxisConfigurator and create then call
ConfigurationContextFactory.createConfigurationContext(
AxisConfigurator axisConfigurator);
Thanks
Deepal
>
>
> I saw that there is no way to deploy a service programmatically in
> Axis2. Is that the case? Only building the AxisService object instance
> is possible through the buildService method of the deploymentEngine,
> but this doesn't help much. The doDeploy() method checks an array of
> WSArchives , which are loaded through ArchiveFileData.
>
> I am more interested in deploying a service without having any AAR
> archive on the file system, but some other repository (a third party
> app or a database for instance).
>
> Thanks for the feedback.
>
> Best Regards,
> Angel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]