Ionic application calling web service fail

Hello, I am try calling web service with angularSoap example code from tutorial website but error

OPTIONS http://url.asmx
SOAPClient._sendSoapRequest @ soapclient.js:202
SOAPClient._onLoadWsdl @ soapclient.js:163
xmlHttp.onreadystatechange @ soapclient.js:152

XMLHttpRequest cannot load http://url.asmx. Response for preflight has invalid HTTP status code 405

Uncaught TypeError: Cannot read property ‘getElementsByTagName’ of null
SOAPClient._getElementsByTagName @ soapclient.js:347
SOAPClient._onSendSoapRequest @ soapclient.js:210
xmlHttp.onreadystatechange @ soapclient.js:199

Help me please. Thank you