He logrado conectarme, pero tengo un problema con los 2 puntos en el 2 parametro
Código PHP:
require_once('lib/nusoap.php');
$Client = new SoapClient('http://demo.mywebsite.com/wa/webservice.asmx?WSDL');
$AuthCredentials = array(
'username' => 'test111',
'password' => 222222,
'culture' => 'en_US',
'version' => '6.0'
);
$AuthVar = new SoapVar($AuthCredentials, SOAP_ENC_OBJECT);
$AuthHeader = new SoapHeader('http://mywebsite.com/webservices/', "m:LoginHeader", $AuthVar, false);
[message:protected] => System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Xml.XmlException: The ':' character, hexadecimal value 0x3A, cannot be included in a name. Line 2, position 146.
Alguien podría echarme un cable.
Gracias