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

Additional Headers didn't get added when using XML as param #19

Closed ray87 closed 11 years ago

ray87 commented 11 years ago

Hey folks,

I've been using jQuery.soap for a while now, but today I ran into an issue. I built the request by myself using xml and saw that additional headers (like WSS) aren't added, since the toString-functions doesn't gets called. Could you please have a look ? Thanks in advance!

Regards Ray

doedje commented 11 years ago

thanx for pointing out... I confirmed the bug. Unfortunatily I am entangled in a huge serverupdate at the moment, lot of stuff on my head... I will have a short 5 minute look if I can fix it with something really simple, but I am afraid that won't be enough..........I hope you can wait for next week?

ray87 commented 11 years ago

Thanks for your fast answer. I already fixed it for me by hooking the wrapWithEnvelope-function, but I am looking forward to a real fix :)

doedje commented 11 years ago

Well, I took a look and it seems much worse than I thought... There are some fundamental things that need recoding... And I don't have time for that right now...

doedje commented 11 years ago

Just a little note, I am working on this issue right now... May take some more days to complete tho...

The rewrite is available, BUT NOT YET WORKING! at https://github.com/doedje/jquery.soap/tree/rewrite

doedje commented 11 years ago

Fixed! The new 1.3.0 version will be available in a couple of hours...