Hello,
Actually, having only 1 method is OK. It is as designed.
Now, that you have imported the WSDL file in your project, you need to call the single ProcessRequest method of the SPML provider. To perform various operations in AD, you need to attach them to your HTTP requests in the SPML format.
For examples of requests that you can send via the ProcessRequest method and responses it provides, you can open the following URL: https://identity.eu.loccitane.com/Adaxe ... essRequest
For instance, a simple request looks as follows:
<i class="text-italic">POST /AdaxesSpmlWS/SpmlProvider.asmx HTTP/1.1
Host: <strong class="text-bold">adaxesserver.example.com</strong>
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "<a class="url" href="http://softerra.com/adaxes/spmlwebservice/ProcessRequest">http://softerra.com/adaxes/spmlwebservi ... essRequest</a>"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="<a class="url" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:xsd="<a class="url" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:soap="<a class="url" href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>">
<soap:Body>
<ProcessRequest xmlns="<a class="url" href="http://softerra.com/adaxes/spmlwebservice">http://softerra.com/adaxes/spmlwebservice</a>">
<requestElement><strong class="text-bold">XML</strong></requestElement>
</ProcessRequest>
</soap:Body>
</soap:Envelope></i>
In the example above, you need to replace the highlighted XML part with the SOAP request of the operation you want to perform. To get examples of SOAP Requests, you can call one of the URL you mentioned in your original post (https://identity.eu.loccitane.com/Adaxe ... ddUser.xml). In the request, you need the part contained in the soap:Envelope\soap:Body XML element.
For example, a sample request to create a user looks as follows:
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<addRequest xmlns="urn:oasis:names:tc:SPML:2:0" returnData="everything" targetID="all domains">
<containerID ID="OU=Unit,DC=company,DC=com" />
<data>
<attr name="cn" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>John Smith</value>
</attr>
<attr name="description" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>User created via Adaxes SPML provider.</value>
</attr>
<attr name="sAMAccountName" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>JohnS</value>
</attr>
<attr name="objectclass" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>user</value>
</attr>
<attr name="mail" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>jsmith@company.com</value>
</attr>
<attr name="otherHomePhone" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>12135555555</value>
<value>12134444444</value>
</attr>
</data>
</addRequest>
</soap:Body>
</soap:Envelope>
For your Web Service, you need only the part that starts with the addRequest opening tag and ends with the corresponding closing tag. Thus, the request that you need to send via the ProcessRequest method looks as follows:
POST /AdaxesSpmlWS/SpmlProvider.asmx HTTP/1.1
Host: adaxesserver.example.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://softerra.com/adaxes/spmlwebservice/ProcessRequest"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProcessRequest xmlns="http://softerra.com/adaxes/spmlwebservice">
<requestElement>
<addRequest xmlns="urn:oasis:names:tc:SPML:2:0" returnData="everything" targetID="all domains">
<containerID ID="OU=Unit,DC=company,DC=com" />
<data>
<attr name="cn" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>John Smith</value>
</attr>
<attr name="description" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>User created via Adaxes SPML provider.</value>
</attr>
<attr name="sAMAccountName" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>JohnS</value>
</attr>
<attr name="objectclass" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>user</value>
</attr>
<attr name="mail" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>jsmith@company.com</value>
</attr>
<attr name="otherHomePhone" xmlns="urn:oasis:names:tc:DSML:2:0:core">
<value>12135555555</value>
<value>12134444444</value>
</attr>
</data>
</addRequest>
</requestElement>
</ProcessRequest>
</soap:Body>
</soap:Envelope>