SOAP Adapter + asynchronous message + Runtime Workbench

Hi
I have problem with error monitoring in Runtime Workbench -> Message Monitoring
I have SOAP adapter deployed on Apache Axis.
I have flow SOAP->XI->SOAP (asynchronous mode)
It works great until receiver adapter generate error.
I can see error message in defaultTrace log but in
Message Monitoring-> Details I see only "SOAP: response message
contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault".
SOAP message from receiver adapter (with error) looks like that
<?xml version="1.0" encoding="UTF-8"?>
<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">
  <soapenv:Body>
    <soapenv:Fault>
      <faultcode>Client</faultcode>
      <faultstring>Internal Server Error</faultstring>
      <detail>
        <myfaultmessage>
          <type>RABAX_STATE</type>
          <message>Divide by 0 (type 1).</message>
        </myfaultmessage>
        <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">pslupkowski</ns1:hostname>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>
I'm think that this message is not well formated and
Adapter Engine can't find some tags during parsing this
message. Any ideas how to solve this problem?
I'm just want to see error description from <myfaultmessage> tag in Message Monitoring

Hi,
Did you check the log on adapter engine?
http://<host>:<port>/MessagingSystem/monitor/monitor.jsp
Take a look to this monitor, here you can see both messages (request and response).
Cheers,
Ricardo.

Similar Messages

  • Error while opening Adapter Monitoring in Runtime Workbench

    Hi,
    I am unable to open Adapter Monitoring from
    Runtime Workbench -> Component Monitoring -> Adapter Monitoring
    When I tried to open, I am getting following message in the new window:
    "The page cannot be displayed"
    Please let me know where I can enable this option.
    Thanks,
    Yogi.

    Hi,
    Go thru this SAP Note- 768456,928862
    Also this doc may help u-https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0e1ba1a-e86e-2910-ee83-b73b54abc7d4
    Regards,
    Moorthy

  • No "Adapter monitoring" in runtime workbench

    We appear to having difficulties with our SOAP adapter in XI 3.0.
    I have searched through the forum, and most queries relate to SOAP Adapter being greyed out in adapterframework, but it is not even available in the list.
    We do no have the Adapter Monitoring as an option in our runtime workbench, either.  How can we add this?
    Any thoughts gratefully received!

    Hi Barry,
    have you tried: http://server:port/mdt/amtServlet   ?
    this is the address of the adapter monitoring
    the old address ( < sp4 as far as I remember) of the adapter monitor:
    http://hostname:portnumber/AdapterFramework/monitor/monitor.jsp
    regards,
    michal
    Message was edited by: Michal Krawczyk

  • Cannot display Adapter Service in Adapter Monitor - XI Runtime Workbench

    Dear Experts,
    I have already done the system copy XI 3.0 from Win Server 2003 32bit to WIn Server 2003 64bit.
    I have also done the post activities in NW AS ABAP system copy and NW AS JAVA system copy.
    I have a problem now,
    I cannot display the adapter service in SAP XI Runtime Workbench ( http://jktbtr-sap01:50000/rwb/index.jsp )
    Tree Domain -> Integration Server  -> Adapter Engine jktbtr-sap01
    Button Adapter Monitoring.
    In the previous source system I can see all the adapter service : BC, File, JDBC, JMS, JPR, Mail , RFC, SOAP, XI.
    But in the target system, I just found JPR with red light.
    What configuration should I set to register and start those adapter services in target system?
    Regards,
    Adhi

    can u check whether u are able to see the list of adapters in communication channel. when u select the adapters.
    also do the CPACACHE refresh.
    chirag

  • Receiver SOAP adapter - SPML message

    Hi All,
              Could you advice how to construct the request spml message in receiver interface and adapter settings(communication channel) to generate the following sample SPML message:
    <spml:addRequest targetID=“Sleek” executionMode=“synchronous” requestID=“1234” xmlns:spml=“urn:oasis:names:tc:SPML:2:0”>
    <spml:psoID ID=“11111”/>
    <spml:data>
    <cardholder id=“11111” divisionID=“Packaging” startDate=“26-Aug-2006 08:00:00” endDate=“30-Aug-2006 11:59:59”>
    <Cdfs>
    <Cdf id=“Last Name”>ravijeet</Cdf>
    <Cdf id=“Email”>[email protected]</Cdf>
    <Cdf id=“Registration”>ABC-123</Cdf>
    </Cdfs>
    </cardholder>
    </spml:data>
    </spml:addRequest>
    I can define the data type and message type as per xsd in <spml:data>...</spml:data>
    How do I construct the following header:
    <spml:addRequest targetID=“Sleek” executionMode=“synchronous” requestID=“1234” xmlns:spml=“urn:oasis:names:tc:SPML:2:0”>
    <spml:psoID ID=“11111”/>
    </spml:addRequest>
    Thanks and regards,
    Ravijeet

    Hi Shaji,
                 I need to create the following spml request in my receiver SOAP adapter:
    <spml:addRequest targetID=“Sleek” executionMode=“synchronous” requestID=“1234” xmlns:spml=“urn:oasis:names:tc:SPML:2:0”>
    <spml:psoID ID=“11111”/>
    <spml:data>
    <cardholder id=“11111” divisionID=“Packaging” startDate=“26-Aug-2006 08:00:00” endDate=“30-Aug-2006 11:59:59”>
    <Cdfs>
    <Cdf id=“Last Name”>ravijeet</Cdf>
    <Cdf id=“Email”>[email protected]</Cdf>
    <Cdf id=“Registration”>ABC-123</Cdf>
    </Cdfs>
    </cardholder>
    </spml:data>
    </spml:addRequest>
    How do I create the data types for the above message.? How do I create the tag element <spml:addRequest targetID=“Sleek” executionMode=“synchronous” requestID=“1234” xmlns:spml=“urn:oasis:names:tc:SPML:2:0”>  while I am creating the data type?
    My service provisioning system is webservice built on WAF(Windows Application Framework).
    The sample request xsd for calling the webservice is :
    <xsd:schema xmlns="urn:schemas-XXX" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xsd:element name="cardholder">
    <xsd:complexType>
    <xsd:attribute name="id" type="xsd:string"/>
    <xsd:attribute name="divisionID" type="xsd:string"/>
    <xsd:attribute name="startDate" type="xsd:date"/>
    <xsd:attribute name="endDate" type="xsd:date"/>
    <xsd:sequence>
    <xsd:element name="Cdf" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:attribute name="ID" type="xsd:string"/>
    </xsd:element>
    </xsd:element>
    </xsd:schema>
    Thanks in advance
    Ravijeet

  • Asynchronous SOAP adapter

    Hi,
    Please let me know under what circumstances would one want to use the SOAP Adapter with asyncrnous interfaces.
    Edited by: Jyotika Manghani on Dec 28, 2007 8:48 AM

    Hi,
    You need to configure the SOAP adapter so that you can exchange SOAP messages between the Integration Engine and remote clients or servers of Web services.
    The SOAP adapter provides a runtime environment that includes various SOAP components for the processing of SOAP messages. You can combine these SOAP components with separate components to meet your needs and requirements.
    The SOAP adapter uses a helper class to instantiate and control SOAP components. If you want to use your own SOAP processing logic you must make your helper class known to the SOAP adapter.
    To configure the SOAP adapter you must specify the following:
    &#9679;     The helper class that implements the following interface:
    com.sap.aii.messaging.adapter.ModuleBubbleHelper
    &#9679;     The parameter values for the specified helper class
    For example, you must specify the following parameters for the helper class ModuleBubbleHelperXMBWSImpl (instantiates a BubbleBag to integrate remote Web services with the Integration Engine):
    &#9675;     Information about the Integration Engine destination (when the Integration Engine is acting as a service provider and therefore the SOAP adapter must be configured as a sender adapter).
    &#9675;     Information about the Web service provider destination (when the Integration Engine is acting as a service client and therefore the SOAP adapter must be configured as a receiver adapter).
    &#9675;     Various options for controlling the conversion of multi-part Integration Engine SOAP messages and Web service SOAP messages
    The following arguments are mandatory:
    &#9675;     XI.QualityOfService=<QualityOfService>
    Specifies how the Integration Engine should process a message. The following values are permitted:
    &#9632;      XI.QualityOfService=BE (Best Effort, means synchronous processing)
    &#9632;      XI.QualityOfService=EO (Exactly Once, means asynchronous processing)
    &#9632;      XI.QualityOfService=EOIO (Exactly Once in Order, means asynchronous processing using queues)
    You must also define a queue name for EOIO:
    Refer http://help.sap.com/saphelp_nw04/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2f/41e641fb6e3f5de10000000a1550b0/content.htm
    Hope this will help you in some extend.
    Regards
    Aashish Sinha
    PS : reward points if helpful
    Edited by: Aashish Sinha on Dec 28, 2007 9:01 AM

  • Synchronous messages through Soap Adapter

    Hi XI Guru's
    In my scenario I am sending a synchronous soap message over soap adapter. Message flow is  like
    3rd Party Application --> XI --> SAP R/3.
    My message do get processed in SAP R/3 and I do get response in SXMB_MONI as well as in Message Monitoring in RWB.
    The return message for message f1bdf1d0-cec5-11de-a9c0-0050569626f6(OUTBOUND) was successfully passed to the waiting "call" thread.
    2009-11-11 05:27:26     Information     The message status was set to DLVD.
    2009-11-11 05:27:26     Information     SOAP: response message entering the adapter (call)
    2009-11-11 05:27:26     Information     SOAP: response message leaving the adapter
    But still the response from XI does not reaches 3rd party application.
    On digging the logs I found following message.  Can this be an issue in XI which is blocking the reponse message from reaching the 3rd Party Application.( I tried posting the message through XML spy and I do get the response in XML spy.)
    (Note : My XI Installation has central adapter engine)
    #1.5 #0050569626F6004200000D0B00000B5000F66675B4B8DEA5#1257401122698#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/com.sap.aii.adapter.soap.app#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#LOVEIN#25369##sapnw03_NPI_6935550#Guest#2fd59d51c9d111debb440050569626f6#HTTP Worker [4]##0#0#Warning##Plain###Cannot send an HTTP error response [500 "Application error occurred during the request procession." (details: &quot;The WebApplicationException log ID is [0050569626F6004200000D0800000B5000F66675B4B8DEA5].&quot;)]. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: *The stream is closed.*
    +     at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.ensureOpen(ServletOutputStreamImpl.java:354)+
    Any help in this regard is appreciated .
    Thanks
    Lovein

    Thanks for your reply Stephan / Abhishek.
    To add some more info on the issue. This issue is when I am using PI 7.1 version.
    I do not face the issue if I use XI 3.0 and end to end flow works fine and response message reaches 3rd party application.
    Only difference I have in 2 versions is that in XI 3.0 we have been able to disable the soap adapter authentication (by changing web.xml file) where as in PI 7.1 we have not been able to disable that authentication and userid/ password info has to be provided while sending the soap message from 3rd Party application.
    (Security if not disabled gives 401 message as described on following blog [SOAP Sender ADAPTER 401 No Authorisation|SOAP Sender ADAPTER 401 No Authorisation] )
    On the other note do you guys know a way to disable this authentication on PI 7.1 version.
    Thanks ,
    Lovein

  • Receiver SOAP adapter -Async

    Hi  All,
    My scnario is SAP -PI--webService (SOAP adapter)  Asynchronous.
    In case of any error while processing the data into webservice, I think webservice  will pass back a relevant message to thePI through SOAP.  I am able to see only the error descrtion in the CC monitoring.
    How does PI interpret the XML which SOAP passes back in the event of an error during processing?Where we can find the XML message of the error?
    What is the functionality is in place in SAP-PI to get the returned information from the webservice in the event of an issue?
    Thanks in Advance
    Kartikeya

    Karthik,
    Asynchronous / synchronous  is decided by the sender system /adapter
    > I think webservice will pass back a relevant message to thePI through SOAP
    If it is Async the SOAP adapter will not  get the response back from the webservice
    Cheers
    Agasthuri Doss

  • SOAP adapter Using XI 3.0 error: invalid content type for SOAP: TEXT/HTML

    Hi All,
      I have the scenario to send a message to proxy via SOAP adapter . My PI server is 7.3 and my BI application server also 7.3. I have created service interface in the ESR and created the ABAP proxy in the Application server. Im using the receiver SOAP adapter with message protocol as XI 3.0. Am running this scenario in the central adapter engine. (That is i didnt create integrated configuration). I am facing the issue in the receiver SOAP channel as 'invalid content type for SOAP: TEXT/HTML: 401 Unauthorized'. But i can able to login into the URL which is given in the channel using the username and password used in the channel.
    Can you please let me know if any addtional settings need to be done in PI side.
    Regards,
    Ramalakshmi.G

    Hi,
      Thanks for your reply. I have done my scenario with the integration configuration. Still i am facing the same issue " SOAP: TEXT/HTML; HTTP 401 Unauthorized". I have given the correct URL, username and password. Is this enough to connect to the receiver integration server from AE. Any settings need to be do in the receiver ABAP system and PI system. If so please share the corressponding note for the same.  What should be the role is assigned to the userid given in the channel.
    I have used sproxy to create the proxy in the receiver ABAP system. In PI i am using the SOAP adapter with XI 3.0 ,message protocol to call to this proxy. I have not done any settings in any of the servers. Do i need to do any settings.
    Regards,
    Ramalakshmi.G

  • Special Characters issue---u00FA ,u00A3---- in Reciver SOAP Adapter

    Hi ,
    I am facing issues with Spceial Characters ú ,£ at the reciver SOAP adapter  ,the messages was stuk in XI with to the following error :An invalid character was found in text content. Error processing resource
    I tried in several ways buy using XMBWS.XMLEncoding=iso-8859-1,
    but it was not resloved still I am getting the same error,
    Any one plz suggest me how to resolve this issue....
    Regards,
    Teja.

    Hi ,
    My scenario is RFC--SOAP ,the messages was successfully rached to RFC adapter and I am facing the issue at the receiver SOAP Adapter ......
    I am getting error messages such as :
    1) 400 Bad Request
    2) In the XML Payload ......It is showing as Invalid Character found ....
    For this I tried ...
    1) In the source payload XML I done the  chages in the encodding part
    encoding part as iso-8859-1instead of utf-8.
    2) I have triggered the message from Integration Engine ....then it was successfully processed through SOAP Adapter
    3) with special characters...means there is no issue at target end.
    4) the issue lies in XI so we have to resolve it.
    I tried by using Adapter paramters  which was provided by SAP but the result is same..
    so the paramters which was provided by SAP are incorrect(for encoding)
    Please help me in resolving this issue .........
    Regards,
    Teja.

  • How  Sender SOAP Adapter will retriew the data  to process further

    How  Sender SOAP Adapter will  receive the data  to send the integration server to process further

    Hi,
    1. All details are always taken from the Sender Agreement.
    For the Sender File adapter and the Sender SOAP adapter , the details that include are , Sender Service, Sender Interface Name and namespace and these are the details that make up the SOAP header when the message hits the integration Engine.
    Once the corresponding Adapter for the message is identified, ie. the Sender SOAP adapter , the message for the SOAP header is then taken from the Sender Agreement of that adapter. This is the exact reason why one Sender Adapter can be involved in one and only one Sender Agreement.
    Regards
    Bhavesh

  • Receiver SOAP adapter SSL error - client certificate required?

    Hi all,
    Problem configuring SSL in XI 3.0 NW04 SP17....
    I have followed the config steps from Rahul's excellent weblog at <a href="/people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter">How to use Client Authentication with SOAP Adapter</a> (my Basis team have done the Visual Admin steps) and am going through his example as it closely matches my requirement. So, I have a test receiver SOAP adapter sending messages to a web service URL defined for a sender SOAP adapter. My test scenario is:
    <b>Sender File -> <u><i>Receiver SOAP -> Sender SOAP</i></u> -> IDoc Receiver -> IDocs in R/3</b>
    The problem components are in italic and underlined above. My Receiver SOAP Adapter has the web service URL, Certificate Keystore Entry and View entered. If, in the Sender SOAP Adapter, I have an HTTP Security Level of HTTPS Without Client Authentication, the interface works fine (note that Rahul suggests you untick the User Authentication in the Receiver but with this Security Level, it seems to work with or without it).
    The problem is when I set HTTPS <b>With</b> Client Authentication in the Sender. I then get the following error in the message monitor:
    SOAP: response message contains an error XIServer/UNKNOWN/ModuleUnknownException - com.sap.aii.af.mp.module.ModuleException: java.security.AccessControlException: <b>client certificate required caused by: java.security.AccessControlException</b>: client certificate required at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1111) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103) at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:250) at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103) at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:166) at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:421) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code)) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code)) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code)) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code)) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Caused by: java.security.AccessControlException: client certificate required at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:843) ... 22 more
    Has anyone got any idea what this could be caused by?
    Many thanks,
    Stuart Richards

    Have you configured the https port with that keystore entry?
    Check out these links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/881e3e3986f701e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5c/15f73dd0408e5be10000000a114084/frameset.htm
    Regards,
    Henrique.

  • Receiver SOAP Adapter Use Query String

    Hello everybody,
    I want to include in my Receiver SOAP Adapter the message id as part of the URL String, but I need to include only the MessageId value, if I use the Use Encoded Headers and Use Query String options it includes all the header fields as part of the URL, is there a way to define only the fields that I need?, thanks in advance.
    Regards,
    Julio Cesar

    May be you could try to use adapter specific message attribute "TServerLocation". This will help you set the dynamic URL.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    Regards,
    Prateek

  • Soap-xml messages in runtime workbench monitoring?

    soap-xml messages in runtime workbench monitoring? how u montor soap xml message in runtime workbench... thanq/../

    All the messages in the RWB are monitored by only one way.
    Select the Message montioring and select the filter criterias. like interface name and namespace and all and u can monitor the same.
    regards,
    Vishal

  • SOAP Adapter not working. But no error messages. Just a warning!!!!

    Hello Guys
    I have created a simple scenario.
    I am getting an Input from outside world using SOAP Adapter.
    Then using a ZBAPI (RFC adapter) I am inserting a data to a ZTABLE.
    To test the SOAP Adapter, I have entered the PAY LOAD (in XML format) from Runtime WorkBenches
    Test Message TAB.
    I have used exactly once, Best Effort etc., and have tried Sending the message.
    It says Message sent but the database is not getting updated with the new value.
    I have already tried it with FileAdapter as the input method and ZBAPI that I have created is working fine.
    When I tried looking at the RuntimeWorkBenche's communication channel's area, it says my SOAP Adapter is inactive. I have double checked and it is ACTIVE and also activated properly
    Any ideas? 
    Your suggestions/input will be highly appreciated.
    THanks
    Ram

    >>One of the postings said that this is the easiest way to see >>if the adapters are working ok
    This holds true for testing receiver adapter not for sender adapter.main work of sender adapter is to pick up the message in any format and convert it to XML and post to Integration engine,since in RWB->Integration engine you are already posting XML message you have basically done the job of sender adapter by yourself hence no need of sender adapter there.
    >>my question is how do i test my SOAP Adapter >>configuration to make sure it works.
    you need to use Altova XML spy(its free download) or some other SOAP test client to test sender SOAP adapter
    Thanx
    Aamir

Maybe you are looking for

  • Hide address bar w/WEB.SHOW_DOCUMENT

    I am currently using WEB.SHOW_DOCUMENT to run Reports with Developer Server. It is outputing as a PDF in IE5. It works great. But I have a security concern. The report has to know who the current user is to properly fill in some parameters. I use the

  • Query to separate the number and character

    Hi, I have the string like '1000xyza' and query should return 1000 only. example data: source string = '1000xyz' output = 1000 source string = '1000 xyz' output = 1000 I need to use this logic in trigger, and currently I'm checking character by chara

  • How can we call one java class in another java class?

    Hi all, My problem is , one java code creates a file i have to send that file through email as an attachment here i wrote a java code to send a mail with attachment can any one help me how i can implement this. my idea is to write a send mail functio

  • Images are color-reversed i.e. "negative image"

    Opened an existing file in pages that has jpeg images in it. They are reversed. I pasted a new image into it. It is also reversed. In others words, mostly just a black square, but you can see the originally-dark areas as light areas. A few months ago

  • How to run a addon automatic when firefox started

    Starting the addon need to click. I want to do it automatic when firefox started