I have setup Alfresco on my local system.. I am trying to use AlfrescoPHPSDK-PHPLibrary-0.1 to get tickets. I am trying the examples provided in the package but it gives me following error.
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL
: Couldn't load from 'http://127.0.0.1:8080/alfresco/api/AuthenticationService?wsdl'
: failed to load external entity "http://127.0.0.1:8080/alfresco/api/AuthenticationService?wsdl" in D:\wamp\www\alfrescophp\Alfresco\Service\WebService\AlfrescoWebService.php:36
I have installed Alfresco on my local PC
I am able to open and login Alfresco from browser
http://127.0.0.1:8080/alfresco/api this URL accepted same credential.
But when I try to access http://127.0.0.1:8080/alfresco/api/AuthenticationService?wsdl It ask me username/Password and not accepting the credentials I used for Alfresco.
I was answered on alfresco forum that paths for SOAP API has been moved for alfresco 4.2.d.
Now instead of being http://localhost:8080/alfresco/api the soap services resides at http://localhost:8080/alfresco/soapapi.
Refrence: https://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services
Related
I am trying to connect Magento 1 with the other platform for the inventory named "Zoho inventory" via a third-party company "kloudconnector".
The API is working fine but I still get this error.
We have tried it again getting the error
SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://bydoo.eu/api/soap/?wsdl=1' : failed to load external entity
"https://bydoo.eu/api/soap/?wsdl=1"
I have tried everything.
Checking the server, firewall, ports, reinstalling Magento, reinstalling SSL. and still nothing.
I'm trying to connect to a WSDL feed, this works fine from my local machine (Windows) but not from the web server (Linux). When I attempt a connection I get this error:
Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL:
Couldn't load from
'http://services.clfdistribution.com:8080/CLFWebOrdering_Test/WebOrdering.asmx?WSDL'
: failed to load external entity
I've compared the phpinfo readouts from both machines and everything seems to match except that the working one (local PC) is PHP 5.5.36 and the non-working one (web server) is PHP 7.0.22
I've tried various fixes that I've found and nothing seems to work. Some other feeds do work but not the one I need to connect to.
We have cPanel access but no ability to edit PHP configuration (host is SiteGround).
This has now been resolved - Siteground were blocking port 8080, once this restriction was removed it all worked fine.
I'm trying to setup a Magento API, but when I try to access the API URL I get a 404
For example, http://localhost/magento/api or http://localhost/magento/api/?wsdl go nowhere.
So when I try to connect to the server with the SoapClient I always get an error like this:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/magento/api/soap/?wsdl' : failed to load external entity "http://localhost/magento/api/soap/?wsdl" in /var/www/html/magento/soapclient.php:3 .
In fact, when I can't open the WSDL XML with the browser nor access the /api endpoint.
Do I have to do anything else before get ready to work with the SOAP API?
I think that you already solve your problem, but just to document. If you does not use CURL URL, you need to use the path to your WSDL using the
link: http://magentohost.com/index.php/api/soap/?wsdl
I have a requirement to write Soap Client in PHP to call a remote web service and get information. For that I got the Soap End Point URL which doesn't seems to be a WSDL.
I got the WSDL file in the IEPD document set for that Soap services.
When I tried to create new instance of the SoapClient using the End Point it is throwing below error.
"Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://...' : failed to load external entity "https://.." in..."
Can you please help me how should I find WSDL url using an endpoint? or is there any other way I can call the Soap using this end point without getting this error?
To add more reference, I have received the complete documentation of the SOAP webservice in a IEPD document.
Thanks
I suggest you have a look at PHP SoapClient documentation. Start with constructor function SoapClient::SoapClient. There are examples of non-WSDL usage
I am unable to connect to the Magento SOAP API v2 using PHP. The error that occurs is:
PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.mydomain.com/index.php/api/v2_soap/index/wsdl/1/' : failed to load external entity "http://www.mydomain.com/index.php/api/v2_soap/index/wsdl/1/"
I gave IP restriction in .htaccess file such that only I will be able to view the site while development.
When I remove the IP restriction from the .htaccess file it works fine.
Any help would would be great as it's mandatory keep IP restriction!
You probably need to add the server's ip address to the whitelist as well.