SOAP proxy in Java

Frozen69

New Member
I have a OSGi application running on the Day CQ framework. I'm doing some AJAX to send a soap request and get the response back and output it nicely on the page.I had this working perfectly in straight JavaScript using xmlhttprequest, but I now have to do cross-domain scripting, which is not going to work in straight JS (I need to support old IE versions).Anyway, now I have my Day app call its own Java classes (OSGi bundle). I have it doing hello world and communicating back to the front-end JSP that renders the interface.My question is: How do I simply send the SOAP request in Java? I already have the entire contents of my SOAP envelope for my request (because I've been doing it in xmlhttprequest until now), so I don't need anything to generate the envelope for me. I just need to send it along (with WS Security headers) and return the SOAP response in a string that I can print out to my JSP.
 
Back
Top