hey everyone i am using a web service in visual studios but i am having a strange problem. This is not the web service i am having a problem with but its just an example of the problem i am having. example: http://www.webservicex.net/ValidateEmail.asmx?op=IsValidEmail when i use my web service via "Invoke" (like the above) it works just fine but when i include it in my project, and plugin the same data, i get a different result. any idea what could cause that ?
Firstly what language are you writing in? Classic ASP or ASP.NET (Doesnt matter if its C# or VB.NET). What do you get if you use the test form, and then what do you get when you do it in your app? If you could post some sample code it may help us identify the issue. It sounds like you are calling the webservice in a different way from your app. Jen
its asp.net. i dont get an error or anything just a different result. well all i did was add the web ref in visual studios. then call the function Auto.Place(data,data,blah); i dont know why i would get a different result.
Check your connection strings. If you can remove the web reference from your project and add it again (make sure you are referring the exact same web service).
Your method is supposed to return only a boolean value (true/false). I tried to see if this is valid email: and it is not... why? Note that whenever you make changes in the web service file you should update the web reference (that is, right click on the folder containing the web service files and select "Update Web References" from the context menu).