Jump to content

webservice with soapclient


klymb

Recommended Posts

Any charitable soul who can help me?

I've been having this problem for days and I can't solve it. I would be forever grateful if anyone could help

  I already checked in phpinfo ()and the class soap client is enabled


the code below on localhost works perfectly, but in production, on the server side, nothing ... only  HTTP error 500.

the request that  I 'm making is on another domain with port 81 (this domain has my ip on the withlisted) and on my domain I use security certificate. Is it around?

anyway wsdl is here:

 

$client = new SoapClient('https://dekrainspecoes.pt/acp/PROD_CustomUI_ACP_Member_Validation_WS.WSDL');
$result = $client->QueryByNumCartao(array('N_Cartao' => "705684011673122085"));

if (!empty($result->QueryByNumCartao_Output->Cartao_Ativo)) {

    echo 'The userId : '.$result->QueryByNumCartao_Output ->Pessoa_ID;

}

$JSON = json_encode($result);

Link to comment
Share on other sites

thanks for the tip ...
in fact the webservice awaits validation and I am not passing the user and password
  /acp/PROD_CustomUI_ACP_Member_Validation_WS.WSDL HTTP / 1.1 "200 14702" - "" - "

at least I have a clue, thank you very much Requinix

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.