Implementation of SOAP API

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
jcordes74
Posts: 8
Joined: 24 Jun 2022, 20:01

Implementation of SOAP API

Post by jcordes74 »

In the Admin Guide, section 4.1, it says that SOAP API can be used to generate tickets automatically. Then in the Developers Guide, section 7, it says very little how to use it the SOAP API to do this task. I don't know how to get started to generate tickets automatically.
Things I've tried:
- I downloaded https://search.maven.org/search?q=g:biz ... are.mantis but not sure what to do from there
- Tried visiting https://[SERVER_NAME].com/mantis/api/soap/mantisconnect.php and it wasn't avaliable. I tried reaching it via the web interface but I don't think that is possible.
- Tried searching for it in the forums hoping someone else couldn't figure it out either...appears it's just me that's struggling with this though :oops:

Anything someone can offer to help would be appreciated.
rfeldbauer
Posts: 10
Joined: 21 Jul 2021, 22:03

Re: Implementation of SOAP API

Post by rfeldbauer »

Since the Developer's Guide says that the SOAP API is deprecated, I'm thinking you won't have a lot of luck finding information.
The Dev Guide mentions the url https://server.com/mantis/api/soap/mantisconnect.php (which is a dead link). However, I Googled mantis/api/soap/mantisconnect.php and found some old stuff here:
https://www.mantisbt.org/docs/master-1. ... .soap.html

Hope that helps.
Maybe you can use the REST API instead.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Implementation of SOAP API

Post by atrol »

server.com has to be replaced by your own server in the URL
To get the WSDL you can use ?wsdl in URL, .e.g. https://www.mantisbt.org/bugs/api/soap/ ... t.php?wsdl

Using the REST API is certainly the better option when starting with something new.
Please use Search before posting and read the Manual
Post Reply