Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.ServiceModel;
- namespace Prognoz.HelloWorld
- {
- class Program
- {
- static void Main(string[] args)
- {
- var binding = new BasicHttpBinding();
- var endpoint = new EndpointAddress("http://vm-win2016-zbn/PPBI_App_v9.0x64/axis2/services/PP.SOM.Som?wsdl");
- var client = new SomPortTypeClient(binding, endpoint);
- var response = client.OpenMetabase(new OpenMetabase
- {
- tDef = new MbDef
- {
- id = "ZN_META"
- },
- tCreds = new UserCreds
- {
- user = new UserId
- {
- id = "PP_USER"
- },
- pass = "Qwerty1"
- }
- });
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement