Answered by:
Web services is not working

Question
-
User-133573814 posted
Hello All,
I am working in web services issue. I have web services which will do all the updates with database. I got a new enhancement to add a new update on that same web services. I have add the new update method and hosted the same. I access my web services method through proxy class. So i update my web services with all the existing method plus my new method. Then i consume my new method. So i hosted my last code and checked it. Now i face the issue that, existing method which was working is not working and new method also. Could some one help what would be the issue here. I tried all the possibility but could not trigger out the issue.
Thanks,
Venkat V
Tuesday, February 12, 2013 4:06 AM
Answers
-
User538021195 posted
This kind of error can come due to different reasons - could you please check if the URL is configured correctly - so make sure the proxy is calling the proper web service URL. For example localhost on one machine does not work from a remote machine. If you are the author of these web services, it might be simpler to make a new web service project (test) and add the reference to your client and check.
Here are some other articles that might help as well:
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, February 13, 2013 7:36 AM
All replies
-
User538021195 posted
What is the exact error? Does the new method show in the proxy class? Can you see the new method in the wdsl file - you can check by putting the URL in the web browser and see the method names there.
Tuesday, February 12, 2013 4:09 AM -
User-133573814 posted
Hello Talal,
Yes, i can view the new method. its available in the wsdl file. I can update the database directly from web services. But if i class through my application, all the existing methods also not working!!!!!! Web services method fails and move to my custom error.
Tuesday, February 12, 2013 4:36 AM -
User-133573814 posted
Hi All,
I am getting the below error message: "The request failed with HTTP status 400: Bad Request." and in stack trace is get this message " at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)".can any one help me on this?
Wednesday, February 13, 2013 7:21 AM -
User538021195 posted
This kind of error can come due to different reasons - could you please check if the URL is configured correctly - so make sure the proxy is calling the proper web service URL. For example localhost on one machine does not work from a remote machine. If you are the author of these web services, it might be simpler to make a new web service project (test) and add the reference to your client and check.
Here are some other articles that might help as well:
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, February 13, 2013 7:36 AM