Home > Constructing SOAP with C++ and gSOAP 2.7.9e for Linux > Preparing the Linux Development Environment
tar xvfz gsoap_linux_2.7.9e.tar.gz
gSOAP
directory
created in the previous step, create these items with the appropriate
command:
Item | Description | Command: |
---|---|---|
client |
Directory for the client-related files (Makefile and sample.cpp ) |
mkdir client |
gsoap |
Symbolic link to your gSOAP directory | ln -s <gsoap_path> gsoap where <gsoap_path> is
the path to the gSOAP directory that you created
in Step 2. |
gsoap/stdsoap2.cpp
file, find
the following calls:
ASN1_item_d2i
(occurs once)
meth-d2i
(occurs
twice)
&data
)
as const unsigned char **.
The calls should now read:
ext_data
= ASN1_item_d2i(NULL, (const unsigned char **) &data ...
ext_data
= meth->d2i(NULL, (const unsigned char **) &data ...
gsoap/plugin/wsseapi.c
file,
find cert = d2i_X509
.const
to the second argument’s cast
as follows:
cert = d2i_X509(NULL, (const unsigned char**)&data,
size);
Revision