<?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: Do not use SOAP envelope in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435630#M2672071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is to load the WSDL into a third-party program such as SOAP UI. From there, it will generate an empty request comprising of the soap envelope, header and body. You can duplicate this request by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Create the header data type&lt;/P&gt;&lt;P&gt;2.) Create the body data type&lt;/P&gt;&lt;P&gt;3.) Create the envelope data type and inside it is the header and body data type&lt;/P&gt;&lt;P&gt;4.) Use Java Mapping to add prefixes and namespaces in your envelope&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 06:04:02 GMT</pubDate>
    <dc:creator>markangelo_dihiansan</dc:creator>
    <dc:date>2011-02-01T06:04:02Z</dc:date>
    <item>
      <title>Do not use SOAP envelope</title>
      <link>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaq-p/7435628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a scenario in which a Webservice is called from PI; as the webservice request some specific fields in the SOAP-header I have found that I should check the "Do not use SOAP envelope" option in the SOAP-receiver channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have searched the forum/SDN for examples of how to create the SOAP envelope including the required header fields. I have found some posts refering to XSLT-mapping; however I'm not famliar with XSLT so I'm looking for an example or guide how to create the SOAP envelope for this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody be of assistance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 15:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaq-p/7435628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T15:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Do not use SOAP envelope</title>
      <link>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435629#M2672070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample of an xlst I used for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-1"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:stylesheet version="1.0"&lt;/P&gt;&lt;P&gt;xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:template match="/"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soapenv:Header/&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;p262:operationName xmlns:p262="http://othersite.com"&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;xsl:apply-templates/&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;/p262:operationName&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/xsl:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:template match="shippingOptions"&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;shippingOptions&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;xsl:apply-templates select="destination" /&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;equipmentId&amp;gt;&amp;lt;xsl:value-of select="equipmentId"/&amp;gt;&amp;lt;/equipmentId&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;xsl:apply-templates select="origin" /&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/shippingOptions&amp;gt;      &lt;/P&gt;&lt;P&gt;&amp;lt;/xsl:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:template match="destination"&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;destination&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;countryCode&amp;gt;&amp;lt;xsl:value-of select="countryCode"/&amp;gt;&amp;lt;/countryCode&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;postalCode&amp;gt;&amp;lt;xsl:value-of select="postalCode"/&amp;gt;&amp;lt;/postalCode&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/destination&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/xsl:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;xsl:template match="origin"&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;origin&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;countryCode&amp;gt;&amp;lt;xsl:value-of select="countryCode"/&amp;gt;&amp;lt;/countryCode&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;postalCode&amp;gt;&amp;lt;xsl:value-of select="postalCode"/&amp;gt;&amp;lt;/postalCode&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/origin&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/xsl:template&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/xsl:stylesheet&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 21:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435629#M2672070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T21:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Do not use SOAP envelope</title>
      <link>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435630#M2672071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is to load the WSDL into a third-party program such as SOAP UI. From there, it will generate an empty request comprising of the soap envelope, header and body. You can duplicate this request by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Create the header data type&lt;/P&gt;&lt;P&gt;2.) Create the body data type&lt;/P&gt;&lt;P&gt;3.) Create the envelope data type and inside it is the header and body data type&lt;/P&gt;&lt;P&gt;4.) Use Java Mapping to add prefixes and namespaces in your envelope&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 06:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435630#M2672071</guid>
      <dc:creator>markangelo_dihiansan</dc:creator>
      <dc:date>2011-02-01T06:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Do not use SOAP envelope</title>
      <link>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435631#M2672072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create a style like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&amp;gt;
	&amp;lt;xsl:template match="/"&amp;gt;
		&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="myTargetNS"&amp;gt;
			&amp;lt;soapenv:Header/&amp;gt;
			&amp;lt;soapenv:Body&amp;gt;
				&amp;lt;xsl:copy-of select="*"/&amp;gt;
			&amp;lt;/soapenv:Body&amp;gt;
		&amp;lt;/soapenv:Envelope&amp;gt;
	&amp;lt;/xsl:template&amp;gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create the envelope by copy and paste and add the content by xsl:copy-of. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/do-not-use-soap-envelope/qaa-p/7435631#M2672072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T09:04:05Z</dc:date>
    </item>
  </channel>
</rss>

