diff --git a/src/Artisaninweb/SoapWrapper/Service.php b/src/Artisaninweb/SoapWrapper/Service.php
index <HASH>..<HASH> 100755
--- a/src/Artisaninweb/SoapWrapper/Service.php
+++ b/src/Artisaninweb/SoapWrapper/Service.php
@@ -336,7 +336,8 @@ class Service {
      */
     public function header($namespace,$name,$data=null,$mustUnderstand=false,$actor=null)
     {
-       $this->headers[] = new SoapHeader($namespace,$name,$data,$mustUnderstand,$actor);
+        if($actor) $this->headers[] = new SoapHeader($namespace,$name,$data,$mustUnderstand,$actor);
+        else $this->headers[] = new SoapHeader($namespace,$name,$data,$mustUnderstand);
 
         return $this;
     }
Update add header function

[ErrorException]

  SoapHeader::SoapHeader(): Invalid actor



This is the error i get when i don't set the actor.