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

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

That is an error message.

Do you also have a question?

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

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.

1 Like