{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/product-mdm/pulls/comments/52851527","id":52851527,"diff_hunk":"@@ -303,14 +311,35 @@ public String prepareWapProvisioningXML(\n             Node pollValue = pollingAttributes.getNamedItem(PluginConstants.CertificateEnrolment.VALUE);\n             pollValue.setTextContent(pollingFrequency);\n             if (log.isDebugEnabled()) {\n-                log.debug(\"Username: \" + username + \"Password: \" + requestSecurityTokenResponse);\n+                log.debug(\"Username: \" + userName + \"Password: \" + requestSecurityTokenResponse);\n             }\n             wapProvisioningString = convertDocumentToString(document);\n-\n-            //Generic exception is caught here as there is no need of taking different actions for\n-            //different exceptions.\n-        } catch (Exception e) {\n-            String msg = \"Problem occurred with wap-provisioning.xml file.\";\n+        } catch (ParserConfigurationException e) {\n+            String msg = \"Problem occurred in parsing wap-provisioning.xml file.\";\n+            log.error(msg, e);","path":"modules/mobile-agents/windows/jax-rs/src/main/java/org/wso2/carbon/mdm/mobileservices/windows/services/wstep/impl/CertificateEnrollmentServiceImpl.java","position":163,"original_position":163,"commit_id":"56d4a58285ad3a830282ba2e81161a4bdfaad79f","original_commit_id":"56d4a58285ad3a830282ba2e81161a4bdfaad79f","user":{"login":"hasuniea","id":12996810,"avatar_url":"https://avatars.githubusercontent.com/u/12996810?v=3","gravatar_id":"","url":"https://api.github.com/users/hasuniea","html_url":"https://github.com/hasuniea","followers_url":"https://api.github.com/users/hasuniea/followers","following_url":"https://api.github.com/users/hasuniea/following{/other_user}","gists_url":"https://api.github.com/users/hasuniea/gists{/gist_id}","starred_url":"https://api.github.com/users/hasuniea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasuniea/subscriptions","organizations_url":"https://api.github.com/users/hasuniea/orgs","repos_url":"https://api.github.com/users/hasuniea/repos","events_url":"https://api.github.com/users/hasuniea/events{/privacy}","received_events_url":"https://api.github.com/users/hasuniea/received_events","type":"User","site_admin":false},"body":"fixed issue from https://github.com/wso2/product-mdm/pull/156","created_at":"2016-02-14T23:59:33Z","updated_at":"2016-02-14T23:59:33Z","html_url":"https://github.com/wso2/product-mdm/pull/84#discussion_r52851527","pull_request_url":"https://api.github.com/repos/wso2/product-mdm/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/comments/52851527"},"html":{"href":"https://github.com/wso2/product-mdm/pull/84#discussion_r52851527"},"pull_request":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/product-mdm/pulls/84","id":49531000,"html_url":"https://github.com/wso2/product-mdm/pull/84","diff_url":"https://github.com/wso2/product-mdm/pull/84.diff","patch_url":"https://github.com/wso2/product-mdm/pull/84.patch","issue_url":"https://api.github.com/repos/wso2/product-mdm/issues/84","number":84,"state":"closed","locked":false,"title":"Refactored authenticating user in SOAP [XCEP]endpoint.","user":{"login":"hasuniea","id":12996810,"avatar_url":"https://avatars.githubusercontent.com/u/12996810?v=3","gravatar_id":"","url":"https://api.github.com/users/hasuniea","html_url":"https://github.com/hasuniea","followers_url":"https://api.github.com/users/hasuniea/followers","following_url":"https://api.github.com/users/hasuniea/following{/other_user}","gists_url":"https://api.github.com/users/hasuniea/gists{/gist_id}","starred_url":"https://api.github.com/users/hasuniea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasuniea/subscriptions","organizations_url":"https://api.github.com/users/hasuniea/orgs","repos_url":"https://api.github.com/users/hasuniea/repos","events_url":"https://api.github.com/users/hasuniea/events{/privacy}","received_events_url":"https://api.github.com/users/hasuniea/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-03T08:56:14Z","updated_at":"2016-02-14T23:59:33Z","closed_at":"2015-11-16T11:17:56Z","merged_at":"2015-11-16T11:17:56Z","merge_commit_sha":"2d5d3a6b5ff26a6c27aacd1d4a972e9f6ea24309","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/product-mdm/pulls/84/commits","review_comments_url":"https://api.github.com/repos/wso2/product-mdm/pulls/84/comments","review_comment_url":"https://api.github.com/repos/wso2/product-mdm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/product-mdm/issues/84/comments","statuses_url":"https://api.github.com/repos/wso2/product-mdm/statuses/56d4a58285ad3a830282ba2e81161a4bdfaad79f","head":{"label":"hasuniea:master","ref":"master","sha":"56d4a58285ad3a830282ba2e81161a4bdfaad79f","user":{"login":"hasuniea","id":12996810,"avatar_url":"https://avatars.githubusercontent.com/u/12996810?v=3","gravatar_id":"","url":"https://api.github.com/users/hasuniea","html_url":"https://github.com/hasuniea","followers_url":"https://api.github.com/users/hasuniea/followers","following_url":"https://api.github.com/users/hasuniea/following{/other_user}","gists_url":"https://api.github.com/users/hasuniea/gists{/gist_id}","starred_url":"https://api.github.com/users/hasuniea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasuniea/subscriptions","organizations_url":"https://api.github.com/users/hasuniea/orgs","repos_url":"https://api.github.com/users/hasuniea/repos","events_url":"https://api.github.com/users/hasuniea/events{/privacy}","received_events_url":"https://api.github.com/users/hasuniea/received_events","type":"User","site_admin":false},"repo":{"id":41124441,"name":"product-mdm","full_name":"hasuniea/product-mdm","owner":{"login":"hasuniea","id":12996810,"avatar_url":"https://avatars.githubusercontent.com/u/12996810?v=3","gravatar_id":"","url":"https://api.github.com/users/hasuniea","html_url":"https://github.com/hasuniea","followers_url":"https://api.github.com/users/hasuniea/followers","following_url":"https://api.github.com/users/hasuniea/following{/other_user}","gists_url":"https://api.github.com/users/hasuniea/gists{/gist_id}","starred_url":"https://api.github.com/users/hasuniea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasuniea/subscriptions","organizations_url":"https://api.github.com/users/hasuniea/orgs","repos_url":"https://api.github.com/users/hasuniea/repos","events_url":"https://api.github.com/users/hasuniea/events{/privacy}","received_events_url":"https://api.github.com/users/hasuniea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hasuniea/product-mdm","description":"","fork":true,"url":"https://api.github.com/repos/hasuniea/product-mdm","forks_url":"https://api.github.com/repos/hasuniea/product-mdm/forks","keys_url":"https://api.github.com/repos/hasuniea/product-mdm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasuniea/product-mdm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasuniea/product-mdm/teams","hooks_url":"https://api.github.com/repos/hasuniea/product-mdm/hooks","issue_events_url":"https://api.github.com/repos/hasuniea/product-mdm/issues/events{/number}","events_url":"https://api.github.com/repos/hasuniea/product-mdm/events","assignees_url":"https://api.github.com/repos/hasuniea/product-mdm/assignees{/user}","branches_url":"https://api.github.com/repos/hasuniea/product-mdm/branches{/branch}","tags_url":"https://api.github.com/repos/hasuniea/product-mdm/tags","blobs_url":"https://api.github.com/repos/hasuniea/product-mdm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasuniea/product-mdm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasuniea/product-mdm/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasuniea/product-mdm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasuniea/product-mdm/statuses/{sha}","languages_url":"https://api.github.com/repos/hasuniea/product-mdm/languages","stargazers_url":"https://api.github.com/repos/hasuniea/product-mdm/stargazers","contributors_url":"https://api.github.com/repos/hasuniea/product-mdm/contributors","subscribers_url":"https://api.github.com/repos/hasuniea/product-mdm/subscribers","subscription_url":"https://api.github.com/repos/hasuniea/product-mdm/subscription","commits_url":"https://api.github.com/repos/hasuniea/product-mdm/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasuniea/product-mdm/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasuniea/product-mdm/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasuniea/product-mdm/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasuniea/product-mdm/contents/{+path}","compare_url":"https://api.github.com/repos/hasuniea/product-mdm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasuniea/product-mdm/merges","archive_url":"https://api.github.com/repos/hasuniea/product-mdm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasuniea/product-mdm/downloads","issues_url":"https://api.github.com/repos/hasuniea/product-mdm/issues{/number}","pulls_url":"https://api.github.com/repos/hasuniea/product-mdm/pulls{/number}","milestones_url":"https://api.github.com/repos/hasuniea/product-mdm/milestones{/number}","notifications_url":"https://api.github.com/repos/hasuniea/product-mdm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasuniea/product-mdm/labels{/name}","releases_url":"https://api.github.com/repos/hasuniea/product-mdm/releases{/id}","deployments_url":"https://api.github.com/repos/hasuniea/product-mdm/deployments","created_at":"2015-08-21T00:04:21Z","updated_at":"2016-01-20T05:48:45Z","pushed_at":"2016-02-12T10:10:23Z","git_url":"git://github.com/hasuniea/product-mdm.git","ssh_url":"git@github.com:hasuniea/product-mdm.git","clone_url":"https://github.com/hasuniea/product-mdm.git","svn_url":"https://github.com/hasuniea/product-mdm","homepage":null,"size":72806,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"11d341f3a8e39dc7dcfc2cd4278ea478f28d63f5","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":29459213,"name":"product-mdm","full_name":"wso2/product-mdm","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/product-mdm","description":"","fork":false,"url":"https://api.github.com/repos/wso2/product-mdm","forks_url":"https://api.github.com/repos/wso2/product-mdm/forks","keys_url":"https://api.github.com/repos/wso2/product-mdm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/product-mdm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/product-mdm/teams","hooks_url":"https://api.github.com/repos/wso2/product-mdm/hooks","issue_events_url":"https://api.github.com/repos/wso2/product-mdm/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/product-mdm/events","assignees_url":"https://api.github.com/repos/wso2/product-mdm/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/product-mdm/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/product-mdm/tags","blobs_url":"https://api.github.com/repos/wso2/product-mdm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/product-mdm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/product-mdm/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/product-mdm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/product-mdm/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/product-mdm/languages","stargazers_url":"https://api.github.com/repos/wso2/product-mdm/stargazers","contributors_url":"https://api.github.com/repos/wso2/product-mdm/contributors","subscribers_url":"https://api.github.com/repos/wso2/product-mdm/subscribers","subscription_url":"https://api.github.com/repos/wso2/product-mdm/subscription","commits_url":"https://api.github.com/repos/wso2/product-mdm/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/product-mdm/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/product-mdm/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/product-mdm/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/product-mdm/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/product-mdm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/product-mdm/merges","archive_url":"https://api.github.com/repos/wso2/product-mdm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/product-mdm/downloads","issues_url":"https://api.github.com/repos/wso2/product-mdm/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/product-mdm/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/product-mdm/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/product-mdm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/product-mdm/labels{/name}","releases_url":"https://api.github.com/repos/wso2/product-mdm/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/product-mdm/deployments","created_at":"2015-01-19T07:36:01Z","updated_at":"2016-02-05T12:13:05Z","pushed_at":"2016-02-14T15:58:30Z","git_url":"git://github.com/wso2/product-mdm.git","ssh_url":"git@github.com:wso2/product-mdm.git","clone_url":"https://github.com/wso2/product-mdm.git","svn_url":"https://github.com/wso2/product-mdm","homepage":null,"size":72920,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":5,"forks":34,"open_issues":5,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/84"},"html":{"href":"https://github.com/wso2/product-mdm/pull/84"},"issue":{"href":"https://api.github.com/repos/wso2/product-mdm/issues/84"},"comments":{"href":"https://api.github.com/repos/wso2/product-mdm/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/product-mdm/statuses/56d4a58285ad3a830282ba2e81161a4bdfaad79f"}}}}