skip to Main Content

XML not parse with soap-env having custom tags in PHP

I am experiencing an error while parsing my XML response in PHP I have a below XML response, when i call from CURL request <?xml version="1.0" encoding="UTF-8"?> <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header> <eb:MessageHeader xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" eb:version="1.0" soap-env:mustUnderstand="1"> <eb:From> <eb:PartyId eb:type="URI">Sabre_API</eb:PartyId> </eb:From> <eb:To> <eb:PartyId…

VIEW QUESTION

Visual Studio Code – WCF customUserNamePasswordValidatorType error – Could not load file or assembly 'CustomUserNameValidator' or one of its dependencies

I have created a simply WCF web service and require WCF Security with username/password added to the service and have read through the following MS documentation https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-use-a-custom-user-name-and-password-validator to try and do so. However, I am getting the error below when…

VIEW QUESTION

Laravel SOAP request call

I'm looking to get access to a specific API (found here: https://jigsaw.w3.org/css-validator/manual.html#api), however this is a SOAP api and I've never worked with SOAP. So I install this package: https://codedredd.github.io/laravel-soap/ and I try a test call. It looks like this:…

VIEW QUESTION

Parsing WSDL with PHP SoapClient – PHP Versions

I am trying to consume a SOAP web service with PHP. The web service WSDL can be found here. Simply creating the client like that: try { $wsdlUrl = 'https://eu1.praxedo.com/eTech/services/cxf/v6/BusinessEventManager?WSDL'; $client = new SoapClient($wsdlUrl); } catch(Exception $e) { echo $e->getMessage();…

VIEW QUESTION
Back To Top
Search