How are you?
I am making a connection to a Webservice server. Through PHP
To perform a test use SOAP-UI and the service responds correctly, but when making the connection with PHP I get the error
SOAP-ERROR: Parsing WSDL: Could not load from ' link ': failed to load external entity " link "
I already tried sending the context in PHP
$opts = array('http'=>array('user_agent' => 'PHPSoapClient'));
$context = stream_context_create($opts);
$client = new SoapClient('http://urlwebservice',array('stream_context' => $context,'cache_wsdl' => WSDL_CACHE_NONE));
$result = $client->WS_cotiza($xml);
print_r($result);
I have searched several PHP codes to connect but nothing, and it still works in SOAP-IU and the url of the webservices if it is accessible from the browser
I hope your comments and hopefully you can help us.
Greetings