<?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: set xsi:type attribute in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409653#M2018279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.  I was able to add the xsi:type modifying the XSLT mapping as following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ns1:sObjects &lt;STRONG&gt;xsi:type="ns4:Account"&lt;/STRONG&gt; /&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2009 22:37:17 GMT</pubDate>
    <dc:creator>jawwad_sadiq2</dc:creator>
    <dc:date>2009-04-06T22:37:17Z</dc:date>
    <item>
      <title>set xsi:type attribute</title>
      <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaq-p/5409649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to set the xsi:type attribute to some value before I submit the SOAP request from SAP PI.  I have not been able to figure out where how to set the value of this attribute.  I have an XSD that I am using to generate the request, but I do not see anywhere in the mapping tools where I can assign this value.  I tried using MAP Force to do XSLT mapping but couldn't really make that happen using that either...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I would like the request message type to have...&lt;/P&gt;&lt;P&gt;&amp;lt;m:sObjects &lt;STRONG&gt;xsi:type="ns3:Account"&lt;/STRONG&gt; xmlns:ns3="urn:sobject.enterprise.soap.sforce.com"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is how it comes...&lt;/P&gt;&lt;P&gt;&amp;lt;m:sObjects&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips and ideas to make this happen would be highly appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jawwad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2009 05:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaq-p/5409649</guid>
      <dc:creator>jawwad_sadiq2</dc:creator>
      <dc:date>2009-04-06T05:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: set xsi:type attribute</title>
      <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409650#M2018276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be u can edit the wsdl given by the target system...add the attribute with its value and then upload it to XI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can also map it to the constant you require in the message mapping...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2009 06:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409650#M2018276</guid>
      <dc:creator>former_member206760</dc:creator>
      <dc:date>2009-04-06T06:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: set xsi:type attribute</title>
      <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409651#M2018277</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;there are at least two places where you can do it:&lt;/P&gt;&lt;P&gt;a) inside a mapping using XSLT &lt;/P&gt;&lt;P&gt;b) write an adapter module that will add this to your call and put it in receiver soap adapter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michal Krawczyk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2009 06:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409651#M2018277</guid>
      <dc:creator>MichalKrawczyk</dc:creator>
      <dc:date>2009-04-06T06:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: set xsi:type attribute</title>
      <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409652#M2018278</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;You should definetely able to do this by using XSLT. just make sure the target message matches the message format given by the interface definition (XSD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2009 07:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409652#M2018278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-06T07:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: set xsi:type attribute</title>
      <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409653#M2018279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.  I was able to add the xsi:type modifying the XSLT mapping as following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ns1:sObjects &lt;STRONG&gt;xsi:type="ns4:Account"&lt;/STRONG&gt; /&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2009 22:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409653#M2018279</guid>
      <dc:creator>jawwad_sadiq2</dc:creator>
      <dc:date>2009-04-06T22:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: set xsi:type attribute</title>
      <link>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409654#M2018280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you send me XSL you use to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 14:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/set-xsi-type-attribute/qaa-p/5409654#M2018280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-27T14:24:42Z</dc:date>
    </item>
  </channel>
</rss>

