Skip to content

Commit

Permalink
Update gSOAP 2.7.10 (2008) to 2.8.135 (2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
0blu committed Aug 26, 2024
1 parent 7934be2 commit 5c904e9
Show file tree
Hide file tree
Showing 8 changed files with 21,014 additions and 9,931 deletions.
37 changes: 37 additions & 0 deletions dep/gsoap/README.md
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 .
```
1 change: 1 addition & 0 deletions dep/gsoap/gsoap.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
int ns1__executeCommand(char* command, char** result);
Loading

0 comments on commit 5c904e9

Please sign in to comment.