Показать сообщение отдельно
Старый 08.09.2012, 18:45   #750
vadimus_ca
Старожил Клуба
 
Аватар для vadimus_ca
 
Имя: Vadym
Авто: 2021 Tesla Model Y Long Range Dual Motor
Сообщений: 2,274
По умолчанию Re: Изменение настроек ETACS с помощью Lexia

Пробую...
Код:
POST / HTTP/1.1
Host: localhost:55100
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 446

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:AWRRegistry"><SOAP-ENV:Body><ns1:GetXMLDataTree-cp1251><ns1:i-CallerID><ns1:m-uiCallerID>7</ns1:m-uiCallerID><ns1:m-sLogin>pou_ddc</ns1:m-sLogin><ns1:m-sPassword>pr6cu6aW</ns1:m-sPassword></ns1:i-CallerID><ns1:i-sParentPath>/diag/veh</ns1:i-sParentPath></ns1:GetXMLDataTree-utf8></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 1224
Connection: keep-alive

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:AWRRegistry"><SOAP-ENV:Body><ns:GetXMLDataTreeResult-utf8><ns:m-sBuffer xsi:type="xsd:string">&lt;?xml version="1.0" encoding="UTF-16"?&gt;
&lt;Dir name="veh" ownerID="admin"&gt;
.&lt;Entry name="trademark" value="CITROEN" type="string" ownerID="supervisor"/&gt;
.&lt;Entry name="ManufacturerID" value="2" type="string" ownerID="supervisor"/&gt;
.&lt;Entry name="name" value="C-CROSSER" type="string" ownerID="supervisor"/&gt;
.&lt;Entry name="vin" value="JA4JT5AX6AZ608133" type="string" ownerID="supervisor"/&gt;
.&lt;Entry name="vin_auto" value="true" type="bool" ownerID="supervisor"/
&gt;
.&lt;Entry name="archi" value="C-CROSSER" type="string" ownerID="supervisor"/&gt;
.&lt;Entry name="lcdv" value="1CMP" type="string" ownerID="supervisor"/&gt;
&lt;/Dir&gt;
</ns:m-sBuffer><ns:m-iResult xsi:type="xsd:int">0</ns:m-iResult></ns:GetXMLDataTreeResult-utf8></SOAP-ENV:Body></SOAP-ENV:Envelope>
POST / HTTP/1.1
Host: localhost:55100
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 472

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:AWRRegistry"><SOAP-ENV:Body><ns1:ValueExists><ns1:i-CallerID><ns1:m-uiCallerID>7</ns1:m-uiCallerID><ns1:m-sLogin>pou_ddc</ns1:m-sLogin><ns1:m-sPassword>pr6cu6aW</ns1:m-sPassword></ns1:i-CallerID><ns1:i-sParentPath>/conf/sw/trace</ns1:i-sParentPath><ns1:i-sName>repository</ns1:i-sName></ns1:ValueExists></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 502
Connection: keep-alive

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:AWRRegistry"><SOAP-ENV:Body><ns:ValueExistsResult><ns:m-bExist xsi:type="xsd:boolean">false</ns:m-bExist><ns:m-iResult xsi:type="xsd:int">0</ns:m-iResult></ns:ValueExistsResult></SOAP-ENV:Body></SOAP-ENV:Envelope>
POST / HTTP/1.1
Host: localhost:55100
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 504

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:AWRRegistry"><SOAP-ENV:Body><ns1:CreateValue><ns1:i-CallerID><ns1:m-uiCallerID>7</ns1:m-uiCallerID><ns1:m-sLogin>pou_ddc</ns1:m-sLogin><ns1:m-sPassword>pr6cu6aW</ns1:m-sPassword></ns1:i-CallerID><ns1:i-sParentPath>/conf/sw/trace</ns1:i-sParentPath><ns1:i-sName>repository</ns1:i-sName><ns1:i-Type>eString</ns1:i-Type></ns1:CreateValue></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 437
Connection: keep-alive

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:AWRRegistry"><SOAP-ENV:Body><ns:SimpleResult><ns:m-iResult xsi:type="xsd:int">0</ns:m-iResult></ns:SimpleResult></SOAP-ENV:Body></SOAP-ENV:Envelope>
POST / HTTP/1.1
Host: localhost:55100
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 553

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:AWRRegistry"><SOAP-ENV:Body><ns1:SetStringValue-utf8><ns1:i-CallerID><ns1:m-uiCallerID>7</ns1:m-uiCallerID><ns1:m-sLogin>pou_ddc</ns1:m-sLogin><ns1:m-sPassword>pr6cu6aW</ns1:m-sPassword></ns1:i-CallerID><ns1:i-sParentPath>/conf/sw/trace</ns1:i-sParentPath><ns1:i-sName>repository</ns1:i-sName><ns1:i-sValue>c:/oud/traces/504b53fce4d83879946103</ns1:i-sValue></ns1:SetStringValue-utf8></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 437
Connection: keep-alive

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:AWRRegistry"><SOAP-ENV:Body><ns:SimpleResult><ns:m-iResult xsi:type="xsd:int">0</ns:m-iResult></ns:SimpleResult></SOAP-ENV:Body></SOAP-ENV:Envelope>
POST / HTTP/1.1
Host: localhost:55100
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 535

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:AWRRegistry"><SOAP-ENV:Body><ns1:SetStringValue-utf8><ns1:i-CallerID><ns1:m-uiCallerID>7</ns1:m-uiCallerID><ns1:m-sLogin>pou_ddc</ns1:m-sLogin><ns1:m-sPassword>pr6cu6aW</ns1:m-sPassword></ns1:i-CallerID><ns1:i-sParentPath>/app_data/ddc</ns1:i-sParentPath><ns1:i-sName>traceId</ns1:i-sName><ns1:i-sValue>504b53fce4d83879946103</ns1:i-sValue></ns1:SetStringValue-utf8></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 437
Connection: keep-alive

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:AWRRegistry"><SOAP-ENV:Body><ns:SimpleResult><ns:m-iResult xsi:type="xsd:int">0</ns:m-iResult></ns:SimpleResult></SOAP-ENV:Body></SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 532
Connection: close

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:AWRRegistry"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring xsi:type="xsd:string">End of file or no input: Operation interrupted or timed out</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
К примеру - Entry name="vin" value="JA4JT5AX6AZ608133"
vadimus_ca вне форума   Вверх Ответить с цитированием