How to make a PHP SOAP call using the SoapClient class

后端 未结 12 722
星月不相逢
星月不相逢 2020-11-22 17:28

I\'m used to writing PHP code, but do not often use Object-Oriented coding. I now need to interact with SOAP (as a client) and am not able to get the syntax right. I\'ve got

12条回答
  •  轮回少年
    2020-11-22 18:00

    read this;-

    http://php.net/manual/en/soapclient.call.php

    Or

    This is a good example, for the SOAP function "__call". However it is deprecated.

    Envio Internacional: ";
        $vem = $cliente->__call('CustoEMSInternacional',array($int_zona, $int_peso));
        print $vem;
        print "

    "; ?>

提交回复
热议问题