I am facing a problem in using the webservices functions.
I have added a web services in my project and it working fine, but when i closed the project and opened it again, its give me that the webservice is undefined. but when uploading the page to the server is working fine with no problem.
If the application and websrevice in the same solution you find this problem.
Second if webservice in you local PC and you taking url through localhost then the same problem will accur.
Try to publich the webservice in separte folder and configure the folder in IIS then add the webservice to your application with using IP address from that folder like 192.168.1.1/Webservice/abc.asxm.
Farrukh Abbas
~Please Mark As Answer, if one or multiple posts, which helped you in your problem. So that it might be useful for others~
Moayyad.Fari...
Member
58 Points
29 Posts
webservices problem
Apr 10, 2012 09:36 AM|LINK
Dears,
I am facing a problem in using the webservices functions.
I have added a web services in my project and it working fine, but when i closed the project and opened it again, its give me that the webservice is undefined. but when uploading the page to the server is working fine with no problem.
Please advise.
Regards,
Moayyad
morefays
Participant
1125 Points
235 Posts
Re: webservices problem
Apr 10, 2012 10:18 AM|LINK
If the application and websrevice in the same solution you find this problem.
Second if webservice in you local PC and you taking url through localhost then the same problem will accur.
Try to publich the webservice in separte folder and configure the folder in IIS then add the webservice to your application with using IP address from that folder like 192.168.1.1/Webservice/abc.asxm.
~Please Mark As Answer, if one or multiple posts, which helped you in your problem. So that it might be useful for others~
dotnetfarrukhabbasblogspot
Moayyad.Fari...
Member
58 Points
29 Posts
Re: webservices problem
Apr 10, 2012 10:36 AM|LINK
Dear,
the webservices is hosted outside my server.