415 unsupported media type when WSE is not configured

Source: Internet
Author: User
Tags unsupported

I have a web service that runs fine on my Windows XP. However, when I deploy to the production server, the Web service returns 415 unsupported media type when calling.

I have seen this error when WSE is not enabled on the client. the problem is, the Web service is not using WSE. so I did the usual, uninstall ASP. net, reinstalling, adding asmx extension to IIS, same error.

Now I need to fire a debugger to see what's going on. surprisingly, Microsoft. web. services3.dll is loaded even when there is no trace of it in my projects. now I probably know what's going on. there is another Web service in a different virtual directory that uses WSE.

OK, I will isolate my web service to a new application pool. Well, that does not help. In the end I have to add WSE configuration to both my web service and my Windows client.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.