.NET integration with MantisConnector

Get help from other users here.

Moderators: Contributor, Developer

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

.NET integration with MantisConnector

Post by azheanda » Sep 27, 2018 3:37 pm

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: Sep 27, 2018 3:05 pm

Re: .NET integration with MantisConnector

Post by azheanda » Sep 28, 2018 1:46 pm

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