<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get Data Object in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123967#M14645</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello Sebastian, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help. Thanks to you and my colleague from Dynatrace, Allison, I managed to instrument and get the correct information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Carlos Coqueiro&lt;/P&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 07 Oct 2019 18:50:20 GMT</pubDate>
    <dc:creator>carlos_henrique</dc:creator>
    <dc:date>2019-10-07T18:50:20Z</dc:date>
    <item>
      <title>Get Data Object</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123963#M14641</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I´m trying to get a value of java object. Here is the code of class where is the method that I´m tryng extract value.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;package com.xxx.webservice.impl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;import com.xxx.Dicionario;&lt;/P&gt;&lt;P&gt;import com.xxx.AXGService;&lt;/P&gt;&lt;P&gt;import com.xxx.webservice.AXGSecurityWebservice;&lt;/P&gt;&lt;P&gt;import com.XXX.webservice.WebServiceException;&lt;/P&gt;&lt;P&gt;import org.springframework.web.context.support.SpringBeanAutowiringSupport;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;public class AXGSecurityEndpoint extends SpringBeanAutowiringSupport&lt;/P&gt;&lt;P&gt;    implements AXGSecurityWebservice&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    public Dicionario ManageDevice(Dicionario request)&lt;/P&gt;&lt;P&gt;        throws WebServiceException&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;        return service.manageDevice(request);&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    public Dicionario AnalyzeTransaction(Dicionario request)&lt;/P&gt;&lt;P&gt;        throws WebServiceException&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;        return service.analyzeTransaction(request);&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    public AXGSecurityEndpoint(AXGService service)&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;        this.service = service;&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    public ASGSecurityEndpoint()&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    private ASGService service;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;What can I be doing wrong?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Oct 2019 20:27:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123963#M14641</guid>
      <dc:creator>carlos_henrique</dc:creator>
      <dc:date>2019-10-03T20:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Object</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123964#M14642</link>
      <description>&lt;P&gt;What method you are trying to extract? In general if you will try to read object, dynatrace will make by default toString casting. This means that you will see class name in general. If you want value you have to use Accessor that will extract data of single type (like string or integer) from object. So it can looks like this:&lt;/P&gt;&lt;P&gt;MyObject.getUser().getUserName() &lt;/P&gt;&lt;P&gt;Accessors can be chained so you can make such think which will fetch from one object, another one. From second object we can fetch  String with User Name. &lt;/P&gt;&lt;P&gt;You can't as well just instrument class that conains object you want to extract. You have to instrument method that passes this object as parameter or return value and than mark this param as Request Attribute. Than you have to use proper Accessors to extract simple type data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Oct 2019 08:33:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123964#M14642</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-10-04T08:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Object</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123965#M14643</link>
      <description>&lt;P&gt;I am trying to get an information that is in a SOAP object, in this case, I need to get the return value of the dictionary class that implements an AnalyzeTransaction interface -&amp;gt;&lt;STRONG&gt; return service.analyzeTransaction(request); &lt;/STRONG&gt;How would I do for this return?  AnalyzeTransaction.service.analyzeTransaction()?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Oct 2019 12:53:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123965#M14643</guid>
      <dc:creator>carlos_henrique</dc:creator>
      <dc:date>2019-10-04T12:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Object</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123966#M14644</link>
      <description>&lt;P&gt;For such case there would be not possible. You have to find place where such request is changed into POJO object or String (and use REGEX for data extraction). &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Oct 2019 13:03:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123966#M14644</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-10-04T13:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get Data Object</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123967#M14645</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello Sebastian, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help. Thanks to you and my colleague from Dynatrace, Allison, I managed to instrument and get the correct information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Carlos Coqueiro&lt;/P&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Oct 2019 18:50:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Get-Data-Object/m-p/123967#M14645</guid>
      <dc:creator>carlos_henrique</dc:creator>
      <dc:date>2019-10-07T18:50:20Z</dc:date>
    </item>
  </channel>
</rss>

