vs2005 consuming web service, adding web reference ?

O

only_me

I'm experimenting with web services in vs2005, but the instruction material
I have to refer is based on vs2003. ( I'm OK with ASP but new to .NET)

Problem is as follows, Create a new web service ( via File|New web site),
add in a simple new service based on hello world sample - just 3,4 lines,
This compiles OK, once built clicking on the .asmx file brings up the
"Service" info page with the 2 services listed, clicking on those links
offers the Test etc etc - so I think that is all ok

Now create a simple web form app, and attempt to add a web reference, but
clicking on the "web services on the local machine" shows other services but
not my test one

My training material also shows adding web reference by typing in the full
url to the .disco file in the Add Reference window, but there is no such
file/ file type in the web service project ( but is in 2003 training
materials)

Can any one cast any light on the problem, and help me consume this stuff

TIA
 
O

only_me

Ok thanks Think I'm sorted now, the wizard allowed me to 'create' the web
service in the file system rather than in http, so although it seemd to work
when run on its own, it wasn't able to advertise itself to any consumers
Not sure why creating in the file system is a sensible option to offer ( but
then I'm just starting out here)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top