NSString *strURL = [@"http://webservice.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx/getCountryCityByIp?theIpAddress=" stringByAppendingString:@"123.150.2.33"];
//转换为URL
NSURL *pURL = [NSURL URLWithString:strURL];
//创建请求
NSURLRequest *pRequest = [NSURLRequest requestWithURL:pURL];
NSData *DATA = [NSURLConnection sendSynchronousRequest:pRequest returningResponse:nil error:nil];
NSString *IP_Address = [[NSString alloc] initWithData:DATA encoding:NSUTF8StringEncoding];