This commit is contained in:
Looly
2023-03-05 17:05:40 +08:00
parent ca59e1471d
commit 1eb629bc3b
4 changed files with 70 additions and 394 deletions

View File

@@ -21,7 +21,7 @@ public class SoapClientTest {
public void requestTest() {
final SoapClient client = SoapClient.of("http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx")
.setMethod("web:getCountryCityByIp", "http://WebXml.com.cn/")
.setCharset(CharsetUtil.GBK)
.charset(CharsetUtil.GBK)
.setParam("theIpAddress", "218.21.240.106");
Console.log(client.getMsgStr(true));