Failed to load resource: the server responded with a status of 405 (Method Not Allowed) in soapClient.js


#1

Failed to load resource: the server responded with a status of 405 (Method Not Allowed) in soapClient.js


#2

That is an error message.

Do you also have a question?


#3

How to resolve this error. this occur when I want to access web services from remote serve.


#4

Your server is replying with a error 405, Method Not Allowed. So you are probably requesting the URL with a wrong method (GET, POST, OPTIONS, …).

Are you using ionic serve or testing on device/emulator?

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.