0

I have a URL for a webservice http://ediblesoftware.com/esxml30/esxml.wsdl?op=Request and I need to pass input like this below. This is my ajax function and I am trying to consume service here.

$.ajax({
    cache: false,
    type: 'POST',
    async: false,
    data: params,
    crossDomain: true,
    url: servUrl,
    contentType: "text/xml",
    dataType: 'xml',
    success:successResponse,
    error: errorResponse
});

Can anybody help what am I doing wrong?

cr0ss
  • 877
  • 5
  • 20
  • Take a look: http://stackoverflow.com/questions/7766594/jquery-form-doesnt-show-submission-message-on-web-server-but-it-shows-submissio – fdam Jun 23 '14 at 11:12
  • What do you are using on backend? Tomcat? if so, try to do this: http://stackoverflow.com/questions/22526146/how-to-enable-cors-in-apache-tomcat – fdam Jun 23 '14 at 11:18

0 Answers0