Web Services - c# application
-
Hi :) I have a functional web service. It's very simple - like adds two numbers. then when i want to use it in a c# application, i know i should add it as a web reference.. In all the examples i have seen, the Solution Explorer shows many other files under the new web reference. but when i add mine, it just shows the name of the reference. Is this a problem? Cuz i cant get the application to find the service when i try specify it with USING ... ? Please help! Thanks
-
Hi :) I have a functional web service. It's very simple - like adds two numbers. then when i want to use it in a c# application, i know i should add it as a web reference.. In all the examples i have seen, the Solution Explorer shows many other files under the new web reference. but when i add mine, it just shows the name of the reference. Is this a problem? Cuz i cant get the application to find the service when i try specify it with USING ... ? Please help! Thanks
Hi, You can see all the files by taking the "Show All Files" option from the solution explorer. Then you can see the .WSDL , .DISCO files and all the other files. If you want to access your service reference in the "using" statemen give using XXXX.WebreferenceName; where XXXX is the namespcace of the application to which you added the reference. Guess this will help you. Thanks and Regards SGS