<?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>Question Re: Retrieve the request/response XMLs in a transaction used as a Web Service in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886225#M39741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; In your BLS transaction you can add a file Write or XMLSaver action block to write the input parameter values of the transaction in a text or XML file. In this way you can't get the exact SOAP request XML but all the input parameter values that is sent in the request while executing the transaction as web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dipankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2011 18:27:04 GMT</pubDate>
    <dc:creator>former_member4529</dc:creator>
    <dc:date>2011-04-29T18:27:04Z</dc:date>
    <item>
      <title>Retrieve the request/response XMLs in a transaction used as a Web Service</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaq-p/7886224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I have a question related to a transaction that will be called as a Web Service from an external system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within that transaction I would like to record the XML request message that was sent to MII for logging purposes.&lt;/P&gt;&lt;P&gt;Is there a way to have such information from within the transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Marcelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 16:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaq-p/7886224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-29T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the request/response XMLs in a transaction used as a Web Service</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886225#M39741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; In your BLS transaction you can add a file Write or XMLSaver action block to write the input parameter values of the transaction in a text or XML file. In this way you can't get the exact SOAP request XML but all the input parameter values that is sent in the request while executing the transaction as web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dipankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 18:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886225#M39741</guid>
      <dc:creator>former_member4529</dc:creator>
      <dc:date>2011-04-29T18:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the request/response XMLs in a transaction used as a Web Service</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886226#M39742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dipankar,&lt;/P&gt;&lt;P&gt;thanks again for helping me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From you reply I assume that it is not possible to get the SOAP request XML, right?&lt;/P&gt;&lt;P&gt;I was wondering if I was missing on some hidden function that would give me such information...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I would like to log the inputs/outputs of a number of different transactions that will have a different number of input/output parameters, using the same DB table structure. I guess I'll have to concatenate all the inputs prior to saving to the DB, not quite the cleanest approach...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fairly new to MII, and I can never get over how much string manipulation is needed to get around all of the limitations. It's frustrating... If anyone has a better idea than concatenating the fields, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marcelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 18:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886226#M39742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-29T18:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the request/response XMLs in a transaction used as a Web Service</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886227#M39743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcelo,&lt;/P&gt;&lt;P&gt;You may also take a look at the Logging action blocks.  XML Tracer and Event Loggers may be useful for your purposes.  Event Logger writes to the NetWeaver logs.  XML Tracer writes to a file and is very similar to XML File Write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test them and see what has value for you.  If you are just using the information for troubleshooting, you may want to put a branch (Conditional) in to only record upon failure.  This will keep the logging to that which you need and not when it is simply going to add to disk space consumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2011 13:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886227#M39743</guid>
      <dc:creator>agentry_src</dc:creator>
      <dc:date>2011-05-01T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the request/response XMLs in a transaction used as a Web Service</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886228#M39744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to keep track of everything that goes through the web service and the idea is to use a database table to keep this data. Ideally I would store the SOAP request and response XMLs directly, but it seems that it is not available in MII.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that the best solution will be to just structure the inputs somehow and save them to the DB table. The problem is that some of the inputs are quite complex and I still haven't got the XML input attribute to work when the transaction is used as a web service...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 16:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886228#M39744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T16:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the request/response XMLs in a transaction used as a Web Service</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886229#M39745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since your transaction only processes the data passed through WDSLGen it does not have the information you require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 19:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/retrieve-the-request-response-xmls-in-a-transaction-used-as-a-web-service/qaa-p/7886229#M39745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T19:28:32Z</dc:date>
    </item>
  </channel>
</rss>

