The Reponse i become is an 500 Error.
{
āstatusCodeā: 500,
āerrorā: {
ātypeā: āSERVER_ERRORā,
ādescriptionā: "SOAP-ERROR: Parsing WSDL: Couldnāt load from āhttp://local.uri.de/api/soap?wsdl=1ā : failed to load external entity "http://local.uri.de/api/soap?wsdl=1"\n"
}
}
I checked SOAP and it was enabled.
Has anyone an idea why WSDL not work? Is there any important CORS settings or server settings?
I try the tool SoapUI and everything works like a charme. So the url is valid. But by using SoapClient in PHP the error above occur.
in postman i see a message for the certifate āUnable to verify the first certificateā⦠i run my slim application in a docker ddev container⦠mkcert is insert but iām not sure if this enough
Just to add another alternative for somebody who could need it.
I have to create a SOAP client to interact with a SAP service and finalised it using āeconea/nusoapā: ā^0.9.6ā in my composer file. https://packagist.org/packages/econea/nusoap
This is a adaptation for the old nusoap class but it works pretty wood inside my slim3 app under php 7.x