chicha7k Posted September 14, 2010 Report Share Posted September 14, 2010 Hi ,i'm new to dotnet ,i have one problemsuppose [webmethod]public int add(int a,int b){return (a+b)}========>this is my methodhow do i consume in my client app. when i click add web reference =====>webservice in local machinewhen i click that it's not showing any service Quote Link to comment Share on other sites More sharing options...
manavaadu Posted September 14, 2010 Report Share Posted September 14, 2010 mama nuvvu first develop chesina web service work avuthundo leydho check cheyi. for example nee web service page test.asmx ayithey, visual studio lo test.asmx page ni right click chesi view in browser ani vasthundhi dhanni click cheyiappudu browser lo asmx page kanipisthundhi with the list of methods. Intha varaku vasthey nuvvu web service correct ga chesyinattu. then you can use this url in the visual studio add service reference to consume this web service. Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 14, 2010 Author Report Share Posted September 14, 2010 When i run the web service i can see the methods, but when i add reference in my client app it is showing errorThere was an error downloading '[url=http://localhost:4540/Service1.asmx'.]http://localhost:4540/Service1.asmx'.[/url]Unable to connect to the remote serverNo connection could be made because the target machine actively refused it 127.0.0.1:4540There was an error downloading '[url=http://localhost:4540/Service1.asmx/]http://localhost:4540/Service1.asmx/[/url]$metadata'.Unable to connect Quote Link to comment Share on other sites More sharing options...
manavaadu Posted September 14, 2010 Report Share Posted September 14, 2010 Mama web service project and consuming application okatey solution lo vunnaya mama?veelaithe nee visual studio solution explorer snapshot pampu. Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 14, 2010 Author Report Share Posted September 14, 2010 no,they are different Quote Link to comment Share on other sites More sharing options...
manavaadu Posted September 14, 2010 Report Share Posted September 14, 2010 mama I would suggest have the both projects in same solution that will remove all the complications. Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 14, 2010 Author Report Share Posted September 14, 2010 we cannot access the web service if it is in different solution, if no then how can we access if both are diff app Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 14, 2010 Author Report Share Posted September 14, 2010 how to access if they are in same solution......... Quote Link to comment Share on other sites More sharing options...
manavaadu Posted September 15, 2010 Report Share Posted September 15, 2010 Mama here is the sample demo I created [url=http://rapidshare.com/files/419107160/WebSvcDemo.rar]http://rapidshare.com/files/419107160/WebSvcDemo.rar[/url] Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 15, 2010 Author Report Share Posted September 15, 2010 kaka, while adding web reference ,i'm getting this errorThere was an error downloading '[url=http://localhost:4540/Service1.asmx'.]http://localhost:4540/Service1.asmx'.[/url]Unable to connect to the remote serverNo connection could be made because the target machine actively refused it 127.0.0.1:4540There was an error downloading '[url=http://localhost:4540/Service1.asmx/]http://localhost:4540/Service1.asmx/[/url]$metadata'.Unable to connect Quote Link to comment Share on other sites More sharing options...
manavaadu Posted September 15, 2010 Report Share Posted September 15, 2010 Mama, More likely you are getting that error because your web service is not running when your consuming application is running. You have to have both the apps running simultaneously. If required you can open two instances of visual studio one for each project. If you are still getting this error then give me your teamviewer credentials I will login into your system and will have a look at it. Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 15, 2010 Author Report Share Posted September 15, 2010 v.v thanks mam,now it's working..........when i opened two instances of vs.net then it's working, so always we should have the webservice running........can we do without opening two instances of vs.net if so how to do it Quote Link to comment Share on other sites More sharing options...
chicha7k Posted September 15, 2010 Author Report Share Posted September 15, 2010 hi mamjust now my marketing is started......in my resume i have this projectWells Fargo is the oldest and largest financial institution headquartered in California. It is a diversified financial services company, providing banking, insurance, investments, mortgage and consumer finance across North American and internationally. [b]Responsibilities: [/b] Analyzing the Requirement Specification documents and Copy documents for effective designing and coding Worked on n-tier architecture for building efficient applications Developed the request and response objects in XML with the help of XSDs and wsdl files, which were subsequently used in the User Interface and Host Integration modules Developed modules such as Internal Payments, User Administration, Password Reset, Transfer Funds and Alerts for the User Interface using ASP.NET and C#.NET Designed tables and created stored procedures in SQL Server. Created SSIS package to export and import data from SQL Server to Access, text and EXCEL files Created queries for generating drill down reports in SSRS 2005. Worked on Cascading Style Sheets (CSS) for designing layouts for Web pages Made extensive use of JavaScript in implementing various functionalities on the client side for the User Interface. Involved in development of custom authentication for Web Services Implemented web pages with AJAX for partial rendering of pages Developed test cases for both User Interface and Host Integration modules Involved in Unit testing and Integration testing with Nunit.Environment: ASP.NET, C#, ADO.NET, AJAX, SOAP, WSDL, UDDI, Java Script, XML, HTML, CSS, TFS, VSS, IIS6, Visual Studio 2008, SQL Server 2005, Microsoft Visio, Windows 2003 Server, and Web Serviceshow to explain about this project to the vendor or clients........please reply me mam......urgent Quote Link to comment Share on other sites More sharing options...
manavaadu Posted September 15, 2010 Report Share Posted September 15, 2010 Mama tell that you have designed and developed a web application(ASP.NET) that is related to banks like mortgage application, promotion evaluation application etc.In addition to development of the web application, tell that you did some production support work like generating some excel reports from sql server by creating SSIS packages etcmee consultant vaadu proxy call ki yevarini arrange cheyaleydha mama? .NET training provide cheysaada? Quote Link to comment Share on other sites More sharing options...
[email protected] Posted July 29, 2011 Report Share Posted July 29, 2011 Hi,,Is there anyone who can help me with a interview call on .net?Thank you!! Quote Link to comment Share on other sites More sharing options...
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.