You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by ki...@utoronto.ca on 2004/07/02 20:58:33 UTC
MySQL problem
Hi all,
I have a few questions.
1. I am trying to use mysql for the database of my web services deployed with
Axis C++. I am not sure exactly how could this be done. Has anyone tried to do
this before? How can I make mysql working with axis C++?
2. Is it possible to deploy web services over SSL ? If so, how could I
possibly do it?
3. XSD__string corresponding to char[] in C++?
Once again, I really would like to thank you for reading this email, and
please help out if you happen to know the answer. thanks a lot,
Kim
RE: MySQL problem
Posted by Susantha Kumara <su...@opensource.lk>.
> -----Original Message-----
> From: kim.hsieh@utoronto.ca [mailto:kim.hsieh@utoronto.ca]
> Sent: Saturday, July 03, 2004 12:59 AM
> To: 'Apache AXIS C User List'
> Subject: MySQL problem
>
> Hi all,
>
> I have a few questions.
>
> 1. I am trying to use mysql for the database of my web services
deployed
> with
> Axis C++. I am not sure exactly how could this be done. Has anyone
tried
> to do
> this before? How can I make mysql working with axis C++?
First you have to use the WSDL2Ws tool to generate the server side
skeletons. The tool will generate source files with function prototypes
for each operation in the WSDL.
For example see Calculator sample. The Skeletons are Calculator.h and
Calculator.cpp
Then inside these skeletons you can add your business logic to
read/write to mysql database. You can freely add methods/variables to
these skeletons. Only thing is that you SHOULD NOT alter the generated
Wrapper source files (with "Wrapper" appended) and the file with
"Service" appended.
>
> 2. Is it possible to deploy web services over SSL ? If so, how could
I
> possibly do it?
No this facility is not implemented yet.
>
> 3. XSD__string corresponding to char[] in C++?
xsd__string is a typedef for char*
>
> Once again, I really would like to thank you for reading this email,
and
> please help out if you happen to know the answer. thanks a lot,
>
>
> Kim