Instead of trying to get cross-domain data using jQuery, try to get data using PHP or another language that allows cross-domain access. Create a PHP page that loads SOAP data, and use jQuery to embed this information in your page. Although this is not a SOAP connection, to illustrate this idea, you can create this PHP page to download Youtube videos:
<?php $vid = filter_var($_POST['id'], FILTER_SANITIZE_STRING); ?> <?php if ($vid) : ?> <iframe title="YouTube video player" width="510" height="317" src="http://www.youtube.com/embed/<?php echo $vid; ?>?autoplay=1" frameborder="0" allowfullscreen></iframe> <?php endif; ?>
Then use jQuery to display it - clicking a link can call this function:
function loadContent() { $(this).parent().load("/youtube-video.php",{id:video_id},showNewContent()); }
source share