<?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: Insert value from Request message to Response message using GetPayloadValueBean in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567259#M125441</link>
    <description>&lt;P&gt;Check if the XML is having value and also try removing parameter value for remove parameter.&lt;/P&gt;
  &lt;P&gt;Please share the sample XML if possible.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 14:49:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-08-31T14:49:03Z</dc:date>
    <item>
      <title>Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaq-p/567258</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;I have configured the module in Receiver soap channel. while i’m executing it's throwing error like "GetPayloadValueBean: Value cannot be null:" not able to find the exact functionality of the module “GetPayloadValueBean and PutPayload value bean”.&lt;/P&gt;
  &lt;P&gt;My scenario is like (file-soap-file) using Sync and Async bridge its works fine. In same scenario i want to use "GetPayloadValueBean".&lt;/P&gt;
  &lt;P&gt;Soap Receiver Channel: &lt;/P&gt;
  &lt;P&gt;In parameters value i tried with &lt;STRONG&gt;test &lt;/STRONG&gt;double quotes also &lt;B&gt;"test" &lt;/B&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/64843-1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Error log:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/64844-2.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I have used the below blog and created a scenario in 7.5 single stack&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://blogs.sap.com/2013/03/20/insert-value-from-request-message-to-response-using-getpayloadvaluebean-and-putpayloadvaluebean/" target="test_blank"&gt;https://blogs.sap.com/2013/03/20/insert-value-from-request-message-to-response-using-getpayloadvaluebean-and-putpayloadvaluebean/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Please help me if there is any configuration changes.&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Md.Thouheed&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaq-p/567258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-08-31T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567259#M125441</link>
      <description>&lt;P&gt;Check if the XML is having value and also try removing parameter value for remove parameter.&lt;/P&gt;
  &lt;P&gt;Please share the sample XML if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567259#M125441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-08-31T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567260#M125442</link>
      <description>&lt;P&gt;Hi Mohammad,&lt;/P&gt;
  &lt;P&gt;Check if you have any value in the XML for that particular field ?&lt;/P&gt;
  &lt;P&gt;Br,&lt;/P&gt;
  &lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567260#M125442</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-08-31T16:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567261#M125443</link>
      <description>&lt;P&gt;Please follow what Raghuraman and Manoj suggested.&lt;/P&gt;
  &lt;P&gt;Additionally, you need to mention requestresponsebean and responseonewaybean in sender CC not in receiver CC.&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Apu&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567261#M125443</guid>
      <dc:creator>apu_das2</dc:creator>
      <dc:date>2017-08-31T16:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567262#M125444</link>
      <description>&lt;P&gt;Not Necessarily they can be placed in reciever too.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567262#M125444</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-08-31T16:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567263#M125445</link>
      <description>&lt;P&gt;Hi Raghuraman,&lt;/P&gt;
  &lt;P&gt;Sample XML payload:&lt;/P&gt;
  &lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;lt;ns0:mt_req xmlns:ns0="http://file2soapsync"&amp;gt; &amp;lt;Currency_ip&amp;gt; &amp;lt;Req_No&amp;gt;1&amp;lt;/Req_No&amp;gt; &amp;lt;FromCurrency&amp;gt;INR&amp;lt;/FromCurrency&amp;gt; &amp;lt;ToCurrency&amp;gt;EUR&amp;lt;/ToCurrency&amp;gt; &amp;lt;/Currency_ip&amp;gt; &amp;lt;/ns0:mt_req&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:41:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567263#M125445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-01T04:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567264#M125446</link>
      <description>&lt;P&gt;Mohammad,&lt;/P&gt;
  &lt;P&gt;The xmlns parameter value is wrong which does not match with your xml you should have it as :&lt;/P&gt;
  &lt;P&gt;Parameter Name : xmlns&lt;/P&gt;
  &lt;P&gt;Parameter Value : xmlns:ns0="http://file2soapsync";&lt;/P&gt;
  &lt;P&gt;Br,&lt;/P&gt;
  &lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 06:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567264#M125446</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-09-01T06:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567265#M125447</link>
      <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;
  &lt;P&gt;Thanks for replying, but still its throwing error like MP: exception caught with cause com.sap.aii.af.lib.mp.module.ModuleException: GetPayloadValueBean:&lt;STRONG&gt; Value cannot be null:&lt;/STRONG&gt; /p1:mt_req/Currency_ip/Req_No&lt;/P&gt;
  &lt;P&gt;I'm not getting any idea in parameter value which value i can pass there,now i'm passing "test" is it correct?&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Md.Thouheed&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567265#M125447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-01T07:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567266#M125448</link>
      <description>&lt;P&gt;Can you please give the exact xml after your mapping because in the earlier reply i see you have ns0 as prefix and now i see p1.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567266#M125448</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-09-01T07:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567267#M125449</link>
      <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;
  &lt;P&gt;My actually scenario is like jdbc-soap-jdbc using sync and Async bridge, i created two ICO's :&lt;/P&gt;
  &lt;P&gt;1. ICO: JDBC(Async) to soap(Sync) here soap receiver channel we using this all bean's.&lt;/P&gt;
  &lt;P&gt;2. ICO: Soap(Asyn) to JDBC(Asyn) &lt;/P&gt;
  &lt;P&gt;Because there is no primary key to update the record to database so we planning to use this as a link between request and response. Not necessary for sending this to soap(webservice) again once coming back to response and add req_no field and send to receiver jdbc.&lt;/P&gt;
  &lt;P&gt;Is it work to use “GetPayloadValueBean and PutPayload value bean”.&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Md.Thouheed&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567267#M125449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-01T07:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567268#M125450</link>
      <description>&lt;P&gt;What i shared earlier sample XML Payload is exact only, now i'm taken Xpath in receiver determination.&lt;/P&gt;
  &lt;P&gt;After Mapping Sample XML Payload:&lt;/P&gt;
  &lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;lt;ns1:ConversionRate xmlns:ns1="http://www.webserviceX.NET/"&amp;gt; &amp;lt;ns1:Req_NO&amp;gt;1&amp;lt;/ns1:Req_NO&amp;gt; &amp;lt;ns1:FromCurrency&amp;gt;INR&amp;lt;/ns1:FromCurrency&amp;gt; &amp;lt;ns1:ToCurrency&amp;gt;EUR&amp;lt;/ns1:ToCurrency&amp;gt; &amp;lt;/ns1:ConversionRate&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567268#M125450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-01T07:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567269#M125451</link>
      <description>&lt;P&gt;It worked ?Share the XML after mapping.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567269#M125451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-01T07:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567270#M125452</link>
      <description>&lt;P&gt;I'm not sure about PI processing behavour, but it seems to me that namespace prefix in XPath just should match the prefix in xmlns definition.&lt;/P&gt;
  &lt;P&gt;But Manoj is right. Try to use the same prefix as used in your actual XML payload.&lt;/P&gt;
  &lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567270#M125452</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2017-09-01T08:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567271#M125453</link>
      <description>&lt;P&gt;Why not go with Dynamic Configuration Bean ?&lt;/P&gt;
  &lt;P&gt;I recently did a similar interface :&lt;/P&gt;
  &lt;P&gt;IDOC---&amp;gt;SOAP(RR Beans with Dynamic ConfigBean)&lt;/P&gt;
  &lt;P&gt;SOAP--&amp;gt;IDOC &lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567271#M125453</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-09-01T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567272#M125454</link>
      <description>&lt;P&gt;Thanks Manoj, &lt;/P&gt;
  &lt;P&gt;I will try, please share any reffernce blog are link its very help full.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567272#M125454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-01T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567273#M125455</link>
      <description>&lt;P&gt;I just tried with Below XMl and it works fine for me , so i am suspecting either you are providing the wrong xml or the node is not there in the XML.&lt;/P&gt;
  &lt;P&gt;And also try to use a different module key for each module in your case , you are using "Payload" for all three module so try to use a unique module key for each one of them&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/68254-get.png" /&gt;&lt;/P&gt;
  &lt;P&gt;When i delete the node in XML&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/68255-get1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Module Config:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/68256-module.png" /&gt;&lt;/P&gt;
  &lt;P&gt;XML which i tested:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;ns0:mt_req xmlns:ns0="http://file2soapsync"&amp;gt;
&amp;lt;Currency_ip&amp;gt;
&amp;lt;Req_No&amp;gt;1&amp;lt;/Req_No&amp;gt;
&amp;lt;FromCurrency&amp;gt;INR&amp;lt;/FromCurrency&amp;gt;
&amp;lt;ToCurrency&amp;gt;EUR&amp;lt;/ToCurrency&amp;gt;
&amp;lt;/Currency_ip&amp;gt;
&amp;lt;/ns0:mt_req&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 09:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567273#M125455</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-09-01T09:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567274#M125456</link>
      <description>&lt;P&gt;Refer this &lt;A href="https://blogs.sap.com/2015/08/28/copy-value-from-request-message-to-response-message-using-dynamicconfigurationbean-and-dynamic-header-fields/"&gt;blog&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 10:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567274#M125456</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-09-01T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567275#M125457</link>
      <description>&lt;P&gt;Hi Mohmmad,&lt;/P&gt;
  &lt;P&gt;you can use get://Req_No instead of get:/ns0:mt_req/Currency_ip/Req_No, it should work.&lt;/P&gt;
  &lt;P&gt;I have problem with PutPayloadValueBean, did you complete the scenario?&lt;/P&gt;
  &lt;P&gt;br&lt;/P&gt;
  &lt;P&gt;Domenico&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 16:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567275#M125457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-21T16:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Insert value from Request message to Response message using GetPayloadValueBean</title>
      <link>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567276#M125458</link>
      <description>&lt;P&gt;HI Mahammad,&lt;/P&gt;&lt;P&gt;Hope you resolved this issue.&lt;/P&gt;&lt;P&gt;Kindly let me know how did you resolve this issue as i am also stuck like you without having any clue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naga Uday&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 08:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/insert-value-from-request-message-to-response-message-using/qaa-p/567276#M125458</guid>
      <dc:creator>former_member262051</dc:creator>
      <dc:date>2019-06-25T08:38:11Z</dc:date>
    </item>
  </channel>
</rss>

