{"action":"created","issue":{"url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/issues/15","repository_url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java","labels_url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/issues/15/comments","events_url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/issues/15/events","html_url":"https://github.com/salesforce-marketingcloud/FuelSDK-Java/issues/15","id":54336027,"number":15,"title":"Initializing ETClient for REST connection requires CXF","user":{"login":"eranbetzalel","id":1410746,"avatar_url":"https://avatars.githubusercontent.com/u/1410746?v=3","gravatar_id":"","url":"https://api.github.com/users/eranbetzalel","html_url":"https://github.com/eranbetzalel","followers_url":"https://api.github.com/users/eranbetzalel/followers","following_url":"https://api.github.com/users/eranbetzalel/following{/other_user}","gists_url":"https://api.github.com/users/eranbetzalel/gists{/gist_id}","starred_url":"https://api.github.com/users/eranbetzalel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eranbetzalel/subscriptions","organizations_url":"https://api.github.com/users/eranbetzalel/orgs","repos_url":"https://api.github.com/users/eranbetzalel/repos","events_url":"https://api.github.com/users/eranbetzalel/events{/privacy}","received_events_url":"https://api.github.com/users/eranbetzalel/received_events","type":"User","site_admin":false},"labels":[{"id":45783352,"url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"imurdock","id":1245285,"avatar_url":"https://avatars.githubusercontent.com/u/1245285?v=3","gravatar_id":"","url":"https://api.github.com/users/imurdock","html_url":"https://github.com/imurdock","followers_url":"https://api.github.com/users/imurdock/followers","following_url":"https://api.github.com/users/imurdock/following{/other_user}","gists_url":"https://api.github.com/users/imurdock/gists{/gist_id}","starred_url":"https://api.github.com/users/imurdock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurdock/subscriptions","organizations_url":"https://api.github.com/users/imurdock/orgs","repos_url":"https://api.github.com/users/imurdock/repos","events_url":"https://api.github.com/users/imurdock/events{/privacy}","received_events_url":"https://api.github.com/users/imurdock/received_events","type":"User","site_admin":false},"assignees":[{"login":"imurdock","id":1245285,"avatar_url":"https://avatars.githubusercontent.com/u/1245285?v=3","gravatar_id":"","url":"https://api.github.com/users/imurdock","html_url":"https://github.com/imurdock","followers_url":"https://api.github.com/users/imurdock/followers","following_url":"https://api.github.com/users/imurdock/following{/other_user}","gists_url":"https://api.github.com/users/imurdock/gists{/gist_id}","starred_url":"https://api.github.com/users/imurdock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurdock/subscriptions","organizations_url":"https://api.github.com/users/imurdock/orgs","repos_url":"https://api.github.com/users/imurdock/repos","events_url":"https://api.github.com/users/imurdock/events{/privacy}","received_events_url":"https://api.github.com/users/imurdock/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/milestones/2","html_url":"https://github.com/salesforce-marketingcloud/FuelSDK-Java/milestones/v1.2","labels_url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/milestones/2/labels","id":1303495,"number":2,"title":"v1.2","description":null,"creator":{"login":"imurdock","id":1245285,"avatar_url":"https://avatars.githubusercontent.com/u/1245285?v=3","gravatar_id":"","url":"https://api.github.com/users/imurdock","html_url":"https://github.com/imurdock","followers_url":"https://api.github.com/users/imurdock/followers","following_url":"https://api.github.com/users/imurdock/following{/other_user}","gists_url":"https://api.github.com/users/imurdock/gists{/gist_id}","starred_url":"https://api.github.com/users/imurdock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurdock/subscriptions","organizations_url":"https://api.github.com/users/imurdock/orgs","repos_url":"https://api.github.com/users/imurdock/repos","events_url":"https://api.github.com/users/imurdock/events{/privacy}","received_events_url":"https://api.github.com/users/imurdock/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-09-14T02:28:23Z","updated_at":"2015-09-14T02:28:23Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-01-14T15:38:59Z","updated_at":"2016-11-11T16:23:31Z","closed_at":null,"body":"I think the following code should do the trick:\n\n```\npublic ETSoapConnection getSoapConnection() throws ETSdkException{\n        if (soapConnection == null) {\n            if (soapEndpoint == null) {\n                String response = restConnection.get(PATH_ENDPOINTS_SOAP);\n                JsonParser jsonParser = new JsonParser();\n                JsonObject jsonObject = jsonParser.parse(response).getAsJsonObject();\n                soapEndpoint = jsonObject.get(\"url\").getAsString();\n                logger.debug(\"SOAP endpoint: \" + soapEndpoint);\n            }\n\n            soapConnection = new ETSoapConnection(this, soapEndpoint);\n        }\n\n        return soapConnection;\n    }\n```\n"},"comment":{"url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/issues/comments/259994546","html_url":"https://github.com/salesforce-marketingcloud/FuelSDK-Java/issues/15#issuecomment-259994546","issue_url":"https://api.github.com/repos/salesforce-marketingcloud/FuelSDK-Java/issues/15","id":259994546,"user":{"login":"Geooorg","id":1155217,"avatar_url":"https://avatars.githubusercontent.com/u/1155217?v=3","gravatar_id":"","url":"https://api.github.com/users/Geooorg","html_url":"https://github.com/Geooorg","followers_url":"https://api.github.com/users/Geooorg/followers","following_url":"https://api.github.com/users/Geooorg/following{/other_user}","gists_url":"https://api.github.com/users/Geooorg/gists{/gist_id}","starred_url":"https://api.github.com/users/Geooorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geooorg/subscriptions","organizations_url":"https://api.github.com/users/Geooorg/orgs","repos_url":"https://api.github.com/users/Geooorg/repos","events_url":"https://api.github.com/users/Geooorg/events{/privacy}","received_events_url":"https://api.github.com/users/Geooorg/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T16:23:31Z","updated_at":"2016-11-11T16:23:31Z","body":"Please consider providing two different artifacts for using either REST _or_ SOAP in future.\r\nThe SOAP client is really very clumsy and pulls in gigabytes of dependencies."}}
{"actor":{"display_login":"Geooorg"}}