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 147 forks source link

400 - Bad Request #22

Closed SanatShukla closed 11 years ago

SanatShukla commented 11 years ago

I am new with this all things. I am using phonegap for mobile app in eclipse. I am getting the "400 - Bad Request". jQuery version : jquery 1.10.2 jquery.soap version : 1.2.1

$.soap call :

$.soap({

                url: 'http://beans.task.dis.com/TaskBean_ws/',
                method: 'getUsrName',

                params: {
                            userID: 18
                },

                success: function (soapResponse) {

                    document.write(soapResponse.toString());
                },
                error: function (SOAPResponse) {
                document.write(SOAPResponse);
                }
        });

Response :

400 - Bad Request

doedje commented 11 years ago

My first guess would be to blame Same-Origin Policy... So please check that out first and let me know whether that is your problem or not..

SanatShukla commented 11 years ago

ok i will check it

doedje commented 11 years ago

and? any luck yet?

doedje commented 11 years ago

If you still need help, let me know, but for now I just close the issue... =]

SanatShukla commented 11 years ago

I am not using $soap now. Sorry for late reply. Please close this issue.

----- Original Message -----

From: "Remy Blom" notifications@github.com To: "doedje/jquery.soap" jquery.soap@noreply.github.com Cc: "SanatShukla" sanat.shukla@discusit.com Sent: Wednesday, October 30, 2013 7:50:25 PM Subject: Re: [jquery.soap] 400 - Bad Request (#22)

If you still need help, let me know, but for now I just close the issue... =]

— Reply to this email directly or view it on GitHub .

Warm Regards, Sanat Shukla