<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Problem with authentication on client (Thread)</title><description>&#xD;
Hello!&#xD;
&#xD;
    We have now started to implement our solution and have encountered a slight problem.     We are trying to test our connection to ST through a web service and a client. We have added a web reference to our server and have started the web service through the wizard.  After that we used svcutil to create a client, but we encounter problems with the authentication.       using System;         using System.Net;    using System.Web.Services;    using System.Web.Services.Protocols;    using System.ServiceModel;         namespace ConsoleApplication1    {        public class SpiraTeam        {            public static void report()             {                     ImportExportClient client = new ImportExportClient("BasicHttpBinding_IImportExport");                client.Endpoint.Address = new EndpointAddress("http://sesdw080041.masystem.net/SpiraTeamUtb/Services/v4_0/ImportExport.svc");                                BasicHttpBinding httpBinding = (BasicHttpBinding)client.Endpoint.Binding;                httpBinding.AllowCookies = true;                httpBinding.Security.Mode = BasicHttpSecurityMode.None;                     client.Connection_Authenticate("user", "password");                client.Close();                 }        }    }          That is the code we use. And we get the error that says: "Error in deserializing body of reply message for operation 'Connection_Authenticate'."    Anyone got any idea on how to solve this?         User and password is of course replaced with correct credentials.         BR    John Lunde Flennmark    Consafe Logistics  </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/730.aspx</link><item><guid isPermaLink="false">threadId=730</guid><author>John Lunde Flennmark (john.lundeflenmark@se.consafelogistics.com)</author><title>Problem with authentication on client</title><description>&#xD;
Hello!&#xD;
&#xD;
    We have now started to implement our solution and have encountered a slight problem.     We are trying to test our connection to ST through a web service and a client. We have added a web reference to our server and have started the web service through the wizard.  After that we used svcutil to create a client, but we encounter problems with the authentication.       using System;         using System.Net;    using System.Web.Services;    using System.Web.Services.Protocols;    using System.ServiceModel;         namespace ConsoleApplication1    {        public class SpiraTeam        {            public static void report()             {                     ImportExportClient client = new ImportExportClient("BasicHttpBinding_IImportExport");                client.Endpoint.Address = new EndpointAddress("http://sesdw080041.masystem.net/SpiraTeamUtb/Services/v4_0/ImportExport.svc");                                BasicHttpBinding httpBinding = (BasicHttpBinding)client.Endpoint.Binding;                httpBinding.AllowCookies = true;                httpBinding.Security.Mode = BasicHttpSecurityMode.None;                     client.Connection_Authenticate("user", "password");                client.Close();                 }        }    }          That is the code we use. And we get the error that says: "Error in deserializing body of reply message for operation 'Connection_Authenticate'."    Anyone got any idea on how to solve this?         User and password is of course replaced with correct credentials.         BR    John Lunde Flennmark    Consafe Logistics  </description><pubDate>Wed, 09 Oct 2013 09:21:16 -0400</pubDate><a10:updated>2013-10-09T09:35:28-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/730.aspx</link></item><item><guid isPermaLink="false">messageId=1325</guid><author>John Lunde Flennmark (john.lundeflenmark@se.consafelogistics.com)</author><title>&#xD;
Nevermind. Solved it.&#xD;
&#xD;
    Thanks anyway.     Edited the configuration for SOAP. </title><description>&#xD;
Nevermind. Solved it.&#xD;
&#xD;
    Thanks anyway.     Edited the configuration for SOAP. </description><pubDate>Wed, 09 Oct 2013 09:35:10 -0400</pubDate><a10:updated>2013-10-09T09:35:10-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/730.aspx#reply1325</link></item><item><guid isPermaLink="false">messageId=1326</guid><author>John Lunde Flennmark (john.lundeflenmark@se.consafelogistics.com)</author><title>&#xD;
 http://stackoverflow.com/questions/7996931/c-sharp-soap-error-in-deserializing-body-of-reply-mess</title><description>&#xD;
 http://stackoverflow.com/questions/7996931/c-sharp-soap-error-in-deserializing-body-of-reply-message-magento-api &#xD;
&#xD;
</description><pubDate>Wed, 09 Oct 2013 09:35:28 -0400</pubDate><a10:updated>2013-10-09T09:35:28-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/730.aspx#reply1326</link></item></channel></rss>