<?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: Issue to get conent vlaue in java mapping in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125925#M4530985</link>
    <description>&lt;P&gt;Hi Binod!&lt;/P&gt;&lt;P&gt;If you're talking about testing with SOAP UI after re-importing WSDL definition, value like "cid:*" is used by deafult as template value for "xsd:base64Binary" data type. In real scenarios such elements usually contain binary or Base64-encoded data.&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 12:06:51 GMT</pubDate>
    <dc:creator>former_member190293</dc:creator>
    <dc:date>2019-12-20T12:06:51Z</dc:date>
    <item>
      <title>Issue to get conent vlaue in java mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaq-p/12125922</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am uplaoding the file to vendor system through SoapUI, after opening the uploadByteArrayFile method it has three values to pass &lt;/P&gt;
  &lt;P&gt;1. FileName -&amp;gt; I can read file name dynamically and pass it &lt;/P&gt;
  &lt;P&gt;2. Content -&amp;gt;every time when i import wsdl in sopaui new content vlaue is coming, this value is always gettign changed, &lt;/P&gt;
  &lt;P&gt;3. Destination -&amp;gt;it's user id, so no issue&lt;/P&gt;
  &lt;P&gt;I have issue for content value, ohter two i can handle in java mapping, how can i get content value from java code so that i can pass it.&lt;A href="https://answers.sap.com/storage/temp/1756281-content-issue.png"&gt;content-issue.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Please help me to get the content value ?&lt;/P&gt;
  &lt;P&gt;i am not sure, might be need to call the wsdl url or somting.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Binod&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaq-p/12125922</guid>
      <dc:creator>Binod_Thakur</dc:creator>
      <dc:date>2019-12-19T11:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue to get conent vlaue in java mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125923#M4530983</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;As far as I could understand your requirement, you should get byte array from your source file and convert it to Base64-encoded string.&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 12:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125923#M4530983</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2019-12-19T12:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue to get conent vlaue in java mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125924#M4530984</link>
      <description>&lt;P&gt;Thanks Evgeniy,&lt;/P&gt;&lt;P&gt;I saw yout ocmment on one of the thread, there same logic you had implemented, get byte array from source file and convert it to Base64-encoded, but i didn't try this.&lt;/P&gt;&lt;P&gt;My issue got resolved, after seeing the content value carefully i got to know every time it contains 12 digits no starting with "cid:" like cid:&amp;lt;12 digits no&amp;gt;.&lt;/P&gt;&lt;P&gt;So I tried creating random no which contians 12 digits and pass it to content value dynamically and it worked as expected.&lt;/P&gt;&lt;P&gt;But let me try your logic and will update on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125924#M4530984</guid>
      <dc:creator>Binod_Thakur</dc:creator>
      <dc:date>2019-12-20T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue to get conent vlaue in java mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125925#M4530985</link>
      <description>&lt;P&gt;Hi Binod!&lt;/P&gt;&lt;P&gt;If you're talking about testing with SOAP UI after re-importing WSDL definition, value like "cid:*" is used by deafult as template value for "xsd:base64Binary" data type. In real scenarios such elements usually contain binary or Base64-encoded data.&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 12:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125925#M4530985</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2019-12-20T12:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue to get conent vlaue in java mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125926#M4530986</link>
      <description>&lt;UL&gt;&lt;/UL&gt;&lt;P&gt;Hi Evgeniy,&lt;/P&gt;&lt;P&gt;It's working in this way as well, fileobject -&amp;gt;byte array -&amp;gt;convert to base64 and pass this value to content field.&lt;/P&gt;&lt;P&gt;I used import java.util.Base64; code got compiled successfully, but when i import jar file in ESR then it's throwing error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoClassDefFoundError: java/util/Base64, MappingClassNotFoundException: java/util/Base64.class&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;don't know why, i used jre1.8 for compilation and PO is 7.4 single stack and using jdk 1.6&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binod&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 09:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125926#M4530986</guid>
      <dc:creator>Binod_Thakur</dc:creator>
      <dc:date>2019-12-23T09:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue to get conent vlaue in java mapping</title>
      <link>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125927#M4530987</link>
      <description>&lt;P&gt;Hi Evgeniy,&lt;/P&gt;&lt;P&gt;Thanks for your help, it's working now as expected.&lt;/P&gt;&lt;P&gt;Same code i tried with java 6 in NWDS and imported it in ESR message got sent successfully.&lt;/P&gt;&lt;P&gt;I am closing the thread now.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binod&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 10:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/issue-to-get-conent-vlaue-in-java-mapping/qaa-p/12125927#M4530987</guid>
      <dc:creator>Binod_Thakur</dc:creator>
      <dc:date>2019-12-23T10:26:24Z</dc:date>
    </item>
  </channel>
</rss>

