Once you set HideAdminServiceWSDLs to false on carbon configuration file is posible to discover the EventReceiverAdminService service endpoint. It expose the deployEventReceiverConfiguration method. Could anyone provide an example on howto use this service in a multi-tenant context? I try calling the service but every time I get the following response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>unknown</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
and no usefull message on the DAS logs.
You need to provide the XML configuration of the event receiver. I tried the following with SOAP UI and it works.
In a multi tenant environment, use the respective tenant admin's credentials for basic authentication. Then it will deploy the event receiver in the correct tenant. When deploying DAS will print a log as follows,