I am no Axis2/C pro, and I don't have an answer to your first Q, but I
believe the answer to the second question is:
Do the initial connection to the database in the
service's axis2_get_instance() function and then cleanup
in axis2_remove_instance().  I am using SQLite and this is where I
call sqlite3_initialize() and sqlite3_shutdown(), respectfully.  It works
for me;)

Sam

On Sun, Oct 11, 2009 at 12:29 PM, Jose M Medina V <
jose_med...@wesamconsulting.com> wrote:

> I am using Axis2/C for a few weeks and I think this is an incredible tool,
> but I’m still a newbie in web services world and an axis environment.
>
> So I have a couple of questions and I appreciate any help that anyone could
> give to me.
>
> There are some of the questions:
> 1. It is possible use simple XML as a message in axis2c? If it possible
> could send me an example?
> 2. If I need run some operation in a PostgreSQL database from the web
> service, I have to connect and disconnect to the database every time that
> the web service is called?
>
> Thanks in advance and apologize for my bad English.
>
> ------------------------------------------------------------
> José M. Medina V.
> Wesam Consulting
> jose_med...@wesamconsulting.com
> Mobile: +58(416)613-3302 +58(414)019-0580
> Ofc:     +58(212)959-4155 Ext. 204
> BB pin: 31E562BF
> Caracas - Venezuela
>
>
>
>
>
>
>

Reply via email to