Link to home
Create AccountLog in
Avatar of kishan66
kishan66Flag for United States of America

asked on

Error creating instance for Web Service referece in ASP.Net 3.5 C#

Hi,
----Trying to learn Web Services----

Unable to create instance of the WebService reference in ASP.Net 3.5 using  VS2010.

- Added web reference successfully to my Project -> References-> WebReference ->  example:- "http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?wsdl".
                   "com.cdyne.ws" is the name of my reference.
- in my project file default.cs
  com.cdyne.ws myws = new com.cdyne.ws();     -> error
   " ...is a namespace but used like type"

pls let me know if i'm missing any thing.

Thanks



 
ASKER CERTIFIED SOLUTION
Avatar of strickdd
strickdd
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.