{"action":"created","issue":{"url":"https://api.github.com/repos/josemmo/Facturae-PHP/issues/32","repository_url":"https://api.github.com/repos/josemmo/Facturae-PHP","labels_url":"https://api.github.com/repos/josemmo/Facturae-PHP/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/josemmo/Facturae-PHP/issues/32/comments","events_url":"https://api.github.com/repos/josemmo/Facturae-PHP/issues/32/events","html_url":"https://github.com/josemmo/Facturae-PHP/issues/32","id":368367605,"node_id":"MDU6SXNzdWUzNjgzNjc2MDU=","number":32,"title":"trouble with soap header","user":{"login":"albatronic","id":715769,"node_id":"MDQ6VXNlcjcxNTc2OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/715769?v=4","gravatar_id":"","url":"https://api.github.com/users/albatronic","html_url":"https://github.com/albatronic","followers_url":"https://api.github.com/users/albatronic/followers","following_url":"https://api.github.com/users/albatronic/following{/other_user}","gists_url":"https://api.github.com/users/albatronic/gists{/gist_id}","starred_url":"https://api.github.com/users/albatronic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albatronic/subscriptions","organizations_url":"https://api.github.com/users/albatronic/orgs","repos_url":"https://api.github.com/users/albatronic/repos","events_url":"https://api.github.com/users/albatronic/events{/privacy}","received_events_url":"https://api.github.com/users/albatronic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-09T19:46:07Z","updated_at":"2018-10-28T09:56:09Z","closed_at":"2018-10-28T09:56:09Z","author_association":"NONE","body":"Hi Josemmo, thks for sharing you package. I'am trying your class but y have Error 104\r\n\r\nUrl: https://se-face-webservice.redsara.es/facturasspp2?wsdl\r\n\r\nObject: \r\n```\r\nArray\r\n(\r\n    [correo] => info@albatronic.com\r\n    [factura] => Array\r\n        (\r\n            [factura] => PD94bW[...]0dXJhZT4=\r\n            [nombre] => facturae_F1801019.xsig\r\n            [mime] => text/plain\r\n        )\r\n\r\n)\r\n```\r\n\r\n> Código Error 104, La petición SOAP no está bien construida: no se encuentra el SOAP Header\r\n\r\n\r\nCould you say me something?\r\n\r\nThanks in avance"},"comment":{"url":"https://api.github.com/repos/josemmo/Facturae-PHP/issues/comments/433691007","html_url":"https://github.com/josemmo/Facturae-PHP/issues/32#issuecomment-433691007","issue_url":"https://api.github.com/repos/josemmo/Facturae-PHP/issues/32","id":433691007,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY5MTAwNw==","user":{"login":"josemmo","id":4470267,"node_id":"MDQ6VXNlcjQ0NzAyNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/4470267?v=4","gravatar_id":"","url":"https://api.github.com/users/josemmo","html_url":"https://github.com/josemmo","followers_url":"https://api.github.com/users/josemmo/followers","following_url":"https://api.github.com/users/josemmo/following{/other_user}","gists_url":"https://api.github.com/users/josemmo/gists{/gist_id}","starred_url":"https://api.github.com/users/josemmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemmo/subscriptions","organizations_url":"https://api.github.com/users/josemmo/orgs","repos_url":"https://api.github.com/users/josemmo/repos","events_url":"https://api.github.com/users/josemmo/events{/privacy}","received_events_url":"https://api.github.com/users/josemmo/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T09:56:09Z","updated_at":"2018-10-28T09:56:09Z","author_association":"OWNER","body":"As there has been no activity related to this issue for the past two weeks I assume it has been solved.\r\nIn case someone else is experiencing a similar problem here's a basic snippet to send an invoice to FACe:\r\n\r\n```php\r\n// Create a valid invoice\r\n$fac = new Facturae();\r\n// [...]\r\n\r\n// Load invoice into an instance of FacturaeFile\r\n$invoice = new FacturaeFile();\r\n$invoice->loadData($fac->export(), \"test-invoice.xsig\");\r\n\r\n// Connect to FACe\r\n$face = new FaceClient(\"path_to_certificate.pfx\", null, \"passphrase\");\r\n$face->setProduction(false); // Comment this line for production\r\n\r\n// Upload invoice\r\n$res = $face->sendInvoice(\"test@email.com\", $invoice);\r\nif ($res->resultado->codigo == 0) {\r\n  // Success!\r\n  echo \"Reg. number => \" . $res->factura->numeroRegistro . \"\\n\";\r\n}\r\n```"}}
{"actor":{"display_login":"josemmo"}}