SOAP web service

So I’m trying request data from SOAP web service. Im simply using jQuery’s ajax request but it’s not working. I know it returns XML but I would expect a console.log() would at least show me the XML data.

Any ideas how to consume a SOAP web service?

Not sure I can help, but any chance you can give us a link, even temporarily?

Thanks for the reply, but I managed to solve it :smile:

I have the same problom could you help me figure it out

Set processData to false, it’s probably trying to read the XML as a string. Example (lifted from Stack Overflow answer):

    url: someWebServiceURL, 
    type: "POST",
    dataType: "xml", 
    data: soapMessage, 
    processData: false,
    contentType: "text/xml; charset=\"utf-8\"",
    success: OnSuccessCallback, 
    error: OnErrorCallback

Edit: you have my sympathies re using SOAP though, I’ve had only horrifically bad experiences of using it (hi, SalesForce!)

Hey @DanCouper Thank you! i understand that part, for the most part now, im a little confused on what to do with all the executable files that came with the api itself now any pointers?