Example #1
0
        public SOAPManager
        (
            ref ServiceHost host,
            SOAPServerType soap_server,
            Uri ServiceURL,
            String NameSpace,
            ServiceBindingType bindType,
            Type serviceType,
            Type InterfaceType,
            deleErrReporter errReporter)
        {
            this.errReporter = errReporter;
            switch (soap_server)
            {
            case SOAPServerType.winform:
                SOAPFactory = new soap_WinFormFactory(ref host, ServiceURL, NameSpace, serviceType, InterfaceType, bindType, new deleErrReporter(ThrowErr));
                break;

            case SOAPServerType.WAS:
                break;

            case SOAPServerType.iis:
                break;

            default:
                break;
            }
        }
Example #2
0
 public SOAPManager(
     ref ServiceHost host,
     SOAPServerType soap_server,
     Uri ServiceURL,
     String NameSpace,
     ServiceBindingType bindType,
     MessageCredentialType MessageCredentialType,
     string cerPath,
     string cerPassword,
     object service,
     deleErrReporter errReporter)
 {
     this.errReporter = errReporter;
     switch (soap_server)
     {
         case SOAPServerType.winform:
             SOAPFactory = new soap_WinFormFactory(ref host,ServiceURL, NameSpace, service, bindType, MessageCredentialType, cerPath,cerPassword,new deleErrReporter(ThrowErr));
             break;
         case SOAPServerType.WAS:
             break;
         case SOAPServerType.iis:
             break;
         default:
             break;
     }
 }
Example #3
0
        public SOAPManager
        (
            ref ServiceHost host,
            SOAPServerType soap_server,
            Uri ServiceURL,
            String NameSpace,
            ServiceBindingType bindType,
            MessageCredentialType MessageCredentialType,
            string cerPath,
            string cerPassword,
            object service,
            deleErrReporter errReporter)
        {
            this.errReporter = errReporter;
            switch (soap_server)
            {
            case SOAPServerType.winform:
                SOAPFactory = new soap_WinFormFactory(ref host, ServiceURL, NameSpace, service, bindType, MessageCredentialType, cerPath, cerPassword, new deleErrReporter(ThrowErr));
                break;

            case SOAPServerType.WAS:
                break;

            case SOAPServerType.iis:
                break;

            default:
                break;
            }
        }
Example #4
0
 public SOAPManager(
     ref ServiceHost host,
     SOAPServerType soap_server,
     Uri ServiceURL,
     String NameSpace,
     ServiceBindingType bindType, 
     Type serviceType, 
     Type InterfaceType,
     deleErrReporter errReporter)
 {
     this.errReporter = errReporter;
     switch (soap_server)
     {
         case SOAPServerType.winform:
             SOAPFactory = new soap_WinFormFactory(ref host,ServiceURL,NameSpace,serviceType,InterfaceType,bindType,new deleErrReporter(ThrowErr));
             break;
         case SOAPServerType.WAS:
             break;
         case SOAPServerType.iis:
             break;
         default:
             break;
     }
 }