Create simple PHP code for SOAP-API
$10-30 USD
Оплачується при отриманні
I am looking for a guy who can convert the following code into a simple PHP code.
My aim is to run the php file and then automatically get the action of the SOAP-API (register a domain) done.
Here is the code that need to be converted to PHP:
BASIC AUTHORIZATION:
<?php
$params = array('login'=>"PARTNER-ID/SOAP-USER", 'password'=> "PASSWORT");
$client = new SoapClient('[url removed, login to view]',$params);
$result = $client->domainList();
var_dump( $result);
?>
CODE-SNIPPET REGISTERING DOMAIN:
<soapenv:Envelope xmlns:xsi="[url removed, login to view]"
xmlns:xsd="[url removed, login to view]"
xmlns:soapenv="[url removed, login to view]"
xmlns:ns="[url removed, login to view]">
<soapenv:Header/>
<soapenv:Body>
<soap:domainCreate
soapenv:encodingStyle="[url removed, login to view]">
<domainCreateRequestObject xsi:type="soap:DomainCreateRequestObject">
<adminC xsi:type="xsd:string"></adminC>
<ownerC xsi:type="xsd:string"></ownerC>
<techC xsi:type="xsd:string"></techC>
<zoneC xsi:type="xsd:string"></zoneC>
<nameserver xsi:type="soap:ArrayOfString">
<item xsi:type="xsd:string">[url removed, login to view]</item>
<item xsi:type="xsd:string">[url removed, login to view]</item>
</nameserver>
<nsEntry xsi:type="ns1:ArrayOfString"/>
<extension xsi:type="ns1:DomainCreateRequestExtension"/>
<domainName xsi:type="xsd:string">[url removed, login to view]</domainName>
<forReseller xsi:type="xsd:string"/>
<clientTRID xsi:type="xsd:string"></clientTRID>
</domainCreateRequestObject>
</soap:domainCreate>
</soapenv:Body>
</soapenv:Envelope>
ID Проекту: #6042814
Про проект
Доручено:
I can perform SOAP, cURL and fsocket. Let me know what you want to do with the result you get from the SOAP request. Looking to start the work sooner