{"id":87,"date":"2019-02-14T22:06:55","date_gmt":"2019-02-14T20:06:55","guid":{"rendered":"https:\/\/amsd.go.ro\/wordpress\/?p=87"},"modified":"2021-09-07T11:24:44","modified_gmt":"2021-09-07T08:24:44","slug":"how-to-debug-web-services-in-9-1","status":"publish","type":"post","link":"https:\/\/amsd.go.ro\/wordpress\/?p=87","title":{"rendered":"How to debug Web Services in 9.1"},"content":{"rendered":"<p><span style=\"font-size: small;\">The webservices plugin is now loaded in the server so the process of enabling logs has changed. You need to edit the ARSystem\\conf\\logback_server.xml file as detailed in the docs here &#8211; <a class=\"jive-link-external-small\" href=\"https:\/\/docs.bmc.com\/docs\/ars91\/ar-system-and-web-services-introduction-609073949.html\" rel=\"nofollow\">AR System and web services introduction &#8211; BMC Remedy Action Request System 9.1<\/a><\/span><\/p>\n<h1>To enable logging for web services<\/h1>\n<p><span style=\"font-size: small;\">1. Open the <strong>&lt;ARInstallationFolder&gt;\\conf\\logback_server.xml<\/strong> file for editing.<\/span><\/p>\n<p><span style=\"font-size: small;\">2. Update the file with the following lines:<\/span><\/p>\n<pre>&nbsp;&nbsp;&nbsp; &lt;logger name=\"com.bmc.arsys.ws.client.WebServiceSoapClientImpl\"&nbsp;&nbsp;<\/pre>\n<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; level=\"debug\" additivity=\"false\"&gt;<\/pre>\n<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;appender-ref ref=\"ServerLog\" \/&gt;<\/pre>\n<pre>&nbsp;&nbsp;&nbsp; &lt;\/logger&gt;<\/pre>\n<p><span style=\"font-size: small;\">3. Restart the AR System server or use the Reload Log Conf File setting on the Server Information form, Log Files tab.<\/span><\/p>\n<p style=\"margin-bottom: 10px;\"><span style=\"font-size: small;\">Note: If you have provided the appender-ref as ServerLog, the logs for web services will be generated in <strong>arerror.log<\/strong> file.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The webservices plugin is now loaded in the server so the process of enabling logs has changed. You need to edit the ARSystem\\conf\\logback_server.xml file as detailed in the docs here &#8211; AR System and web services introduction &#8211; BMC Remedy [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/amsd.go.ro\/wordpress\/?p=87#more-87\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">How to debug Web Services in 9.1<\/span><\/a><\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13,14,10,12],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-technology","tag-ps_40","tag-ps_41","tag-ps_32","tag-ps_17"],"_links":{"self":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":1,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}