@ 2015-11-27T14:58:54Z <?php
$params = array("CadastrarPaciente" => array(
'login' => "userMSD",
'password' => "5283d763551364arkg5495ms4f316a4a2f64b5078344256322",
'cpf' => "77857347396",
'nome' => "Edmir Soares teste Hernani",
'dtNasc' => "01/01/2000",
'tipoEndereco' => '1',
'endereco' => "Rua Padre Joao Manuel,755",
'complemento' => "cj 22",
'bairro' => "Jardins",
'cidade' => "Sao Paulo",
'uf' => "SP",
'cep' => "01411000",
'telefone' => "1132547788",
'telCelular' => "11955564215",
'telComercial' => "",
'sexo' => "M",
'email' => "teste@tete.com",
'autorizaContato' => "S",
'medicamentos' => "
<medicamentos>
<medicamento crm='20231' ufcrm='SP' codlinha='4' tipocrm='1' />
</medicamentos>
",
'origem' => "8",
'codigoPrograma' => "6"
)
);
$option = array('location' => 'http://177.47.22.163:9000/wsAcessoFloat/MSD.svc?wsdl');
$option = array('location' => 'http://177.47.22.163:9000/wsAcessoFloat/MSD.svc?wsdl');
$soap_client = new SoapClient('http://177.47.22.163:9000/wsAcessoFloat/MSD.svc?wsdl');
$resultPaciente = $soap_client->__soapCall( "CadastrarPaciente", $params, $option);
$medico = $resultPaciente->CadastrarPacienteResult;
print $medico->Status;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught Error: Class "SoapClient" not found in /in/12XeR:35
Stack trace:
#0 {main}
thrown in /in/12XeR on line 35
Process exited with code 255 . Output for 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/12XeR:35
Stack trace:
#0 {main}
thrown in /in/12XeR on line 35
Process exited with code 255 . Output for 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 Fatal error: Class 'SoapClient' not found in /in/12XeR on line 35
Process exited with code 255 . preferences:dark mode live preview
204.96 ms | 402 KiB | 330 Q