Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response not of type text/xml: text/html #57

Open
DepriPramana opened this issue Jul 9, 2020 · 1 comment
Open

Response not of type text/xml: text/html #57

DepriPramana opened this issue Jul 9, 2020 · 1 comment

Comments

@DepriPramana
Copy link

I access web service wsdl create by C# why when acceess show error Response not of type text/xml: text/html

@Luuk34
Copy link

Luuk34 commented Jul 9, 2020

This question was asked on StackOverflow, a couple of years back, and answered there
see: https://stackoverflow.com/questions/19311393/is-it-mandatory-to-have-a-wsdl-definition-accessible-using-wsdl#:~:text=2-,Is%20it%20mandatory%20to%20have%20a%20WSDL%20definition%20accessible%20using,calling%20the%20specified%20web%20service.

The answer there is:
No, Its not mandatory to have ?wsdl access, but its recommended way. Its worth noting that most clients will try to append "?wsdl" to your URL and will try to access WSDL file, Hence its highly recommended to setup it.

Because it is not mandatory, one can also reply in HTML (which seems to be what you have, but now i am guessing....)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants