Click here to Skip to main content
15,896,348 members

Comments by swayamrath (Top 10 by date)

swayamrath 3-Jan-18 16:38pm View    
It's xlsx. :)
swayamrath 11-Apr-17 0:00am View    
thanks Richard. i have gone through that. but not able to figure out how to collate two similar ID nodes to one.

<record>
<id>ID_001

<item>Value_1

<item>Value_2



this is causing trouble.
swayamrath 24-Mar-16 3:11am View    
I tried that as well. But not sure why this is not happening.
<script>
var url = "http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry";

$(document).ready(function () {
var input = {CountryName:"IND"};
$.ajax({
type: "POST",
url: url,
data: input,
crossDomain:true,
contentType: "application/soap+xml; charset=utf-8",

dataType: "xml",
success: OnSuccessCall,
error: OnErrorCall
});

function OnSuccessCall(response) {
alert(response.d);
}

function OnErrorCall(xhr, ajaxOptions, thrownError) {
alert(xhr);
}
});
</script>

It's getting into the error block. I think it has to do with the CORS issue.
swayamrath 23-Mar-16 5:59am View    
Thanks Mani.
http://www.webservicex.net/globalweather.asmx is a publicly available web service.
GetCitiesByCountry is one of the methods in the web service.

This method takes country name (For Example - IND) to give am XML output.

I used your code and ran it. But it's still going to the error block.

Any suggestion?

Regards,
Swayam
swayamrath 25-Jan-16 11:37am View    
Thanks Manas.
I tries every possible option given in the blogs. But still no success.