ranjith shetty

ranjith shetty

  • NA
  • 291
  • 1.7k

Consume webservice with dot net application

Dec 12 2014 7:18 AM
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)