<?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: Web Service - How to consume base64Binary parameter? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268458#M1722602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marisuz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Use the RFC : SSFC_BASE64_ENCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Pass the below as input to field : BINDATA&amp;nbsp; and BINLENG = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30312C32313130333031303930303030303030303038333335333635312C22414C42495420962074657374205753222C2232 [...]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. you will get output:MDEsMjExMDMwMTA5MDAwMDAwMDAwODMzNTM2NTEsIkFMQklUIJYgdGVzdCBXUyIsIjI=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.K.Shyam Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2013 05:34:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-21T05:34:00Z</dc:date>
    <item>
      <title>Web Service - How to consume base64Binary parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268456#M1722600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I`m facing next problem with Web Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In received WSDL we have operation X and one parameter (let`s name it "Report") is: type="s:base64Binary" . While doing service consumer in SAP this output parameter ("Report") is&amp;nbsp; RAWSTRING type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we are receiving.&lt;/P&gt;&lt;P&gt;It is file binary read send in base64 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our problem is that we are receiving chars not even similar to these send by other side.&lt;/P&gt;&lt;P&gt;For example they are sending us:&lt;/P&gt;&lt;P&gt;"&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;MDEsMjExMDMwMTA5MDAwMDAwMDAwODMzNTM2NTEsIkFMQklUIJYgdGVzdCBXUyIsIjI3LzEyLzEyIiwiNCIsIjAwIiwwLjY [...]"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;and in output structure we can see:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;"&lt;/SPAN&gt;30312C32313130333031303930303030303030303038333335333635312C22414C42495420962074657374205753222C2232 [...] "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible SAP is converting it?&lt;/P&gt;&lt;P&gt;I have tried many ways of RAWSTRING -&amp;gt; XSTRING -&amp;gt; STRING on received strings in order to get these which are send with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone have any idea what can be wrong or how to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268456#M1722600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T14:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service - How to consume base64Binary parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268457#M1722601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to convert the base64 encoding. The following link may help:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/thread/124427" title="http://scn.sap.com/thread/124427"&gt;http://scn.sap.com/thread/124427&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 14:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268457#M1722601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-27T14:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service - How to consume base64Binary parameter?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268458#M1722602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marisuz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Use the RFC : SSFC_BASE64_ENCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Pass the below as input to field : BINDATA&amp;nbsp; and BINLENG = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30312C32313130333031303930303030303030303038333335333635312C22414C42495420962074657374205753222C2232 [...]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. you will get output:MDEsMjExMDMwMTA5MDAwMDAwMDAwODMzNTM2NTEsIkFMQklUIJYgdGVzdCBXUyIsIjI=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.K.Shyam Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 05:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-how-to-consume-base64binary-parameter/m-p/9268458#M1722602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-21T05:34:00Z</dc:date>
    </item>
  </channel>
</rss>

