{"action":"created","issue":{"url":"https://api.github.com/repos/r-icarus/detergentex/issues/8","labels_url":"https://api.github.com/repos/r-icarus/detergentex/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/r-icarus/detergentex/issues/8/comments","events_url":"https://api.github.com/repos/r-icarus/detergentex/issues/8/events","html_url":"https://github.com/r-icarus/detergentex/issues/8","id":113401238,"number":8,"title":"erlsom ArgumentError","user":{"login":"kholbekj","id":2786571,"avatar_url":"https://avatars.githubusercontent.com/u/2786571?v=3","gravatar_id":"","url":"https://api.github.com/users/kholbekj","html_url":"https://github.com/kholbekj","followers_url":"https://api.github.com/users/kholbekj/followers","following_url":"https://api.github.com/users/kholbekj/following{/other_user}","gists_url":"https://api.github.com/users/kholbekj/gists{/gist_id}","starred_url":"https://api.github.com/users/kholbekj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kholbekj/subscriptions","organizations_url":"https://api.github.com/users/kholbekj/orgs","repos_url":"https://api.github.com/users/kholbekj/repos","events_url":"https://api.github.com/users/kholbekj/events{/privacy}","received_events_url":"https://api.github.com/users/kholbekj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T16:55:37Z","updated_at":"2015-10-26T17:17:04Z","closed_at":null,"body":"```\r\niex(29)> wsdl_url\r\n\"http://www1.carwebuk.com/CarweBVrrB2Bproxy/carwebVrrWebService.asmx?wsdl\"\r\niex(30)> action\r\n\"strB2BGetVehicleByVRM\"\r\niex(31)> params\r\n[\"strClientDescription\", 'test']\r\niex(32)> Detergentex.call(wsdl_url, action, params)\r\n** (ArgumentError) argument error\r\n    src/erlsom_write.erl:64: :erlsom_write.struct2xml/6\r\n    src/erlsom_write.erl:326: :erlsom_write.processAlternativeValue/8\r\n    src/erlsom_write.erl:239: :erlsom_write.processElementValues/7\r\n    src/erlsom_write.erl:130: :erlsom_write.struct2xml/6\r\n    src/erlsom_write.erl:326: :erlsom_write.processAlternativeValue/8\r\n    src/erlsom_write.erl:239: :erlsom_write.processElementValues/7\r\n    src/erlsom_write.erl:114: :erlsom_write.struct2xml/6\r\n    src/erlsom_write.erl:326: :erlsom_write.processAlternativeValue/8\r\n    src/erlsom_write.erl:239: :erlsom_write.processElementValues/7\r\n    src/erlsom_write.erl:45: :erlsom_write.write/2\r\n    src/detergent.erl:211: :detergent.call_attach/8\r\n```\r\n\r\nNo idea why this happens :/\r\n\r\nAny info on what i can do to get closer is also welcome, but my erlang is very limited "},"comment":{"url":"https://api.github.com/repos/r-icarus/detergentex/issues/comments/151213933","html_url":"https://github.com/r-icarus/detergentex/issues/8#issuecomment-151213933","issue_url":"https://api.github.com/repos/r-icarus/detergentex/issues/8","id":151213933,"user":{"login":"r-icarus","id":187940,"avatar_url":"https://avatars.githubusercontent.com/u/187940?v=3","gravatar_id":"","url":"https://api.github.com/users/r-icarus","html_url":"https://github.com/r-icarus","followers_url":"https://api.github.com/users/r-icarus/followers","following_url":"https://api.github.com/users/r-icarus/following{/other_user}","gists_url":"https://api.github.com/users/r-icarus/gists{/gist_id}","starred_url":"https://api.github.com/users/r-icarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-icarus/subscriptions","organizations_url":"https://api.github.com/users/r-icarus/orgs","repos_url":"https://api.github.com/users/r-icarus/repos","events_url":"https://api.github.com/users/r-icarus/events{/privacy}","received_events_url":"https://api.github.com/users/r-icarus/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T17:17:04Z","updated_at":"2015-10-26T17:17:04Z","body":"I don't know either the erlsom package does a lot of stuff. Can you try sending the \"test\" as binary instead of char list ? "}}