<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Get web service name</title><link>https://answers.axonivy.com/questions/4639/get-web-service-name</link><description>&lt;p&gt;Hi Team,
i got a new requirement that needs to log every time Webservice call with ws name and some value.&lt;/p&gt;
&lt;p&gt;Is there any way that i can get the name of ws process element (in &lt;strong&gt;Code&lt;/strong&gt; tab)?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://ibb.co/z4kyqSn"&gt;&lt;img alt="ws" src="https://i.ibb.co/z4kyqSn/ws.png" border="0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Minh&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4639/get-web-service-name" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 24 Jul 2020 05:31:58 -0400</lastBuildDate><item><title>Comment by docvominh on docvominh's answer</title><link>https://answers.axonivy.com/questions/4639/get-web-service-name#4655</link><description>&lt;p&gt;i got it, thanh you :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">docvominh</dc:creator><pubDate>Fri, 24 Jul 2020 05:31:58 -0400</pubDate><guid>https://answers.axonivy.com/questions/4639/get-web-service-name#4655</guid></item><item><title>Comment by Reguel Wermelinger on docvominh's answer</title><link>https://answers.axonivy.com/questions/4639/get-web-service-name#4654</link><description>&lt;p&gt;In the 7.0 webservice stack there is no handle for the service name in the code tab. Of course you can monitor webservice calls via log output and put them to a database e.g. by using the Logstash form the elkstack or another thirdparty which is built to deal with logs.&lt;/p&gt;
&lt;p&gt;In the 8.0 LTS webservice stack, a custom logging to database can be easily provided when using the new CXF webservice library. There users can easily contribute custom functionality by implementing a &lt;code&gt;ch.ivyteam.ivy.webservice.exec.feature.WebServiceClientFeature&lt;/code&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 24 Jul 2020 05:15:20 -0400</pubDate><guid>https://answers.axonivy.com/questions/4639/get-web-service-name#4654</guid></item><item><title>Answer by docvominh</title><link>https://answers.axonivy.com/questions/4639/get-web-service-name/4653</link><description>&lt;p&gt;so it means i can not get the name in the &lt;strong&gt;code&lt;/strong&gt; tab after call ws?&lt;/p&gt;
&lt;p&gt;we just want to save the name to our database to track history of the case.&lt;/p&gt;
&lt;p&gt;&lt;img alt="ws" src="https://i.ibb.co/9rMFQq8/ws.png" border="0"&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Minh&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">docvominh</dc:creator><pubDate>Fri, 24 Jul 2020 04:54:51 -0400</pubDate><guid>https://answers.axonivy.com/questions/4639/get-web-service-name/4653</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/4639/get-web-service-name/4650</link><description>&lt;p&gt;Hi &lt;a href="https://answers.axonivy.com/users/844/docvominh"&gt;&lt;a href="https://answers.axonivy.com/users/844/docvominh"&gt;@docvominh&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The ServiceName should be already logged by default on level debug. As shown by example in these runtime logs of my designer &lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/webserviceLogs.png"&gt;
I'd setup a specific log channel on level debug for the interesting web services: &lt;a href="https://developer.axonivy.com/doc/8.0/engine-guide/monitoring/logging.html#runtime-log"&gt;https://developer.axonivy.com/doc/8.0/engine-guide/monitoring/logging.html#runtime-log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, from your screenshot I recon that you are using a pre 8.0 LTS ivy version. The runtime logs may differ a little back there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 23 Jul 2020 04:32:57 -0400</pubDate><guid>https://answers.axonivy.com/questions/4639/get-web-service-name/4650</guid></item></channel></rss>