kishan66
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
----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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.