andrewmcgivery / angular-soap

An angular port of a Javascript SOAP Client into a factory that has a similar syntax to $http.
114 stars 84 forks source link

Help needed with Authentication #14

Open srikanthbojja opened 9 years ago

srikanthbojja commented 9 years ago

Hi, I am trying to access list of busstops from this address http://st.atb.no/infotransit/userservices.asmx?WSDL this needs authentication to access.

I follwed the "Example 5: Set Connection Credentials" procedure and still no success.

It throws following error: " XHR finished loading: GET "http://st.atb.no/infotransit/userservices.asmx?wsdl".

POST http://st.atb.no/infotransit/userservices.asmx 500 (Internal Server Error)

SOAPClient._sendSoapRequest @ soapclient.js:190 SOAPClient._onLoadWsdl @ soapclient.js:153 xmlHttp.onreadystatechange @ soapclient.js:142

XHR finished loading: POST "http://st.atb.no/infotransit/userservices.asmx". "

Implementation(check app.js): http://plnkr.co/edit/Ty9Piz97n6UZNExHoFpJ

user access details are masked in the plunker implemenatation. I can share through personal email, if provided.

Thanks in advance,

--Sri

andrewmcgivery commented 9 years ago

Have you double checked Chrome Dev Tools to make sure it is sending the request as you expect it to?

srikanthbojja commented 9 years ago

yes i double checked..the error i quoted here is from Chrome Devtools

srikanthbojja commented 8 years ago

Hi, i still could not figure out a way fix this issue. Any help would be appreciated. Thanks in advance

viveknandhan527 commented 8 years ago

Hi andrew, I am also same problem. Thanks in advance