1. Import

This commit is contained in:
2026-03-29 10:34:57 +02:00
parent b0e00c1259
commit a1129565af
4899 changed files with 3007593 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,349 @@
STAMMDATEN.REQUEST
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
<soap:Header/>
<soap:Body>
<urn:ZRstTestMasterdataWs01>
<ItDevicetype>
<!--Zero or more repetitions:-->
<item>
<OrgunhdIdPrK>PTAG</OrgunhdIdPrK>
<DevtyhdIdK>OGS</DevtyhdIdK>
</item>
</ItDevicetype>
<IvTimestamp>20100101000000</IvTimestamp>
</urn:ZRstTestMasterdataWs01>
</soap:Body>
</soap:Envelope>
STAMMDATEN.RESPONSE
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header/>
<env:Body>
<n0:ZRstTestMasterdataWs01Response xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<EsMasterdata>
<Devicetypes>
<item>
<OrgunhdIdPr>PTAG</OrgunhdIdPr>
<DevtyhdId>OGS</DevtyhdId>
<Description>Online-Gerätesimulation</Description>
<DevmfhdId>HANSECOM</DevmfhdId>
<DevmflinId>FAA</DevmflinId>
<TstmpCreated>00000000000000</TstmpCreated>
<TstmpChanged>20170112101319</TstmpChanged>
<ArchiveStat>00</ArchiveStat>
<MdLcycleStat>10</MdLcycleStat>
<Devices>
<item>
<DevichdId>OGS_0005</DevichdId>
<OnlineState>1</OnlineState>
<NetelhdIdO/>
<YearConstruct>0000</YearConstruct>
<DevCondition>O</DevCondition>
<TechnicalId>OGS0005</TechnicalId>
<DevSerial/>
<ProductiveFg/>
<Description>Testrechner 1</Description>
<TstmpCreated>00000000000000</TstmpCreated>
<TstmpChanged>20130205170319</TstmpChanged>
<ArchiveStat>00</ArchiveStat>
<MdLcycleStat>10</MdLcycleStat>
</item>
</Devices>
<Swreleases>
<item>
<DevsrhdId>1.1.3</DevsrhdId>
<Description>Version 1.1.3</Description>
<ReleaseTstmp>20020101000000</ReleaseTstmp>
<TstmpCreated>00000000000000</TstmpCreated>
<TstmpChanged>20140417131754</TstmpChanged>
<ActiveFg/>
<ArchiveStat>00</ArchiveStat>
<MdLcycleStat>10</MdLcycleStat>
<Messages>
<item>
<DevsrmsgId>DIADRU0005</DevsrmsgId>
<Description>Papierstau im Drucker</Description>
<Msgtext>Der Drucker muß repariert werden</Msgtext>
<Msgparam/>
<SeverityCode>50</SeverityCode>
<NodeDate>2010-03-16</NodeDate>
</item>
</Messages>
</item>
</Swreleases>
</item>
</Devicetypes>
<Manufacturer>
<item>
<DevmfhdId>Test-FAA</DevmfhdId>
<DevmfCtId>MF</DevmfCtId>
<Description>Beliebiger Text</Description>
<TstmpCreated>00000000000000</TstmpCreated>
<TstmpChanged>20101124125221</TstmpChanged>
<ArchiveStat>00</ArchiveStat>
<MdLcycleStat>10</MdLcycleStat>
<Typelines>
<item>
<DevmflinId>HW4297</DevmflinId>
<Description>Produktlinie FA aus 2006</Description>
</item>
</Typelines>
</item>
</Manufacturer>
</EsMasterdata>
<EvTimestampStarted>20170306131948</EvTimestampStarted>
</n0:ZRstTestMasterdataWs01Response>
</env:Body>
</env:Envelope>
STATUSDATEN.REQUEST
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
<soap:Header/>
<soap:Body>
<urn:ZRstTestStatusdataWs01>
<ItDevicetype>
<!--Zero or more repetitions:-->
<item>
<OrgunhdIdPrK>PTAG</OrgunhdIdPrK>
<DevtyhdIdK>OGS</DevtyhdIdK>
</item>
</ItDevicetype>
<IvActualFg>X</IvActualFg>
<IvTimestamp>20100101000000</IvTimestamp>
</urn:ZRstTestStatusdataWs01>
</soap:Body>
</soap:Envelope>
STATUSDATEN.RESPONSE
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header/>
<env:Body>
<n0:ZRstTestStatusdataWs01Response xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<EsStatusdata>
<Statusdata>
<item>
<DevsthdNo>000000000011699</DevsthdNo>
<OrgunhdIdPr>PTAG</OrgunhdIdPr>
<DevtyhdId>OGS</DevtyhdId>
<DevichdId>OGS_0011</DevichdId>
<TstmpDevsthd>20161004135516</TstmpDevsthd>
<SevCodeHd>00</SevCodeHd>
<SevCodeOpn>00</SevCodeOpn>
<IsActual/>
<IsInService/>
<IsMnyVltd>1</IsMnyVltd>
<IsMatVltd>0</IsMatVltd>
<NoOpnFg/>
<Devstopn>
<item>
<DevsthdNo>000000000011699</DevsthdNo>
<DevstopnNo>0001</DevstopnNo>
<DevsrhdId>1.1.5</DevsrhdId>
<DevsrmsgId>MCPINF0000</DevsrmsgId>
<DevCatMf>Betriebshofserver</DevCatMf>
<DevCmpMf>keine Angabe</DevCmpMf>
<DevCmpinsMf>keine Angabe</DevCmpinsMf>
<OpNotifApdx>0000000000</OpNotifApdx>
<OpNotifText/>
<TstmpProcss>20161004142832</TstmpProcss>
<DoorState>2</DoorState>
<TstmpIncdt>20161004135516</TstmpIncdt>
<TstmpFinishd>00000000000000</TstmpFinishd>
<SevCodeOpn>00</SevCodeOpn>
</item>
</Devstopn>
<Devstfin/>
<Devstmny>
<item>
<DevsthdNo>000000000011699</DevsthdNo>
<DevstmnyNo>0001</DevstmnyNo>
<CashboxType>MUENZ</CashboxType>
<CashboxNo>CT10</CashboxNo>
<CbxSerialNo/>
<PositionDesc/>
<Currency>EUR</Currency>
<FaceValue>0.1</FaceValue>
<NominalQnty>11</NominalQnty>
<NominalAmnt>11.5</NominalAmnt>
<NominalCapct>9.9</NominalCapct>
<Threshold>10.0</Threshold>
<Measurand>V</Measurand>
<Direction>2</Direction>
<TstmpMeasure>20161004135516</TstmpMeasure>
<IsViolated/>
</item>
</Devstmny>
<Devstmat>
<item>
<DevsthdNo>000000000011699</DevsthdNo>
<DevstmatNo>0001</DevstmatNo>
<MatHopperId>PAPIER</MatHopperId>
<MaterialId>FAHRSCHEIN</MaterialId>
<NominalStock>30.0</NominalStock>
<MatUnitExt>BLATT</MatUnitExt>
<MatUnit/>
<MeasureMeth>S</MeasureMeth>
<Threshold>118.0</Threshold>
<TstmpMeasure>20161004135516</TstmpMeasure>
<IsViolated>X</IsViolated>
</item>
</Devstmat>
<Devstswr>
<item>
<DevsthdNo>000000000011699</DevsthdNo>
<DevstswrNo>0001</DevstswrNo>
<SoftwareCat>FIRMWARE</SoftwareCat>
<Version>1.0.0.1430</Version>
<Description/>
<TstmpUpdate>20060926163920</TstmpUpdate>
<ValidFrom>20060927163920</ValidFrom>
<ValidTo>20070926163920</ValidTo>
<TstmpMeasure>20161004135516</TstmpMeasure>
<IsActive>J</IsActive>
</item>
</Devstswr>
<Devstloc>
<item>
<DevsthdNo>000000000011699</DevsthdNo>
<DevstlocNo>0001</DevstlocNo>
<DevstlocCat>Fahrzeug</DevstlocCat>
<DevstlocId>Linie 511</DevstlocId>
<Description>Bus 805</Description>
<TstmpMeasure>20161004135516</TstmpMeasure>
</item>
</Devstloc>
</item>
</Statusdata>
</EsStatusdata>
<EvTimestampStarted>20170306140920</EvTimestampStarted>
</n0:ZRstTestStatusdataWs01Response>
</env:Body>
</env:Envelope>
-------------------------------------------------------------------------------------------
Array
(
[env:Envelope] => Array
(
[env:Header] => Array
(
)
[env:Body] => Array
(
[n0:ZRstTestMasterdataWs01Response] => Array
(
[EsMasterdata] => Array
(
[Devicetypes] => Array
(
[item] => Array
(
[OrgunhdIdPr] => PTAG
[DevtyhdId] => OGS
[Description] => Online-Gerätesimulation
[DevmfhdId] => HANSECOM
[DevmflinId] => FAA
[TstmpCreated] => 00000000000000
[TstmpChanged] => 20170112101319
[ArchiveStat] => 00
[MdLcycleStat] => 10
[Devices] => Array
(
[item] => Array
(
[DevichdId] => OGS_0005
[OnlineState] => 1
[NetelhdIdO] => Array
(
)
[YearConstruct] => 0000
[DevCondition] => O
[TechnicalId] => OGS0005
[DevSerial] => Array
(
)
[ProductiveFg] => Array
(
)
[Description] => Testrechner 1
[TstmpCreated] => 00000000000000
[TstmpChanged] => 20130205170319
[ArchiveStat] => 00
[MdLcycleStat] => 10
)
)
[Swreleases] => Array
(
[item] => Array
(
[DevsrhdId] => 1.1.3
[Description] => Version 1.1.3
[ReleaseTstmp] => 20020101000000
[TstmpCreated] => 00000000000000
[TstmpChanged] => 20140417131754
[ActiveFg] => Array
(
)
[ArchiveStat] => 00
[MdLcycleStat] => 10
[Messages] => Array
(
[item] => Array
(
[DevsrmsgId] => DIADRU0005
[Description] => Papierstau im Drucker
[Msgtext] => Der Drucker muß repariert werden
[Msgparam] => Array
(
)
[SeverityCode] => 50
[NodeDate] => 2010-03-16
)
)
)
)
)
)
)
)
[n0:ZRstTestMasterdataWs01Response_attr] => Array
(
[xmlns:n0] => urn:sap-com:document:sap:soap:functions:mc-style
)
)
)
[env:Envelope_attr] => Array
(
[xmlns:env] => http://www.w3.org/2003/05/soap-envelope
)
)

View File

@@ -0,0 +1,47 @@
<?xml version ='1.0' encoding ='UTF-8' ?>
<definitions name='Math'
targetNamespace='http://127.0.0.1/votian/sysadmin/Math'
xmlns:tns='http://127.0.0.1/votian/sysadmin/Math'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
<message name='addRequest'>
<part name='a' type='xsd:int'/>
<part name='b' type='xsd:int'/>
</message>
<message name='addResponse'>
<part name='Result' type='xsd:int'/>
</message>
<portType name='addPortType'>
<operation name='add'>
<input message='tns:addRequest'/>
<output message='tns:addResponse'/>
</operation>
</portType>
<binding name='addBinding' type='tns:addPortType'>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='add'>
<soap:operation soapAction='urn:Math#add'/>
<input>
<soap:body use='encoded' namespace='urn:Math'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output>
<soap:body use='encoded' namespace='urn:Math'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
</binding>
<service name='addService'>
<port name='addPort' binding='addBinding'>
<soap:address location='http://127.0.0.1/votian/sysadmin/soap_server.php'/>
</port>
</service>
</definitions>

1812
html/sysadmin/soap/soap.php Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,34 @@
<?php
// include_once ("../include/mcglobal.inc.php");
// include_once ("../include/inc_parseXML.inc.php");
$wsdl = "webservice1.wsdl";
// $wsdl = "z_rst_test_tourenplanung_bnd.wsdl";
function getServerTime() {
return time();
}
ini_set("soap.wsdl_cache_enabled", "0");
$server = new SoapServer($wsdl);
$server->addFunction("getServerTime");
$server->handle();
/*
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$server->handle();
} else {
echo "This SOAP server can handle following functions: ";
$functions = $server->getFunctions();
foreach($functions as $func) {
echo $func . "\n";
}
}
*/
?>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://127.0.0.1/hha/sysadmin/soap_server.php"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://127.0.0.1/hha/sysadmin/soap_server.php"
xmlns:intf="http://127.0.0.1/hha/sysadmin/soap_server.php"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:message name="getServerTimeRequest">
</wsdl:message>
<wsdl:message name="getServerTimeResponse">
<wsdl:part name="getServerTimeReturn" type="xsd:int" />
</wsdl:message>
<wsdl:portType name="server1">
<wsdl:operation name="getServerTime">
<wsdl:input message="impl:getServerTimeRequest"
name="getServerTimeRequest" />
<wsdl:output message="impl:getServerTimeResponse"
name="getServerTimeResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="server1SoapBinding" type="impl:server1">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getServerTime">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getServerTimeRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://DefaultNamespace" use="encoded" />
</wsdl:input>
<wsdl:output name="getServerTimeResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://127.0.0.1/hha/sysadmin/soap_server.php" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="server1Service">
<wsdl:port binding="impl:server1SoapBinding" name="server1">
<wsdlsoap:address location="http://127.0.0.1/hha/sysadmin/soap_server.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://127.0.0.1/votian/sysadmin/soap_server.php"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://127.0.0.1/votian/sysadmin/soap_server.php"
xmlns:intf="http://127.0.0.1/votian/sysadmin/soap_server.php"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:message name="getServerTimeRequest">
</wsdl:message>
<wsdl:message name="getServerTimeResponse">
<wsdl:part name="getServerTimeReturn" type="xsd:int" />
</wsdl:message>
<wsdl:portType name="server1">
<wsdl:operation name="getServerTime">
<wsdl:input message="impl:getServerTimeRequest"
name="getServerTimeRequest" />
<wsdl:output message="impl:getServerTimeResponse"
name="getServerTimeResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="server1SoapBinding" type="impl:server1">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getServerTime">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getServerTimeRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://DefaultNamespace" use="encoded" />
</wsdl:input>
<wsdl:output name="getServerTimeResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://127.0.0.1/votian/sysadmin/soap_server.php" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="server1Service">
<wsdl:port binding="impl:server1SoapBinding" name="server1">
<wsdlsoap:address location="http://127.0.0.1/votian/sysadmin/soap_server.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://127.0.0.1/votian/sysadmin/soap_server.php"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://127.0.0.1/votian/sysadmin/soap_server.php"
xmlns:intf="http://127.0.0.1/votian/sysadmin/soap_server.php"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:message name="getServerTimeRequest">
</wsdl:message>
<wsdl:message name="getServerTimeResponse">
<wsdl:part name="getServerTimeReturn" type="xsd:int" />
</wsdl:message>
<wsdl:portType name="server1">
<wsdl:operation name="getServerTime">
<wsdl:input message="impl:getServerTimeRequest"
name="getServerTimeRequest" />
<wsdl:output message="impl:getServerTimeResponse"
name="getServerTimeResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="server1SoapBinding" type="impl:server1">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getServerTime">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getServerTimeRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://DefaultNamespace" use="encoded" />
</wsdl:input>
<wsdl:output name="getServerTimeResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://127.0.0.1/votian/sysadmin/soap_server.php" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="server1Service">
<wsdl:port binding="impl:server1SoapBinding" name="server1">
<wsdlsoap:address location="http://127.0.0.1/votian/sysadmin/soap_server.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

File diff suppressed because one or more lines are too long