You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Shah, Sumit" <su...@cgi.com> on 2008/06/06 20:43:05 UTC

Generating Axis2 descriptor files

All,

 

I have a requirement that needs me to programmatically (JAVA) generate
the Axis2 descriptor files (axis2.xml, services.xml and modules.xml). I
tried looking for APIs in the Axis2 source documentation, but I was
unable to find it. 

 

Is anyone aware of APIs within (or outside) Axis2 source that will let
me generate the descriptor files?

 

Thanks

Sumit


Re: Generating Axis2 descriptor files

Posted by Afkham Azeez <af...@gmail.com>.
AFAIK, there are no tools that generate the axis2.xml & module.xml files.
However, in WSAS (http://wso2.org/projects/wsas/java), you can serialize an
AxisService to disk, at which point, the services.xml file will be
generated. So you can simply deploy your service as a POJO (in a simple jar
file), and then use the "Create Service Archive" feature to generate the
.aar file which will contain a services.xml file.

Azeez

On Sat, Jun 7, 2008 at 12:13 AM, Shah, Sumit <su...@cgi.com> wrote:

>  All,
>
>
>
> I have a requirement that needs me to programmatically (JAVA) generate the
> Axis2 descriptor files (axis2.xml, services.xml and modules.xml). I tried
> looking for APIs in the Axis2 source documentation, but I was unable to find
> it.
>
>
>
> Is anyone aware of APIs within (or outside) Axis2 source that will let me
> generate the descriptor files?
>
>
>
> Thanks
>
> Sumit
>



-- 
Thanks
Afkham Azeez

http://afkham.org
http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760