How to create an automated delivery and to tie the SOAP client Bitrix?

Hello.
Please tell me, in the moment before me the challenge is to create an automated delivery that will take data from a web service(SOAP,WSDL) for example: If the order to the buyer by the automatic calculated shipping, the price will depend on the city and the weight, the size. The data will take from the service KAZPOST.
I'm on my local WAMP server using PHP send data, it works, I now have to tie the delivery.

SOAP Client code:
<?php
 $client = new SoapClient("http://rates.kazpost.kz/postratesws/postratesws.wsdl");
 $result = $client--->GetPostRate(
[
 "MailInfo" => [
 "Product" => "4",
 "MailCat" => "1",
 "SendMethod" => "1",
 "Weight" => "14000",
 "From" => "14",
 "To" => "05"
]
]
);
 echo $result->PostRate;
?>


Please advise options.
July 9th 19 at 11:15
1 answer
July 9th 19 at 11:17
See how made other deliveries and do similar.
Standard module Kazpost is not suitable?
Standard module Kazpost does not calculate the shipping cost to the cities. Is it possible to remake itself under a standard module Kazpost? - anastasia.Strosin39 commented on July 9th 19 at 11:20
: You can. Copy the files and modify - Mabel commented on July 9th 19 at 11:23
: How can You be found online ?? On your profile or where no contacts, can VK write in PM, id313919007 , I would be grateful ) - anastasia.Strosin39 commented on July 9th 19 at 11:26
: I'm not giving advice either in the VC or anywhere. Also do not work with people with a toaster - Mabel commented on July 9th 19 at 11:29

Find more questions by tags SOAP1C-BitrixDeliveryWSDL