<?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: SOAP request syntax in content modifier in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257385#M4590600</link>
    <description>&lt;P&gt;Thanks, it worked with your content. There was a type mistake in my earlier code. This piece &lt;EM&gt;&lt;STRONG&gt;":web"&lt;/STRONG&gt;&lt;/EM&gt; was missing in my namespace which killed me around 2 days in troubleshooting :(. Searched everywhere(google, forums and etc) for help. &lt;/P&gt;&lt;P&gt;xmlns="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&lt;/P&gt;&lt;P&gt;xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 20:04:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-09-14T20:04:44Z</dc:date>
    <item>
      <title>SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaq-p/12257379</link>
      <description>&lt;P&gt;I'm getting this error while making a simple soap call in request-reply step. request is captured using Content modifier. &lt;/P&gt;
  &lt;P&gt;java.lang.IllegalArgumentException:&lt;STRONG&gt; The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage&lt;/STRONG&gt;. Please let me know the syntax of the request in the content modifier step? see attached/below screenshots.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1842559-soapui-req-res-test.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1842560-soap-req-payload-in-content-modifier.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1842561-soap-cal-req-res-settings.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaq-p/12257379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-14T09:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257380#M4590595</link>
      <description>&lt;P&gt;Hi
and welcome to the SAP Community!&lt;/P&gt;&lt;P&gt;Thank you for visiting SAP Community to get
answers to your questions. Since you're asking a question here for the first
time, I recommend that you familiarize yourself with&lt;A href="https://community.sap.com/resources/questions-and-answers"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;(if you haven't already), as it provides
tips for preparing questions that draw responses from our members. For example,
you can outline what steps you took to find answers (and why they weren't
helpful) and share screenshots of what you've seen/done. The more details you
provide, the more likely it is that members will be able to assist you.&lt;/P&gt;&lt;P&gt;Should
you wish, you can revise your question by selecting Actions, then Edit
(although once someone answers your question, you'll lose the ability to edit
the question -- but if that happens, you can leave more details in a comment).&lt;/P&gt;&lt;P&gt;Finally, if you're hoping to connect with
readers, please consider adding a picture to your profile. Here's how you do
it:&lt;A href="https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS"&gt;https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS&lt;/A&gt;. By personalizing your profile with a
photo of you, you encourage readers to respond.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;
Lena&lt;BR /&gt;
SAP Community Moderator&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257380#M4590595</guid>
      <dc:creator>lenastodal</dc:creator>
      <dc:date>2020-09-14T09:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257381#M4590596</link>
      <description>&lt;P&gt;Hello Craig,&lt;/P&gt;&lt;P&gt;Best way is to make simple one to one mapping  before request reply ( use message mapping ) to get rid of this error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add Content modifier with body&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Root&amp;gt;
	&amp;lt;NumberToDollars&amp;gt;100000&amp;lt;/NumberToDollars&amp;gt;
&amp;lt;/Root&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create schema for your input XML( you can leverage Freeformatter or any other tool as its simple XML ) and import it to SAP CPI.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&amp;gt;
  &amp;lt;xs:element name="Root"&amp;gt;
    &amp;lt;xs:complexType&amp;gt;
      &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element type="xs:int" name="NumberToDollars" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
      &amp;lt;/xs:sequence&amp;gt;
    &amp;lt;/xs:complexType&amp;gt;
  &amp;lt;/xs:element&amp;gt;
&amp;lt;/xs:schema&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Step 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add Message Mapping from pallet.Use above schema for input and use your wsdl for target.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1844568-mapping.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 4:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then add Request Reply to get the response from your web service.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sriprasad Shivaram Bhat&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257381#M4590596</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2020-09-14T09:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257382#M4590597</link>
      <description>&lt;P&gt;Thank you for your significant effort and response. I like the design approach but somehow it didn't work, &lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 13:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257382#M4590597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-14T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257383#M4590598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;seems the Namespaces are missing that's why it is failing. Please check the below payload which is working with the timer. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;web:NumberToDollars xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
&amp;lt;web:dNum&amp;gt;10&amp;lt;/web:dNum&amp;gt;
&amp;lt;/web:NumberToDollars&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Sep 2020 16:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257383#M4590598</guid>
      <dc:creator>former_member666312</dc:creator>
      <dc:date>2020-09-14T16:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257384#M4590599</link>
      <description>&lt;P&gt;Tried with Namespace, didn't work. The following below are the different options that I tried. Getting same error.&lt;/P&gt;&lt;P&gt;1.**************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;web:NumberToDollars&amp;gt;&lt;BR /&gt;  &amp;lt;web:dNum&amp;gt;1000000&amp;lt;/web:dNum&amp;gt;&lt;BR /&gt;  &amp;lt;/web:NumberToDollars&amp;gt;&lt;/P&gt;&lt;P&gt;2.**************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;web:dNum&amp;gt;1000000&amp;lt;/web:dNum&amp;gt;&lt;/P&gt;&lt;P&gt;3.**************************************************&lt;/P&gt;&lt;P&gt;1000000&lt;/P&gt;&lt;P&gt;4.**************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;web:NumberToDollars xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&lt;BR /&gt;&amp;lt;web:dNum&amp;gt;1000000&amp;lt;/web:dNum&amp;gt;&lt;BR /&gt;&amp;lt;/web:NumberToDollars&amp;gt;&lt;/P&gt;&lt;P&gt;5. Changed the Type to Constant vs Expression within the modifier. Per say, tried 8-9 combinations with the above. &lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 20:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257384#M4590599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-14T20:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP request syntax in content modifier</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257385#M4590600</link>
      <description>&lt;P&gt;Thanks, it worked with your content. There was a type mistake in my earlier code. This piece &lt;EM&gt;&lt;STRONG&gt;":web"&lt;/STRONG&gt;&lt;/EM&gt; was missing in my namespace which killed me around 2 days in troubleshooting :(. Searched everywhere(google, forums and etc) for help. &lt;/P&gt;&lt;P&gt;xmlns="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&lt;/P&gt;&lt;P&gt;xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 20:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-request-syntax-in-content-modifier/qaa-p/12257385#M4590600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-14T20:04:44Z</dc:date>
    </item>
  </channel>
</rss>

