Monday, May 24, 2010 1:06 PM
I have 3 parts in the system:
1. Web Site - "WebSite"
2.Web Service - "MyService"
3. Other Web Service - "OtherService" - this service has a web service method "MyMethod"
The "WebSite" calls "MyService" using HTTP Post and "MyService" calls "OtherService.MyMethod" using HTTP Post too and returns its response back.
When i'm using "WebSite", i get : "HTTP Status 405: Method Not Allowed" Error when "MyService" calls "OtherService.MyMethod".
The funny thing is that when i don't use the "WebSite" but "Browse" "MyService" and input the same data that the "Website" pass to it and execute it , it works!
Why does "OtherService.MyMethod" returns an HTTP Error 405 when i use the "WebSite" and works great when i use the "MyService" manually?
Monday, May 24, 2010 1:32 PM
Messages seen in a client application or browser that indicate 3XX or 4XX are always server side issues. They could be caused by the client (incorrect format, incorrect post data, incorrect request headers) but the server is telling you "Not Acceptable" so, a suggestion may be to get onto the server and look for some logging as to what it's complaining about.
- Marked As Answer by Bin-ze ZhaoModerator Monday, May 31, 2010 5:44 AM
Friday, May 28, 2010 8:59 AMModerator
Check if your scenario matches these documents listed bellow:
If not, the best way to do is to enable your web service debug to see what 's going on.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
- Marked As Answer by Bin-ze ZhaoModerator Monday, May 31, 2010 5:43 AM