No SOAP Envelope error in SOAP Receiver Adapter

Hello Friends,
Informaiton:-
I have configured one Synchronous scenarion for SAP R/3 to PI 7.1 to Java based web applicaiton.
On the Receiver/Outbound side, i have configured the SOAP Receiver Adapter with the Target URL and SOAP Action.
Outbound and Inbound service interfaces have Request/Response and Fault messages.
Issue:-
While sending the Message, Below error is noticed in ABAP stack SXMB_MONI during the Call Adapter Stage and also in RWB (Channel Monitoring) .
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP  Envelope but 1 {}RESPONSES; HTTP 200 OK
I also found that Request message is not reaching to the Java Web server.
I am taking the Same message Payload (found at Call Adapter Stage) and ussing it in XML Altova SPY Web client tool. There it is running scuccessfully and getting the Response message.
please suggest.
Thanks & Regards
Jagesh

Hi,
Yesterday i consumed the same WSDL file in Altova XML SPY and there it is working, getting the Response.
Now comparing the SOAP Request message reaching to the Third party Web server (which fall within the same Lane network)
from SAP PI and Altova XML SPY tool. I used TCP Gateway for the below scenarios.
(1)First i sent the SOAP message from PI and observed the RESPONSE message without the SOAP Envelope in TCP Gatway Trace and hence i am getting the No SOAP Envelope Error in PI.
(2)I consumed the same WSDLfile in Altova XML SPY and sent the SOAP message, here i got the Proper SOAP Response message and hence success in this case. (Used the same Data Payload as used in point 1)
(3)Now to identify the issue in the SOAP Request message being sent from PI, i used the same SOAP message sent in step 1 here, that means copy the entire SOAP ENvelope from the TCP gateway Trace and pasted it in Alota Spy and sent, there it is found running (got the response message from Third Party server).
One difference i found in HTTP Protocol statements in SOAP Request message in Point no 1 and Point no 2 above.
HTTP Protocols in Point 1 (Through PI).
POST  HTTP/1.0
Accept: /
Host: 172.24.138.142:4544
User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
CallingType: SA
content-id: <soap-00306EEAC2051ED1839136CEE8564900 sap.com>
Content-Type: text/xml; charset=utf-8
Content-Length: 1195
SOAPACTION: "Action1"
HTTP Protocols in Point 2 (Through Altova).
POST / HTTP/1.1
Content-Type: text/xml
User-Agent: XML Spy
SOAPAction: "Action1"
Host: 172.24.138.142:4544
Content-Length: 1195
Connection: Keep-Alive
Cache-Control: no-cache
Thanks to Mr. Stefan Grube for writting such a nice blog.
Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
Experts, please suggest me further.
Thansk & Regards
Jagesh

Similar Messages

  • Error in file receiver adapter (Directory does not exist / cannot be create

    I have a NFS reiceiver file NFS adapter with target directory:
    10.128.68.38\arbo2000\UploadPinfos\arbodev
    if I run this line in windows, windows access to this folder.
    Full Error log:
    Receiver Adapter v2123 for Party '', Service 'BS_0000_ARBO_DEV':
    Configured at 2006-04-06 18:08:26 CEST
    History:
    - 2006-04-06 18:08:35 CEST: Error: Message processing failed: Exception: Message processing failed - configuration error in file receiver adapter (Directory does not exist / cannot be created)
    Can somebody help me please??

    Hi Alvaro,
            If your XI server is running on Unix platform then you'll get the access only after mounting 10.128.68.38 this system as a drive. This is equivalent to the windows network mapping.
    Next thing is that once that is done then you can access the path /arbo2000/UploadPinfos/arbodev by mentioning it in your directory path.
    To check whether the above mentioned is the problem then pls do try by doing it with FTP protocol. If it works then for acting as a local directory for NFS you need to mount the drive.
    Cheers
    JK

  • ICM_HTTP_TIMEOUT error in HTTP Receiver adapter

    Hi
    I am doing HTTP Receiver adapter and File Sender adapter for my scenario.
    I am getting the following error in SXMB_MONI.
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>402</SAP:P1>
      <SAP:P2>ICM_HTTP_TIMEOUT</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client. Code 402 reason ICM_HTTP_TIMEOUT</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error
    Help needed,

    Hi Ganesh,
    Check this weblog...
    /people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
    Check this thread with similar issue...
    ICM_HTTP_TIMEOUT
    Regards,
    Sridhar

  • ALEAUD back to ECC when we have an error in the receiver adapter engine

    Hello friends,
    My scenario is ECC (async) to SOAP (sync) and back to ECC (async = ALEAUD). I'm using aync/sync bridge is receiver SOAP adapter.
    Is it possible to send back an ALEAUD automatically when I have an error in my receiver SOAP adapter? If so can you please explain how to achieve that?
    Your help is greatly appreciated,
    Thank you in advance,
    Kind regards,
    John

    Hi,
    The below reports will helps you to get alerts when any error in target end..
    IDX_NOALE - you can configure what kind of acknowledgement you want to request for the send message type. for example you can configure for only error acknowledgements.
    IDX_ALEREQUEST - you can configure to send back an acknowledgement as PI message, so that you can control the ALEAUD content by mapping.
    Thanks & Regards,
    A.Neelima.

  • A wierd error of JDBC Receiver adapter

    Dear Expert,
    I got stuck by the JDBC receiver adapter with PI 7.11, the log is
    'JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'null' (structure 'SYSTEM'): java.lang.IndexOutOfBoundsException: Index: 1, Size: 1'
    explanation :   
    (1)SYSTEM  is the first element in my XML sent to PI and I guarantee it has value, and there is no mapping with this field in the target table.
    (2)I tested mapping and comminucation channel -> successfully
    (3)db is oracle and the key field is mapped with value
    Looking forward to your insight. Thanks very very much
    Ray

    Dear Expert :
    Thanks for your reply, but I still could not figure out what had happened, it is so desperate.......
         Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'null' (structure 'BOOK'): java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    The Oracle DB table has many fields and I mapped the key and other fields which could not be null.
    I tried to create a very simple example to test like this , but still it pops up the error like before,
    you can see the error message just  replaces the  text 'SYSTEM' to 'BOOK'.
    'null' (structure 'SYSTEM'): (yesterday)  ->   'null' (structure 'BOOK'):  (today).   What could I do????
    Thanks so much for your help
      <?xml version="1.0" encoding="UTF-8" ?>
      <MT_RM_TEST>
      <BOOK>17-1627-15</BOOK>
      <NAME>Ray</NAME>
      </MT_RM_TEST>
    -> the XML above is my simple test XML sent (book and name are mapped to the key field and other fields which could not be nulll)

  • Error in Mail Receiver Adapter

    Hi Everyone,
        I have been doing Mail Receiver Adapter Scenario.I am getting this error in Adapter Monitoring in Runtime Workbench.
    <b>not initialized: failed to initialize the channel: com.sap.aii.messaging.util.URI$MalformedURIException: no scheme</b>
    I would appreciate if anyone would provide a solution for this issue.
    Thanks & Regards,
    Varun Reddy.K

    Hi Jai Shankar, Thanks for your reply.
         This is the XML source code generated after doing Mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SourceMT_mail27 xmlns:ns0="http://isg.com/xi/training/MailReceiver27">
       <Subject>This is only a test mail</Subject>
       <From>[email protected]</From>
       <To>[email protected]</To>
       <Content>hi sudhir, How are you doing?</Content>
    </ns0:SourceMT_mail27>
    Regards,
    Varun Reddy.K

  • Error in JMS receiver adapter: "Error creating initial context with environment"

    Hello,
    I have some trouble with a JMS receiver adapter (access to JMS-provider with JNDI).
    The message in adapter monitoring is:
    A channel error occurred. Detailed error (if any) :
    com.sap.aii.adapter.jms.api.connector.ConnectorException: Fatal Error looking up connection factoryJMSQueueConnectionFactory, for profile: ConnectionProfile of channel: CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd:
    ConnectorException: Error creating initial context with environment: java.naming.provider.url=wcsefdev.example.com:9064; java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory; for profile: ConnectionProfile of channel:
    CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd: javax.naming.NoInitialContextException:
    Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory
    (JndiConnectorImpl.java:152)<br> ....
    Message processing failed. Cause:
    com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_RCV_XLIMI00001:5b424f2f79b6350ca636ab35d528cfdd
    The third party assured me that the specified JNDI parameters are right and everything is configured on their site, so it should work...
    Might there be a problem with the JMS drivers?
    Regards,
    Marcus

    Hi Marcus,
    Have a look at below thread
    Connecting to PI 7.11 JMS Queue from other PI 7.11 Server

  • Finger Print error in SFTP receiver adapter

    Hi Experts ,
         I am getting following error in SFTP receiver channel, here I have nominated the password based authentication rather than certificate authentication method in channel. And I have created finger print in NWA and shared with SSH server admin to import , then I maintained the same in my receiver channel also. And I have done the vice-versa created the finger print in SSH server side and given the same in channel . Still error is persist in channel, experts please suggest .
    Error :
    Message could not be forwarded to the JCA adapter. Reason: com.jcraft.jsch.JSchException: Fingerprint invalid. Fingerprint is: 6b:f4:38:e7:13:31:59:c8:76:4f:e1:93:10:ac:73:ca
    Error MP: exception caught with cause javax.resource.ResourceException: com.jcraft.jsch.JSchException: Fingerprint invalid. Fingerprint is: 6b:f4:38:e7:13:31:59:c8:76:4f:e1:93:10:ac:73:ca
    Error Exception caught by adapter framework: com.jcraft.jsch.JSchException: Fingerprint invalid. Fingerprint is: 6b:f4:38:e7:13:31:59:c8:76:4f:e1:93:10:ac:73:ca
    Screen shots :
    Thanks in advance,
    RAJA

    And I have created finger print in NWA and shared with SSH server admin to import
    >>>> Though i'm not sure how it works, you can validate the fingerprint of the FTP server with one which is configured in the channels.
    If you have file zilla/coreFTP try to connect with the credentials and then you'll get a pop-up which should have the finger print information.

  • Error in RFC Receiver Adapter: functiontemplate from repository was null

    Hi Friends,
    i am working on JDBC -> RFC Scenario, JDBC Sender Adapter is working fine, but RFC Receiver Adapter is throwing this error message... can some one help me to solve this issue...
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
    Thanks
    Srikanth

    Hi,
    I think the logon details what you are giving in Receiver CC may be wrong. Check all those details like Application Server,System Number,User,Password and client.
    Thanks.

  • Error in RFC Receiver Adapter: functiontemplate from repository

    Hi Experts,
    i am working on JDBC -> RFC Scenario, JDBC Sender Adapter is working fine, but RFC Receiver Adapter is throwing this error message... can some one help me to solve this issue...
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
    Thanks
    Srikanth

    Possible reasons are
    The XML document, which was send to the RfcAdapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.
    The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with transaction code SE37.
    Here my suggestion is, if you are using Java/xslt mapping, write your code in line with result structure of your mapping instead source pay load structure. May be helpful.
    Cheers
    Madhu

  • Code 110 Reason Error in HTTP Receiver adapter

    Hello
    I am having proxy to HTTP Receiver scenario in which i am calling the target application URL through HTTP Receiver Adapter. This interface is async interface and hence i am not expecting any response from the target system.
    When i execute my interface the target system receives data from XI but in SXMB_MONI it sets the status of the message as "<b>Automatic Restart</b>" with the error description as "<b>HTTP client. Code 110 reason</b>"  in HTML Code area <b><SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code></b>
    This is causing multiple messages stuck in the queue and presently i am manually clearing all the messages.
    i checked the quality of service of the incoming message which is correctly setted as <b>Exactly Once</b>.
    Is there any configuration missing?
    Thanks in advance.
    Regards
    Rajeev

    Hi Rajeev,
    1.)Check in SMICM if your HTTP service is running or not.
    2.)If its running fine then you can check whether your SSL certificate is configured properly or not.
    Also follow the below mentioned links :
    HTTP 110
    HTTP Receiver Adapter -> HTTP client code 110 reason error when sending
    *Pls reward with points if helpful*
    Regards,
    Shibani

  • JWSDP 2.0 and SAAJ SOAP - envelope error

    I've integrated JWSDP 2.0 SAAJ security into a J2EE servlet that sends and receives SAAJ SOAP. I have tested and verified all sample security configurations except encryptv1.xml and encryptv2.xml. My issues is that although I am able to encrypt messages within the servlet, I am unable to decrypt. I have a java client running on the command line that interacts with the servlet and it is able to encrypt and decrypt (actually decrypts the encrypted error response raised by the servlet). I am also able to get the client to interact (encrypt/decrypt) successfully with a simpler servlet on standalone tomcat. I am using jboss 4.0.3RC2 and jboss 4.0.4GA both with tomcat55 and java 5. The error I receive is as follows:
    [STDOUT] ERROR: 'NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.'
    [STDOUT] Jun 5, 2006 12:16:13 PM com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
    SEVERE: SAAJ0511: Unable to create envelope from given source
    [STDOUT] Jun 5, 2006 12:16:13 PM com.sun.xml.wss.impl.SecurableSoapMessage findSoapHeader
    SEVERE: WSS0369: Error getting SOAPHeader from SOAPEnvelope due to Unable to create envelope from given source:
    [STDOUT] com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    [STDOUT]      at com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl.verifyInboundMessage(XWSSProcessor2_0Impl.java:115)
    Any help will be greatly appreciated...

    I figured it out! I needed to remove the Timestamp in the server config file.
    Thanks

  • Envelop header for HTTP receiver adapter

    Hi,
    In one of the business scenario's XI has to send data to an external party using an envelope header(Sample document to be sent is given below.)
    <b>Message-ID:ABC.JavaMail.SYSTEM@ztxwmwspro02
    Date: Thu, 16 Oct 2003 17:02:04 -0400 (EDT)
    Mime-Version: 1.0
    Content-Type: multipart/related
    Content-ID: 4bafd2e2-7971-1000-a6a3-0fe8304d0001
    x-Date-Sent: 01 Dec 2005 11:26:47 CST referenceId:
    x-Document-Type: Error
    x-Priority: 5
    x-Correlation-Id: 4bafd2e2
    x-Request-Annotation: normal
    <Order>
      <OrderHeader>
        <OrderNumber>
          <BuyerOrderNumber>XXX</BuyerOrderNumber>
        </OrderNumber>
        <OrderIssueDate>20050223T12:00:00</OrderIssueDate>
    <OrderHeader>
    <Order></b>
    1) How can this be acheived?
    2) How/Where can i see the header data of the message that is being sent out by a receiver HTTP adapter?
    Regards,
    Siva Maranani

    hi Siva,
    Did you see this link ?? 
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    it provides good information aboutPlain HTTP: Outbound Channel.
    cheers,
    Naveen

  • Error in RFC Receiver adapter

    Hi,
    I am trying to send data into sap R/3 system from SAP XI 3.0 and I am using RFC adapter for this purpose. When I configured the receiver RFC adapter I am getting the following error in SXMB_MONI:
    No receiver agreement found for sender ,FILESYS to receiver ,IDS47800,urn:sap-com:document:sap:rfc:functions,BAPI_MATERIAL_SAVEDATA
    Please help us as we are stuck at this Juncture in a very important assignment.
    Thanks and Regards,
    Anil Kumar Damodara

    Hi Anil,
    1.Check whether the receiver agreement is properly configured with the "RFC_Receiver" communication channel.
    2.Check whether the same Receiver agreement("RFC_Receiver" communication channel) is set in the receiver determination configuration.
    check out my article "Validating a Connection Between SAP R/3 and SAP XI with RFC"
    Regards,
    Sridhar Rajan N

  • Error With JDBC receiver adapter

    Hi Guys,
                  I am working with File to Jdbc scenario.at the file side the process is working fine.the file is picked up by the file adapter and send it XI.then XI sends the data to JDBC it shows an error in receiver side.the error is as follws
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'sap_alt_spec' (structure 'Statementname'): java.sql.SQLException: ORA-00928: missing SELECT keyword
    so can any one tell me the solution to resolve the error?its urjent.

    Hi,
    please refer:
    for configuration of JDBC adpt-
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    for XML document formats(this is much imp.)-
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    Ranjit

Maybe you are looking for