I got this error. That's why I can't add a reference to my project.
Asked
Active
Viewed 297 times
1
-
this link worked bt some times its broken,please use (http or not or www) – Ashekur Rahman Molla Asik Sep 05 '12 at 06:03
-
I removed the dead link. – Cœur Feb 02 '18 at 03:26
-
Possible duplicate of [Add php web service on windows phone 7 application](https://stackoverflow.com/questions/12672490/add-php-web-service-on-windows-phone-7-application) – Cœur Feb 02 '18 at 03:27
2 Answers
0
You need to have a valid WSDL for your WebService. (WSDL Documentation)
Try accessing the WebService's url with ?wsdl in the end. Example:
http://my.url.com/webServiceFile.aspx
becomes http://my.url.com/webServiceFile.aspx?wsdl
You should see something like this. If you get an error message, then the WebService you're trying to access is not valid.
EDIT: I just realised that the URL field in your screenshot was blank because you did not enter anything in there. You need to know the URL of your WebService and then insert it into that field, making sure you have ?wsdl
at the end.
It needs to be something like:
http://<your domain>.com/<WebService file>.aspx?wsdl

cassi.lup
- 1,261
- 7
- 23
-
Actually how can I access this web service from my C# form application. – Ashekur Rahman Molla Asik Sep 05 '12 at 08:48
-
Here's a good answer: http://stackoverflow.com/questions/621440/calling-asp-net-web-service-from-c-sharp-application – cassi.lup Sep 05 '12 at 08:54
-
If my answer helped, I'd really appreciate it if you +1 it or accept it. :) – cassi.lup Sep 05 '12 at 08:54