web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://{IP}:{PORT}/TEST/WS/SystemService' : failed to load external entity - PHP - MS Navision

(0) ShareShare
ReportReport
Posted on by

Hello,

I have SOAP web services URLs to do CRUD (create/read/update/delete) operations with the data, but can't access none of them via PHP. I used following article for a guide, doing same as described there:

<?php
$soapWsdl = 'http://{IP}:{PORT}/TEST/WS/SystemService';
try {
    $options = [
        'cache_wsdl' => 0,
        'trace' => 1,
        'stream_context' => stream_context_create(array(
            'ssl' => array(
                'verify_peer' => false,
                'verify_peer_name' => false,
                'allow_self_signed' => true
            )
        )),
        'proxy_host' => "{MY SERVER IP WHICH WAS WHITELISTED}",
        'soap_version' => SOAP_1_1,
        'connection_timeout' => 120,
        'login' => 'username',
        'password' => 'password',
    ];
    $client = new SoapClient($soapWsdl, $options);
    $result = $client->Companies();
    print_r($result);
}
catch (Exception $e){
    echo $e->getMessage();
}
?>

but I still see following error:

SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://{IP}:{PORT}/TEST/WS/SystemService' : failed to load external entity "http://{IP}:{PORT}/TEST/WS/SystemService"

 

Services are running in a browser. I also tried to enable NTLM Authentication for using NTLMSoapClient but no luck. Tried so many other variants but still see "Connection timeout" error. What's going on please? I need urgent help on this matter. Can someone help me to figure this out?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Did you try to load them using SOAP UI or PostMan ?

  • Community Member Profile Picture
    on at

    Hi Suresh,

    Yes I tried with Postman, but couldn't see any result back. I even added credentials and the proxy server IP address which was whitelisted but still nothing.

    So far, I could load only via Chrome extension named "Wizdler". I can send and receive back the data very easily.

    Any ideas please?

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans