2
Answers

Consume webservice with dot net application

I want to consume webservice which take class as input parameter . I am unable to do so .
want to call computepremium method


 [DesignerCategory("code")]
    [WebServiceBinding(Name = "BasicHttpBinding_IPremimumCalculatorService", Namespace = "http://tempuri.org/")]
    [GeneratedCode("System.Web.Services", "4.0.30319.17929")]
    [DebuggerStepThrough]
    public class PremiumCalculatorService : SoapHttpClientProtocol
    {
        

    
        [SoapDocumentMethod("http://www.apollomunichinsurance.com/B2BService/IPremimumCalculatorService/ComputePremium", RequestNamespace = "http://www.apollomunichinsurance.com/B2BService", ResponseNamespace = "http://www.apollomunichinsurance.com/B2BService", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public Client[] ComputePremium(PremiumCalculatorRequest premiumCalculatorRequest);
         
    }
Answers (2)