示例#1
0
        public static Response CreateFault(ISoap12EnvelopeBuilder envelopeBuilder)
        {
            if (envelopeBuilder == null)
            {
                throw new ArgumentNullException(nameof(envelopeBuilder));
            }

            return(CreateFault(envelopeBuilder.Build()));
        }
示例#2
0
        public static Response Create(ISoap12EnvelopeBuilder envelopeBuilder, HttpStatusCode httpStatusCode)
        {
            if (envelopeBuilder == null)
            {
                throw new ArgumentNullException(nameof(envelopeBuilder));
            }

            return(Create(envelopeBuilder.Build(), httpStatusCode));
        }