Commit 0beaae3b authored by Thomas Löffler's avatar Thomas Löffler

Change SOAP wsdl file for new website and for stage/production

parent fbc3d23c
Pipeline #1621 passed with stages
in 3 minutes and 52 seconds
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="tx_ter" targetNamespace="http://www.typo3.org/wsdl/tx_ter/" xmlns:tns="http://www.typo3.org/wsdl/tx_ter/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:types><xsd:schema targetNamespace="http://www.typo3.org/wsdl/tx_ter/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<wsdl:definitions name="tx_ter" targetNamespace="https://extensions.typo3.org/wsdl/tx_ter/" xmlns:tns="https://extensions.typo3.org/wsdl/tx_ter/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:types><xsd:schema targetNamespace="https://extensions.typo3.org/wsdl/tx_ter/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:complexType name="accountData">
<xsd:sequence minOccurs="1" maxOccurs="1">
......@@ -498,17 +498,17 @@
</wsdl:portType>
<wsdl:binding name="tx_terSOAP" type="tns:tx_ter">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="ping"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/ping"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="login"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/login"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="uploadExtension"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/uploadExtension"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="checkExtensionKey"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/checkExtensionKey"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="registerExtensionKey"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/registerExtensionKey"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="getExtensionKeys"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/getExtensionKeys"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="modifyExtensionKey"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/modifyExtensionKey"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="deleteExtensionKey"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/deleteExtensionKey"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="setReviewState"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/setReviewState"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="increaseExtensionDownloadCounters"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/increaseExtensionDownloadCounter"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="deleteExtension"><soap:operation soapAction="http://www.typo3.org/wsdl/tx_ter/deleteExtension"/><wsdl:input><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://www.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="ping"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/ping"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="login"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/login"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="uploadExtension"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/uploadExtension"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="checkExtensionKey"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/checkExtensionKey"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="registerExtensionKey"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/registerExtensionKey"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="getExtensionKeys"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/getExtensionKeys"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="modifyExtensionKey"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/modifyExtensionKey"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="deleteExtensionKey"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/deleteExtensionKey"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="setReviewState"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/setReviewState"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="increaseExtensionDownloadCounters"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/increaseExtensionDownloadCounter"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
<wsdl:operation name="deleteExtension"><soap:operation soapAction="https://extensions.typo3.org/wsdl/tx_ter/deleteExtension"/><wsdl:input><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="https://extensions.typo3.org/wsdl/tx_ter/"/></wsdl:output></wsdl:operation>
</wsdl:binding>
<wsdl:service name="tx_ter">
<wsdl:port name="tx_terSOAP" binding="tns:tx_terSOAP">
......
......@@ -36,7 +36,13 @@ define('PATH_typo3conf', PATH_site . 'typo3conf/');
define('TYPO3_mainDir', 'typo3/');
$serviceLocation = $_SERVER['HTTP_HOST'] . 'index.php?id=ter';
$WSDLSource = file_get_contents('tx_ter.wsdl');
$wsdlFileName = 'tx_ter.wsdl';
if (\TYPO3\CMS\Core\Utility\GeneralUtility::getApplicationContext() === 'Production/Stage') {
$wsdlFileName = 'tx_ter.stage.wsdl';
}
$WSDLSource = file_get_contents($wsdlFileName);
$WSDLSource = trim(str_replace('---SERVICE_LOCATION---', $serviceLocation, $WSDLSource));
if (!headers_sent()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment