Как вы создаете объект ServiceGate после обращения к сервисам ServiceGate.asmx? - PullRequest
0 голосов
/ 20 мая 2019

Я пытаюсь получить пример кода из файлов справки Настройщика, работающих так, как показано в этой ссылке.https://help -2017r2.acumatica.com / Wiki / ShowWiki.aspx? Pageid = f7e0f5e0-48c2-4675-a5ed-7a36433a3d48 # Sec0 Я добавил ссылку на службу для служб ServiceGate.asmx, но строкичтобы клиент не ссылался ни на что, и я пытаюсь выяснить, как создать экземпляр этого объекта.

        //The reference is named ServiceGate but this reference does not contain
        //any class definition for a ServiceGate. We do find methods for Publish Package
        //as well as other Continuous integration tools but nothing that seems to have
        //a signature with Url, CookieContainer, and Timeout that is depicted in the
        //acumatica sample.
        var client = new ServiceGate.ServiceGate
        {
            Url = webserviceurl,
            CookieContainer = new CookieContainer(),
            Timeout = (int)TimeSpan.FromMinutes(5).TotalMilliseconds
        };

Кто-нибудь знает, что я пропустил?Заранее спасибо!Роберт

...