soap:Envelope SOAP-ENV:Envelope PHP
I'm trying to login to an API using built-in soap functions of PHP. I got a result like this. [LoginResult]=> false, [ErrorMsg] => Login failed with the reason : The security object is invalid This is what required by the API provider. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Login xmlns="http://tempuri.org/Example/Service1"> <objSecurity> <WebProviderLoginId>test</WebProviderLoginId> <WebProviderPassword>test<