-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gSOAP
2.7.10
(2008) to 2.8.135
(2024)
- Loading branch information
Showing
8 changed files
with
21,014 additions
and
9,931 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# gSOAP | ||
SOAP is an older protocol that communicates over HTTP. | ||
For MaNGOS it is used to execute commands on the world server. | ||
|
||
## How to update this | ||
|
||
Download the latest [gSOAP Toolkit Files](https://sourceforge.net/projects/gsoap2/files/) | ||
|
||
### Windows | ||
1. Open a terminal in this folder | ||
2. Execute `<gsoap-dir>/gsoap/bin/win64/soapcpp2.exe -1 -S -L -w -x -y -c++11 gsoap.stub` | ||
3. Remove `ns1.nsmap` | ||
4. Copy `<gsoap-dir>/gsoap/stdsoap2.h` | ||
5. Copy `<gsoap-dir>/gsoap/stdsoap2.cpp` | ||
|
||
### Linux | ||
<details> | ||
<summary>Build gSOAP on Ubuntu</summary> | ||
|
||
``` | ||
unzip gsoap_2.8.135.zip | ||
cd gsoap-2.8 | ||
apt install yacc flex libbison-dev | ||
./configure | ||
./makemake | ||
make | ||
``` | ||
|
||
</details> | ||
|
||
``` | ||
cd <this-folder-in-mangos> | ||
<gsoap-dir>/gsoap/src/soapcpp2 -1 -S -L -w -x -y -c++11 gsoap.stub | ||
rm ns1.nsmap | ||
cp <gsoap-dir>/gsoap/stdsoap2.h . | ||
cp <gsoap-dir>/gsoap/stdsoap2.cpp . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
int ns1__executeCommand(char* command, char** result); |
Oops, something went wrong.