doedje / jquery.soap

This script uses $.ajax to send a SOAP:Envelope. It can take XML DOM, XML string or JSON as input and the response can be returned as either XML DOM, XML string or JSON too.
352 stars 148 forks source link

cors error when running code #114

Closed gcp2000 closed 7 years ago

gcp2000 commented 7 years ago

XMLHttpRequest cannot load http://10.10.9.169/UserService3/WebService1.asmxgetUserbyUsername. Request header field SOAPAction is not allowed by Access-Control-Allow-Headers in preflight response. jquery.soap.js:456 Uncaught Error: Unexpected Content: undefined

how to approach this error?

doedje commented 7 years ago

I don't know, all I see is an error message. I need a bit more context to have any clue on what you might be trying to do. Here are some suggestions:

doedje commented 7 years ago

closing this issue when I don't get feedback...