下面的XML信息,用SOAPMessage如何创建。
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns1:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<ns1:AuthenticationToken xmlns1:ns1="http://www.chinamobile.com">
<ns1:USERNAME>admin</ns1:USERNAME>
<ns1:PASSWORD>admin</ns1:PASSWORD>
</ns1:AuthenticationToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1: REQUESTSIMSYNC xmlns1:ns ="http://www.chinamobile.com">
<ns1:MSISSIONID>任务ID</MSISSIONID>
<ns1:STAFFSFILE>手机号码文件名</ns1:STAFFSFILE>
</ns1: REQUESTSIMSYNC>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns1:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<ns1:AuthenticationToken xmlns1:ns1="http://www.chinamobile.com">
<ns1:USERNAME>admin</ns1:USERNAME>
<ns1:PASSWORD>admin</ns1:PASSWORD>
</ns1:AuthenticationToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1: REQUESTSIMSYNC xmlns1:ns ="http://www.chinamobile.com">
<ns1:MSISSIONID>任务ID</MSISSIONID>
<ns1:STAFFSFILE>手机号码文件名</ns1:STAFFSFILE>
</ns1: REQUESTSIMSYNC>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货