QueryService.asmx authentication added for 15.2.5? How does it work?

The IQA web service http://localhost/imis15/AsiCommon/Services/Query/QueryService.asmx as a 2.0 web reference. I know we have a new what to this with the main SOA service.   But we should not break the old one as it breaks everyone’s code that uses t.

 

Code is simple

localhost.QueryService iqaWeb = new localhost.QueryService();

        this.Label1.Text = iqaWeb.GetResults("$/Common/Queries/Search/Contact/All");

 

Here is the error.  Anyone know how to  add authentication?

 

Server Error in '/Membership' Application.

--------------------------------------------------------------------------------

 

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: You must authenticate with the web service before you can use Query Service.

  at Asi.Web.Services.Query.QueryService.GetResultsWithParameters(String queryPath, String parameters)

  at Asi.Web.Services.Query.QueryService.GetResults(String queryPath)

  --- End of inner exception stack trace ---

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: You must authenticate with the web service before you can use Query Service.

  at Asi.Web.Services.Query.QueryService.GetResultsWithParameters(String queryPath, String parameters)

  at Asi.Web.Services.Query.QueryService.GetResults(String queryPath)