GetParameterValues:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">1145</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:GetParameterValues> <ParameterNames SOAP-ENC:arrayType="xsd:string[10]"> <string>InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddressNotificationLimit</string> <string>InternetGatewayDevice.ManagementServer.ConnectionRequestPassword</string> <string>InternetGatewayDevice.ManagementServer.ConnectionRequestUsername</string> <string>InternetGatewayDevice.ManagementServer.PeriodicInformEnable</string> <string>InternetGatewayDevice.ManagementServer.URL</string> <string>InternetGatewayDevice.DeviceInfo.X_CT-COM_WorkTime</string> <string>InternetGatewayDevice.DeviceInfo.ProductClass</string> <string>InternetGatewayDevice.DeviceInfo.SoftwareVersion</string> <string>InternetGatewayDevice.DeviceInfo.SerialNumber</string> <string>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</string> </ParameterNames> </cwmp:GetParameterValues> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
GetParameterResponse:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>1145</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:GetParameterValuesResponse> <ParameterList xsi:type='SOAP-ENC:Array' SOAP-ENC:arrayType='cwmp:ParameterValueStruct[10]'> <ParameterValueStruct> <Name>InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddressNotificationLimit </Name> <Value xsi:type='xsd:unsignedInt'></Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestPassword </Name> <Value xsi:type='xsd:string'></Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestUsername </Name> <Value xsi:type='xsd:string'>admin</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.ManagementServer.PeriodicInformEnable </Name> <Value xsi:type='xsd:boolean'>1</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.ManagementServer.URL</Name> <Value xsi:type='xsd:string'>http://seahightest.vicp.net:7547/ACS/acs/ </Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.DeviceInfo.X_CT-COM_WorkTime</Name> <Value xsi:type='xsd:unsignedInt'>368900</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.DeviceInfo.ProductClass</Name> <Value xsi:type='xsd:string'>Netgear CWGE111</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name> <Value xsi:type='xsd:string'>020007b01</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.DeviceInfo.SerialNumber</Name> <Value xsi:type='xsd:string'>22S297N9006D6</Value> </ParameterValueStruct> <ParameterValueStruct> <Name>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</Name> <Value xsi:type='xsd:string'>001F64</Value> </ParameterValueStruct> </ParameterList> </cwmp:GetParameterValuesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
GetRcpMethod:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">1273736957064</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:GetRPCMethods></cwmp:GetRPCMethods> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
GetRcpMethodsResponse:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>1273736957064</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:GetRPCMethodsResponse> <MethodList xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="cwmp:string[13]"> <string>GetRPCMethods</string> <string>ScheduleInform</string> <string>GetParameterNames</string> <string>GetParameterValues</string> <string>SetParameterValues</string> <string>GetParameterAttributes</string> <string>SetParameterAttributes</string> <string>AddObject</string> <string>Download</string> <string>Upload</string> <string>DeleteObject</string> <string>Reboot</string> <string>FactoryReset</string> </MethodList> </cwmp:GetRPCMethodsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
reboot:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">124654</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:Reboot> <CommandKey>4567898</CommandKey> </cwmp:Reboot> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
RebootResponse:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>124654</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:RebootResponse></cwmp:RebootResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
SetParameterValues:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">1273735061346</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:SetParameterValues> <ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[1]"> <ParameterValueStruct> <Name>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</Name> <Value xsi:type="xsd:unsignedInt">60</Value> </ParameterValueStruct> </ParameterList> <ParameterKey>124567</ParameterKey> </cwmp:SetParameterValues> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
SetParameterValuesResponse:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>1273735061346</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:SetParameterValuesResponse> <Status>0</Status> </cwmp:SetParameterValuesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
SetParameterValuesFault:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>145</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>Client</faultcode> <faultstring>CWMP fault</faultstring> <detail> <cwmp:Fault> <FaultCode>9005</FaultCode> <FaultString>Invalid parameter name</FaultString> </cwmp:Fault> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
FactoryReset:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">1273566171908</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:FactoryReset/> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
FactoryResetResponse:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>1273566171908</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:FactoryResetResponse></cwmp:FactoryResetResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Download:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">1111</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:Download> <CommandKey>1271227474281</CommandKey> <FileType>3 Vendor Configuration File</FileType> <URL>http://116.231.72.207:8888/ACS//Tr069PropertyFile/config_acs.xml</URL> <Username /> <Password /> <FileSize>146242</FileSize> <TargetFileName>config.xml</TargetFileName> <DelaySeconds>180</DelaySeconds> <SuccessURL /> <FailureURL /> </cwmp:Download> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
DownloadResponse:(Download命令延时了DelaySeconds180s,所以暂时是失败,是正常的)
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand="1">1111</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:DownloadResponse> <Status>1</Status> <StartTime>0000-00-00T00:00:00-00:00</StartTime> <CompleteTime>0000-00-00T00:00:00-00:00</CompleteTime> </cwmp:DownloadResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
下载可能会导致重启或触发inform事件:
7 TransferComplete,如果下载没有问题的话。
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'> <SOAP-ENV:Header> <cwmp:ID SOAP-ENV:mustUnderstand='1'>1273564052</cwmp:ID> </SOAP-ENV:Header> <SOAP-ENV:Body> <cwmp:TransferComplete> <Commandkey>12585</Commandkey> <FaultStruct> <FaultCode>0</FaultCode> <FaultString></FaultString> </FaultStruct> <StartTime>2010-05-11T07:47:16</StartTime> <CompleteTime>2010-05-11T07:47:27</CompleteTime> </cwmp:TransferComplete> </SOAP-ENV:Body> </SOAP-ENV:Envelope>