<?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: How to capture SOAP fault when using &amp;quot;Do not use SOAP envelope&amp;quot; parameter in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850533#M2483333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gil:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came cross same situation in the past, and I can not achieve what you want.&lt;/P&gt;&lt;P&gt;This is the limitation of PI, it does not support Fault message handling of SOAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even you can use other SOAP client, you can see the fault message coming back, but PI adapter does not handle it back to Integration engine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fault message in PI can be only be used in Inbound Proxy, RFC etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 17:34:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-11T17:34:31Z</dc:date>
    <item>
      <title>How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaq-p/6850527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have exactly the problem described in this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3200761"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because this thread is 2 years old and I'm not the thread owner I start a new thread.  &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My actual problem is that I have to manipulate the header of my request (insert authentication information). That's why I use a solution as Bhavesh explained it here at post 3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1152156"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All works fine as long I get regular answers from the web service. But I get problems if I receive a soap fault. This causes a system error at the adapter framework and not an application error. I'm not to handle this with a XSLT Mapping like at the normal case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 14:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaq-p/6850527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-03T14:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850528#M2483328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a similar case I have created my own SOAP response message (XSD as an external definition) instead of using the response message provided by the WSDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have married the "normal" response and the fault response into one message by defining all fields as optional. The envelope and the header is allways the same one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can receive the response and the fault messages with only one target messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 16:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850528#M2483328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-03T16:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850529#M2483329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds interesting. I will test it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850529#M2483329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850530#M2483330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I've thought about your suggestion for a while but I have no idea how this can work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I would have a mapping problem with the response message I would get an error first at this step. In this case I would find the Payload of the incoming message in sxmb_moni. But in my case I have no payload. So I can't deal with that in any way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I look at the error node I found the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes" ?&amp;gt; 
- &amp;lt;!-- 
 Eingangs-Message 
  --&amp;gt; 
- &amp;lt;SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"&amp;gt;
  &amp;lt;SAP:Category&amp;gt;XIAdapterFramework&amp;lt;/SAP:Category&amp;gt; 
  &amp;lt;SAP:Code area="MESSAGE"&amp;gt;GENERAL&amp;lt;/SAP:Code&amp;gt; 
  &amp;lt;SAP:P1 /&amp;gt; 
  &amp;lt;SAP:P2 /&amp;gt; 
  &amp;lt;SAP:P3 /&amp;gt; 
  &amp;lt;SAP:P4 /&amp;gt; 
  &amp;lt;SAP:AdditionalText&amp;gt;com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error&amp;lt;/SAP:AdditionalText&amp;gt; 
  &amp;lt;SAP:Stack /&amp;gt; 
  &amp;lt;SAP:Retry&amp;gt;M&amp;lt;/SAP:Retry&amp;gt; 
  &amp;lt;/SAP:Error&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have no payload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand how you suggestion can solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional remark: If I look at the message monitoring of the RWB I found 2 messages (request and response) if the request was successful. If I get a server error I only get one, the request. I can find the error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error

Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error

Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error. Setting message to status failed.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 12:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850530#M2483330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850531#M2483331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your case, the error is exception from adapter, this is not normal fault message, it is considered as technical error which suppose to be handled by alerting framework.&lt;/P&gt;&lt;P&gt;SAP Fault message is designed to handle application error, not technical error, please see the definition below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=======SAP Definition======&lt;/P&gt;&lt;P&gt;Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.&lt;/P&gt;&lt;P&gt;u2022        In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.&lt;/P&gt;&lt;P&gt;u2022        The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments).&lt;/P&gt;&lt;P&gt;Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 19:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850531#M2483331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T19:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850532#M2483332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry but this isn't correct. This is a normal soap exception. We receive such faults from other web services as well. In this specific case the soap fault looks like this:&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;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;
	&amp;lt;soapenv:Body&amp;gt;
		&amp;lt;soapenv:Fault&amp;gt;
			&amp;lt;faultcode&amp;gt;soapenv:Server.userException&amp;lt;/faultcode&amp;gt;
			&amp;lt;faultstring&amp;gt;ERROR (302): Eintrag in der Datenbank nicht vorhanden.; &amp;lt;/faultstring&amp;gt;
			&amp;lt;detail&amp;gt;
				&amp;lt;ns1:hostname xmlns:ns1="http://xml.apache.org/axis/"&amp;gt;server&amp;lt;/ns1:hostname&amp;gt;
			&amp;lt;/detail&amp;gt;
		&amp;lt;/soapenv:Fault&amp;gt;
	&amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally you can deal with this kind of exception. If you don't use the parameter "Do not use SOAP envelope" you can handle this with a message mapping for the fault types. You can see such fault messages as application errors at the monitoring. But in my case the message didn't reach the mapping step. That's why I can't do anything respectively I have no idea what I can do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 12:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850532#M2483332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850533#M2483333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gil:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came cross same situation in the past, and I can not achieve what you want.&lt;/P&gt;&lt;P&gt;This is the limitation of PI, it does not support Fault message handling of SOAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even you can use other SOAP client, you can see the fault message coming back, but PI adapter does not handle it back to Integration engine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fault message in PI can be only be used in Inbound Proxy, RFC etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 17:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850533#M2483333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850534#M2483334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gil:&lt;/P&gt;&lt;P&gt;Just found another thread which is answered by Stefan, SAP PI expert, he mentioned the same.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1621839"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Liang Ji on May 11, 2010 7:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 17:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850534#M2483334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T17:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850535#M2483335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course it is possible to catch SOAP faults with the PI saop adapter. I've done this several times before. Therefore I have created a matching xsd for the soap fault looking like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" targetNamespace="http://schemas.xmlsoap.org/soap/envelope/" elementFormDefault="qualified"&amp;gt;
   &amp;lt;xs:element name="Fault"&amp;gt;
      &amp;lt;xs:complexType&amp;gt;
         &amp;lt;xs:sequence&amp;gt;
            &amp;lt;xs:element name="faultcode" type="xs:string" /&amp;gt;
            &amp;lt;xs:element name="faultstring" type="xs:string" /&amp;gt;
            &amp;lt;xs:element name="faultactor" type="xs:string" /&amp;gt;
            &amp;lt;xs:element name="detail"&amp;gt;
               &amp;lt;xs:complexType&amp;gt;
                  &amp;lt;xs:sequence&amp;gt;
                     &amp;lt;xs:element name="ServerExceptions" type="xs:string" /&amp;gt;
                     &amp;lt;xs:element name="faultstring" type="xs:string" /&amp;gt;
                  &amp;lt;/xs:sequence&amp;gt;
               &amp;lt;/xs:complexType&amp;gt;
            &amp;lt;/xs:element&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;/P&gt;&lt;P&gt;It depends on the soap exception your soap partner throws. You have to import this xsd and have to assign it to the interface. After that you need a mapping to the fault type of your abap interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is possible to catch soap faults and provide the exception information to the calling abap proxy. At the message monitor you can see such faults as application error (red square with a white flash) and not as system error (red dot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I my current case it is working too if I switch off the "Do not use SOAP envelope" option. The problem is that I need it because I have to manipulate the header of my request message.  And I've found no other way for doing that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 07:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850535#M2483335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T07:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850536#M2483336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is nice to know that fault message can be handled in SOAP adapter, I did not try this normal scenario, I composed the soap header in java mapping, so in SOAP receiver adapter, I have to check "Do not use SOAP envelope" as well, in that case, I can not get any fault message.&lt;/P&gt;&lt;P&gt;This is same situation you are encountering now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am suggesting you open a OSS note, to see how SAP response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Good Luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 15:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850536#M2483336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850537#M2483337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you are not calling a REST based non-SOAP service, you shouldn't be using the "do not use soap envelope" mode.&lt;/P&gt;&lt;P&gt;As its name implies, this option is apparently for calling some non-soap services that do not require the soap envelope. So, your requirement of being able to handle the soap faults contradicts its use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are calling a soap based service that requires some static or variable soap headers, you can use the axis adapter. Without any code development, you can insert or extract arbitrary soap headers in your soap envelope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Yza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 22:06:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850537#M2483337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T22:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850538#M2483338</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;@ Liang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this situation, use "XMBWS.NoSOAPIgnoreStatusCode = true" in the SOAP channel -&amp;gt; module tab -&amp;gt; Module configuration.&lt;/P&gt;&lt;P&gt;Module Key will be "soap".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will capture the fault message even if you use "Do Not Use SOAP Envelope" option in the channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neetesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 22:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850538#M2483338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T22:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850539#M2483339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; If you are not calling a REST based non-SOAP service, you shouldn't be using the "do not use soap envelope" mode.&lt;/P&gt;&lt;P&gt;&amp;gt; As its name implies, this option is apparently for calling some non-soap services that do not require the soap envelope. So, your requirement of being able to handle the soap faults contradicts its use case.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; If you are calling a soap based service that requires some static or variable soap headers, you can use the axis adapter. Without any code development, you can insert or extract arbitrary soap headers in your soap envelope.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards, Yza&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Yza.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your replay and your hint. This is exactly what I have tried at first. But I wasn't able to get it working. If you could help me in this case it would solve my problems with the soap faults too respectively I would prefer such a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is a header looking like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;	&amp;lt;SOAP-ENV:Header&amp;gt;
		&amp;lt;m:AuthenticationInfo xmlns:m="urn:Wsvc_Sap_CiList"&amp;gt;
			&amp;lt;m:userName&amp;gt;String&amp;lt;/m:userName&amp;gt;
			&amp;lt;m:password&amp;gt;String&amp;lt;/m:password&amp;gt;
		&amp;lt;/m:AuthenticationInfo&amp;gt;
	&amp;lt;/SOAP-ENV:Header&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I wasn't able to generate such a nested header with the axis adapter. I've read the soap axis adapter faq and I was able to create a simple headers like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;	&amp;lt;SOAP-ENV:Header&amp;gt;
		&amp;lt;m:AuthenticationInfo xmlns:m="urn:Wsvc_Sap_CiList"&amp;gt;String&amp;lt;/m:AuthenticationInfo&amp;gt;
	&amp;lt;/SOAP-ENV:Header&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have no idea how I get these nested headers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the user and password can be static u2013 no need to be dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be so good if you can help me in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 08:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850539#M2483339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-18T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850540#M2483340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hello,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; @ Liang,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; In this situation, use "XMBWS.NoSOAPIgnoreStatusCode = true" in the SOAP channel -&amp;gt; module tab -&amp;gt; Module configuration.&lt;/P&gt;&lt;P&gt;&amp;gt; Module Key will be "soap".&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; This will capture the fault message even if you use "Do Not Use SOAP Envelope" option in the channel.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Neetesh&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Neetesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the solution! If I set this parameter I get no system errors anymore. In fact I get the soap fault as payload now and I can handle it like André has suggested it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Neetesh! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I would prefer a solution where I don't have to use this "Do not use soap envelope" setting. So I still hope that Yza can help me with that soap axis adapter nested header problem. I have started a separate thread therefore some weeks ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 09:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850540#M2483340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-18T09:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850541#M2483341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Neetesh:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to see you provided the solution. I learned from you. Congrats&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 13:57:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850541#M2483341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-18T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850542#M2483342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gil,&lt;/P&gt;&lt;P&gt;I am sorry for not being able to reply earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just replied to your other thread that you were referring to from this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve your problem, you need to use just the value property and not the name and namespace properties so that the value property is interpreted as the whole element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set the name and namespace properties, the value property will be interpreted as the character content of that element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, setting value.1 to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;m:AuthenticationInfo xmlns:m="urn:Wsvc_Sap_CiList"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;m:userName&amp;gt;&lt;SPAN __jive_macro_name="0"&gt;&lt;/SPAN&gt;&amp;lt;/m:userName&amp;gt;&amp;lt;m:password&amp;gt;&lt;SPAN __jive_macro_name="1"&gt;&lt;/SPAN&gt;&amp;lt;/m:password&amp;gt;&amp;lt;/m:AuthenticationInfo&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will allow you to replace the user and password values dynamically with the context values set in arguments.1.&lt;/P&gt;&lt;P&gt;A similar scenario is described in the axis adapter FAQ note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Yza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 22:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850542#M2483342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-27T22:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850543#M2483343</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;We are getting a server level SOAP fault message.This is failing in MONI.We would like to capture this fault message and identify due to which source payload this fault has occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know what are all the parameters in sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean &lt;/P&gt;&lt;P&gt; as XMBWS.NoSOAPIgnoreStatusCode = true XMBWS.Timeout which can be used to capture fault with out errors in MONI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile we will test with XMBWS.NoSOAPIgnoreStatusCode and update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sap:Error xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;sap:Category&amp;gt;XIAdapter&amp;lt;/sap:Category&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;sap:Code area="SOAP"&amp;gt;FAULT&amp;lt;/sap:Code&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;sap:P1&amp;gt;http://schemas.xmlsoap.org/soap/envelope/&amp;lt;/sap:P1&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;sap:P2&amp;gt;Server&amp;lt;/sap:P2&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;sap:AdditionalText&amp;gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.Xml.XmlException: The root element is missing. at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.MoveToContent() at System.Web.Services.Protocols.SoapServerProtocolHelper.GetHelper(SoapServerProtocol protocol) at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.Invoke() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() --- End of inner exception stack trace ---&amp;lt;/sap:AdditionalText&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/sap:Error&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;sap:System xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1" /&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;sap:HopList xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;sap:Hop timeStamp="2010-06-05T06:34:21Z" wasRead="false"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;sap:Engine type="AE"&amp;gt;af.p06.vp06cs01&amp;lt;/sap:Engine&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;sap:Adapter namespace="http://sap.com/xi/XI/System"&amp;gt;XIRA&amp;lt;/sap:Adapter&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;sap:MessageId&amp;gt;5ff588f0-706c-11df-89aa-00145ec6257e&amp;lt;/sap:MessageId&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 11:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850543#M2483343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture SOAP fault when using "Do not use SOAP envelope" parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850544#M2483344</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;We are getting a server level SOAP fault message.This is failing in MONI.We would like to capture this fault message and identify due to which source payload this fault has occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know what are all the parameters in sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean &lt;/P&gt;&lt;P&gt;as XMBWS.NoSOAPIgnoreStatusCode = true XMBWS.Timeout which can be used to capture fault with out errors in MONI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile we will test with XMBWS.NoSOAPIgnoreStatusCode and update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&amp;lt;sap:Error xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sap:Category&amp;gt;XIAdapter&amp;lt;/sap:Category&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sap:Code area="SOAP"&amp;gt;FAULT&amp;lt;/sap:Code&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sap:P1&amp;gt;http://schemas.xmlsoap.org/soap/envelope/&amp;lt;/sap:P1&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sap:P2&amp;gt;Server&amp;lt;/sap:P2&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sap:AdditionalText&amp;gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.Xml.XmlException: The root element is missing. at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.MoveToContent() at System.Web.Services.Protocols.SoapServerProtocolHelper.GetHelper(SoapServerProtocol protocol) at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.Invoke() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() --- End of inner exception stack trace ---&amp;lt;/sap:AdditionalText&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/sap:Error&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sap:System xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1" /&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;sap:HopList xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;sap:Hop timeStamp="2010-06-05T06:34:21Z" wasRead="false"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sap:Engine type="AE"&amp;gt;af.p06.vp06cs01&amp;lt;/sap:Engine&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sap:Adapter namespace="http://sap.com/xi/XI/System"&amp;gt;XIRA&amp;lt;/sap:Adapter&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sap:MessageId&amp;gt;5ff588f0-706c-11df-89aa-00145ec6257e&amp;lt;/sap:MessageId&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 11:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-capture-soap-fault-when-using-quot-do-not-use-soap-envelope-quot/qaa-p/6850544#M2483344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T11:26:47Z</dc:date>
    </item>
  </channel>
</rss>

