bevarse Posted June 27, 2018 Report Posted June 27, 2018 chala mandiki idi silly ga anipinchavachhu but konchem guide me ya nenu oka web application meeda working. Now I have to call a web API developed in Java. asalu adi yela consume chesukovali? aa api vaadu just credentials and url ichhadu ante. yela start avvalo konchem cheppandi Quote
futureofandhra Posted June 27, 2018 Report Posted June 27, 2018 Just now, bevarse said: chala mandiki idi silly ga anipinchavachhu but konchem guide me ya nenu oka web application meeda working. Now I have to call a web API developed in Java. asalu adi yela consume chesukovali? aa api vaadu just credentials and url ichhadu ante. yela start avvalo konchem cheppandi You just need to use get post functiions n call that url You need any code to start with?? Quote
bevarse Posted June 27, 2018 Author Report Posted June 27, 2018 2 minutes ago, futureofandhra said: You just need to use get post functiions n call that url You need any code to start with?? yes bhayya oka example or snippet please Quote
MeraBharat_Mahan Posted June 27, 2018 Report Posted June 27, 2018 that url will provide the wsdl. Add that wsdl in your c# project. and you will be able to call the methods provided. look up online for adding wsdl in VStudio Quote
Crazy_Robert Posted June 27, 2018 Report Posted June 27, 2018 16 minutes ago, bevarse said: chala mandiki idi silly ga anipinchavachhu but konchem guide me ya nenu oka web application meeda working. Now I have to call a web API developed in Java. asalu adi yela consume chesukovali? aa api vaadu just credentials and url ichhadu ante. yela start avvalo konchem cheppandi first aa wsdl IE koti pani chesthundho chudu.. dummy values tho soapUI lo try chey. apudu pani chesthe aa wsdl ni add service reference lo add chey. app.config lo neeku binding info generate avthadhi. adhi patkocchi web.config lo pareyyi... inka mee dhantlo MVC,MVVM etla vadithe atla... Business lo logic rasko.. secured services ki certificates add cheyalsi untadhi adhi kanukko.. { try { EndpointAddress remoteAddress = new EndpointAddress(Url); BasicHttpBinding binding = new BasicHttpBinding(); binding.Name = "XXXXXX"; BasicHttpSecurity security = new BasicHttpSecurity(); security.Mode = BasicHttpSecurityMode.Transport; binding.Security = security; binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate; ServiceName.ServiceClient client; System.Net.ServicePointManager.ServerCertificateValidationCallback = (object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) => true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; client = new serviceName.ServiceClient(binding, remoteAddress); // If you have any certificates client.ClientCredentials.ClientCertificate.SetCertificate(StoreLocation.LocalMachine, StoreName.My, X509FindType.FindByThumbprint, "XXXXXXXXXXXXXX"); Response = client.Method(request); } } Online lo vethuku.. manchi clear example untadhi Quote
RowdyFellow Posted June 27, 2018 Report Posted June 27, 2018 4 minutes ago, MeraBharat_Mahan said: that url will provide the wsdl. Add that wsdl in your c# project. and you will be able to call the methods provided. look up online for adding wsdl in VStudio Baa nv chepedi WEB services gurinchi.. API calling is using HTTP verbs Quote
bevarse Posted June 27, 2018 Author Report Posted June 27, 2018 url webpage lo open chesthe WSDL kaadu web form generate avutundi and expecting xml as input Quote
Crazy_Robert Posted June 27, 2018 Report Posted June 27, 2018 Just now, RowdyFellow said: Baa nv chepedi WEB services gurinchi.. API calling is using HTTP verbs nenu kuda web service e ankunna Quote
Crazy_Robert Posted June 27, 2018 Report Posted June 27, 2018 2 minutes ago, bevarse said: url webpage lo open chesthe WSDL kaadu web form generate avutundi and expecting xml as input neeku vadu icchina URL endhi WSDL kadha ? normal ga nuvvu oka service consume cheskunnavante adhi chesinodu document isthadu. . how to use ani... worst case email ayina chestharu.. instruction Quote
bevarse Posted June 27, 2018 Author Report Posted June 27, 2018 1 minute ago, Crazy_Robert said: neeku vadu icchina URL endhi WSDL kadha ? normal ga nuvvu oka service consume cheskunnavante adhi chesinodu document isthadu. . how to use ani... worst case email ayina chestharu.. instruction yeah web services aite WSDL vastundi and adi easy gane implement chesa before but never consumed API and adi kuda manaki teleyani language lo develop chesina API Here is a sample XML we are expecting ani ichharu bhayya <plan sendingApplication="My Client Application"> <email> <recipient>[email protected]</recipient> <delay>5000</delay> <subject>Some Subject</subject> <message>This is a test email.</message> </email> <page> <recipient>2223334444</recipient> <delay>15000</delay> <message>This is a test page.</message> </page> </plan> Quote
Biskot Posted June 27, 2018 Report Posted June 27, 2018 35 minutes ago, bevarse said: chala mandiki idi silly ga anipinchavachhu but konchem guide me ya nenu oka web application meeda working. Now I have to call a web API developed in Java. asalu adi yela consume chesukovali? aa api vaadu just credentials and url ichhadu ante. yela start avvalo konchem cheppandi simple ga youtube la search cheyi... chala examples untai Quote
futureofandhra Posted June 27, 2018 Report Posted June 27, 2018 37 minutes ago, bevarse said: chala mandiki idi silly ga anipinchavachhu but konchem guide me ya nenu oka web application meeda working. Now I have to call a web API developed in Java. asalu adi yela consume chesukovali? aa api vaadu just credentials and url ichhadu ante. yela start avvalo konchem cheppandi Sent pm @bevarse Quote
Crazy_Robert Posted June 27, 2018 Report Posted June 27, 2018 6 minutes ago, futureofandhra said: Sent pm @bevarse Naku kuda pampu bro .. telsukunta Quote
bevarse Posted June 27, 2018 Author Report Posted June 27, 2018 48 minutes ago, futureofandhra said: Sent pm @bevarse Thanks for the PM bhayya @Crazy_Robert neeku share chesa same PM @futureofandhra yemi anukoku I'm still confused. Quote
bevarse Posted June 27, 2018 Author Report Posted June 27, 2018 50 minutes ago, Biskot said: simple ga youtube la search cheyi... chala examples untai adedo oka link nuvve ivvu bhayya chala chusa but confusing ga vundi tappa clear ga ledu I want to pass in xml to a POST method and also the credentials supplied Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.