PDA

View Full Version : Getting started with asp.net


ebe
22-01-09, 14:33
I need some help as I seem to be falling at the first hurdle here. When using wsdl services in Visual Studio 2005 the process is that you add a web reference, supply the url to the wsdl and away you go.

However when I navigate to

http://api.productserve.com/v2/ProductServeService?wsdl

in IE then rather than getting the usual WSDL xml in the browser I am prompted to download the file (an issue with the MIME type?). If I add a web reference to Visual Studio (I am using 2005) and supply it with that URL the same thing happens and I get the "download file" prompt, whereas usually you will get a list of all the web methods etc offered.

Could someone give me some pointers on how you at least get the web reference added to Visual Studio?

J0N3S3Y
31-01-09, 23:12
Right click your solution in Solution Explorer and do "Add Web Reference" although you've said you're doing this already...

I'm not sure why you're accessing it in IE.

What are you actually trying to do?

J0N3S3Y
01-02-09, 21:17
Although good luck getting this to work in asp.net with c# or vb if you do let me know as ive given up

J0N3S3Y
04-02-09, 18:08
ebe,

Check your PM's

ebe
10-02-09, 11:51
Right click your solution in Solution Explorer and do "Add Web Reference" although you've said you're doing this already...

I'm not sure why you're accessing it in IE.

What are you actually trying to do?

I was accessing it in IE just as a control experiment. When adding a web reference via visual studio is is using the same web browser object that your IE application uses so I was just checking that it fails the same in both and is an issue with how the wsdl is being returned.

Thanks for the PM from you and someone else too, I now have something I think I can go forward with.