.NET integration with MantisConnector

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
azheanda
Posts: 2
Joined: 27 Sep 2018, 20:05

.NET integration with MantisConnector

Post by azheanda »

I'm trying to consume the SOAP services exposed by "http://.../api/soap/mantisconnect.php?wsdl" with .NET framework. I added it to the service reference of a console application. But with different experimentation, it always came back with timeout exception. Any suggestion?

Code: Select all

class Program
{
       static void Main(string[] args)
        {
            using (var client = new MantisConnectPortTypeClient())
            {
                client.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://mantis.***.com/api/soap/mantisconnect.php");
                Console.WriteLine(client.mc_version());
            }
                
        }
    }
azheanda
Posts: 2
Joined: 27 Sep 2018, 20:05

Re: .NET integration with MantisConnector

Post by azheanda »

I tried with "https://www.mantisbt.org/bugs/api/soap/ ... onnect.php" and it worked. Some configuration may be off at our internal Mantis site. Maybe it's because our internal one isn't using secure connection?
Post Reply