SOAP to JDBC Synchronous scenario

Hi experts
As per my requirement iam going to do SOAP to JDBC.
Please guide me how to do SOAP to JDBC (synchronous)
through XI .any step by step docs or blogs related to this
please forward to
[email protected]
if helpful points will be rewarded.
Regards,
Naresh

hi..
To send SOAP request u have to download the Altova XML spy tool..
follow this link for SOAP adapter.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
for JDBC receiver adapter follow
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
regards
MAnas
reward if helpful..

Similar Messages

  • Error while executing the SOAP-XI-JDBC(syn) scenario

    Dear Forum,
    We have done SOAP-XI-JDBC(synch) scenario with out BPM.
    When we sent the request data from EP to Oracle database through XI, we got an error,Runtime in Message-Mapping transformation~.
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Runtime in Message-Mapping transformation: Cannot produce target element /ns:Customer/customers. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:291)
    Exception message says that it is a mapping issue. But we got the responce data from database along with this message.In message monitoring we got the message processed successfully.
    Now i am not able to understanding why it throughs an error Runtime in Message-Mapping transformatio~ first time ?
    Pls revert me to fulfill this task successfully.
    Points will be rewarded.
    Regards,
    Naresh

    Dear Friends,
    Sorry for the delay,and Thank you for your quick responce.
    Yes I got that message under trace option in SXMB_MONI,
    Pls find the following msg structures and if any error please let me know status...
    Soap request structure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://soap2dbns" targetNamespace="http://soap2dbns">
    <xsd:element name="soap_reqmt" type="soap_reqdt" />
    <xsd:complexType name="soap_reqdt">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    5b474a34c8a511dc8d8e001a4bf038d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="Request" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    49b1ae20c81211dcce03001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    49b1ae21c81211dcc20d001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="Operation" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    49b1ae22c81211dc858a001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Data base request structure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://soap2dbns" targetNamespace="http://soap2dbns">
    <xsd:element name="db_reqmt" type="db_reqdt" />
    <xsd:complexType name="db_reqdt">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    5b4e7620c8a511dcc4fe001a4bf038d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="STATEMENTNAME" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    fa204eb0bceb11dcbb54001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="FETCHDATA">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    fa204eb1bceb11dc9750001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="TABLE" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    fa204eb3bceb11dccc94001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="access">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    fa204eb4bceb11dc9b35001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    fa204eb5bceb11dca20a001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="ITEM" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    d0279840c81011dc8e4e001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="QUANTITY" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    d0279841c81011dcb8f4001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="PRICE" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    d0279842c81011dc832f001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="key">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    89f43170c81611dcc8fa001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    89f43171c81611dcb6e3001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="compareOperation" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    89f43172c81611dccba5001b78afb958
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:attribute>
    </xsd:extension>
    </xsd:simpleContent>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="action" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    fa204eb2bceb11dca298001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:attribute>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Soap Responce Structure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://soap2dbns" targetNamespace="http://soap2dbns">
    <xsd:element name="soap_resmt" type="soap_resdt" />
    <xsd:complexType name="soap_resdt">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    8d49d494c8a411dc81f5001a4bf038d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="response" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    491ccd30bd0611dcb29d001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="row" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    491ccd31bd0611dca3d7001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    491ccd32bd0611dcc7d1001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="ITEM" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    491ccd33bd0611dca6ad001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="QUANTITY" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    491ccd34bd0611dc95a8001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="PRICE" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    491ccd35bd0611dcc034001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Database responce Structure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://soap2dbns" targetNamespace="http://soap2dbns">
    <xsd:element name="db_resmt" type="db_resdt" />
    <xsd:complexType name="db_resdt">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    8d3b7cb1c8a411dcb1d6001a4bf038d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="STATEMENTNAME_response" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    adca3410bcfd11dcaf4c001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="row" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    adca3411bcfd11dc92d6001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    adca3412bcfd11dc92e8001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="ITEM" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    adca3413bcfd11dc9f7a001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="QUANTITY" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    adca3414bcfd11dcc6c4001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="PRICE" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    adca3415bcfd11dca54c001b78b0798a
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Regards,
    Naresh

  • SOAP to Proxy synchronous scenario

    Hi,
    Hope you are all doing well.
    I have a SOAP to Proxy synchronous scenario. As part of this scenario, the data structure of the response sent by SAP is different from the response sent back to the SOAP requester. Hence I have used request message mapping between the SOAP request sent by requester and the one passed on to SAP and response message mapping between the response sent by SAP and the one passed on to the requester. Both the message mappings are incorporated in a single Interface mapping.
    The problem is that the interface is behaving like a asynchronous one, i.e., request is passing over to SAP but though the proxy is giving a response back, the same is not coming over to XI.
    It would be really helpful if you can let me know what might have gone wrong.
    regards
    Debansu

    Hi,
    you should have that:
    1. Two Message Mapping:
    1.1. a Message Mapping for request    (called MM_request)    , from MT_SOAP_request     to   MT_Proxy_request.
    1.2. a Message Mapping for response (called MM_response) , from MT_Proxy_response   to   MT_SOAP_response.
    2. One Operation Mapping (in PI 7.1) or Interface Mapping (in PI 7.0) from SI_SOAP to SI_ Proxy with:
    2.1 in the tab "request", so from MT_SOAP_request     to   MT_Proxy_request    , give your Message Mapping "MM_request".
    2.2 in tab "response"   , so from MT_Proxy_response   to   MT_SOAP_response, give your Message Mapping "MM_response".
    3. In you Directory, you define a flow like that:
    from SI_SOAP to SI_ Proxy by using your Operation Mapping.
    If I missed nothing, that's all.
    MT = Message Type
    MM = Message Mapping
    SI =Service Interface in PI 7.1  or Message Interface in PI 7.0.
    regards.
    Mickael
    Edited by: Mickael Huchet on Oct 19, 2011 4:07 PM

  • SOAP - XI- PROXY synchronous  scenario

    Hi Experts,
    I have a
    SOAP -
    XI -
    PROXY  Synchronous Scenario
    I have done the following things ESR and ID
    ESR:
    1. Created DT and respective MT for Request and Response.
    2. Created Service Interfaces with Synchronous mode with respective MT's.
    3. Created Two separate MM with respective Request and Response MT's.
    4. Created Operation Mapping and call both Request and Response Mappings in it.
    Integration Directory (ID):
    1. Configured considering Sender SOAP and Receiver ECC Services.
    2. Configured CC with required parameters in Sender SOAP CC and Receiver XI CC.
    3. Generate wsdl from Sender agreement and save it as a local file.
    I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
    Please hep me out.
    Thanks

    Hi Ram,
    I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
    It looks like you did not create a receiver agreement, or if you did, it did not match the interface that is given or configured in Interface Determination. Can you recheck your configuration?
    Regards,
    Mark

  • No response message in Proxy to JDBC synchronous scenario

    Dear Team,
    I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
    Business Scenario:
    ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
    Design :
    For Request structure:
    a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
    b-->Created MT for Receiver JDBC  with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
    I have been following  the link and Bhavesh Kantilal document.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
    rameset.htm&current_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
    For Response structure:
    Created MT for Receiver JDBC with All the column names.
    Created MT for target ABAP ECC with the same 11 column name of JDBC response.
    Note :
    1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
    2. The PING test connection for Cc works fine to database.
    Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
    1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
    2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
    3. How can I test ICO in ID?
    4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
    Hope all your inputs can improve my design part.
    Regards
    Rebecca

    Hi Rebecca,
    Did you go through all of these links below?
    PROXY to JDBC- SYNC
    Proxy to JDBC Sync, with Idoc Receiver
    JDBC to PROXY Sync Scenario | SCN
    JBDC Receiver Insert Statement Response
    Re: Synchronous JDBC select
    receiver JDBC structure
    Regards,
    Jannus Botha

  • JDBC Synchronous Scenario Issue

    Hi,
    I am working on JDBC to RFC which is a synchronous scenario. My sender jdbc channel is configured QoS as Best Effort. Data is getting passed to JDBC to RFC, as this is synchronous the RFC(i.e. response) to JDBC is getting triggered. Now when the RFC to JDBC is triggered i am trying to delete some data in a jdbc table. This delete process is not happening. But in moni both the messages are successfull and in RWB also i couldn't find any error.
    Please help me out.
    Thanks in Advance.
    Regards,
    Sudheer

    Hi Aamir,
    As per your suggestion i have implemented BPM for this scenario and now it is triggering the receiver JDBC channel but in my apapter monitoring i found that my receiver channel is having an error and couldn't process my request.
    I have raised a forum thread for this error, please look at the below link for the same and kindly help -
    JDBC Receiver CC Error
    Looking forward for your help in this regard!!
    Thanks in advance!!

  • JDBC- RFC- JDBC Synchronous scenario (Can't see the response message)

    Hello Experts,
    I tried this step in creating a synchronous scenario by using steps found in this site -> [http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29] I just changes File to JDBC. But problem is I see the sent XML message in SXMB_MONI but to response message. I also can't see the Sender interface name for the response message when I tried to use F4 in the Interface Name portion.
    Do someone encountered this before? Please help
    Regards,
    Alfred

    Hello,
    I hope someone could guide me on how to set this up cause I only see the sent message but there's no response message in SXMB_MONI. Note that interface was successful, I just want to see what was sent by the response.
    Regards,
    Alfred

  • Client Proxy to JDBC synchronous Scenario

    I'm using Proxy--PI---JDBC synchronous shcenario, when i execute the proxy from R/3 it is giving me error "RCVR_DETERMINATION.NO_RECEIVER_CASE_BE" in configuration i have used one inbound receiver determination for request, my question is do i need to have one more reciever determination for response.
    Thanks for help.

    No, you do not have to add additional receiver determination
    Usually in sync scenario, make sure you have one receiver determination, no arbitration.
    If you have condition for receiver detemination, make sure the condition only return one true.
    Liang

  • SOAP error in synchronous scenario for ABAP Proxy with Oracle D/B

    Dear Experts,
    I am working in Sender ABAP Proxy <====>SAP PI 7.31 JAVA only <====> Oracle Database. My proxy configuration are working successfully.
    Apart from that, I have maintained a SOAP sender communication channel under the ECC business system with
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    When I am testing from ECC at Tx SPROXY, I am receiving following error.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
    1. In XI3.0 protocol, I can not select BE but when selected HTTP 1.0 as Message protocol then I can find the BE.
    2. No Response message is shown in ECC when testing the message.
    3. How do Receiver JDBC adapter for Oracle Database is configured 
    4. What would be Message Protocol for Oracle Database i.e. XML SQL Format or Native SQL format for Select operation.
    Please guide.. All your inputs will be appreciated......
    Regards
    Rebecca

    Dear Indrajit,
    Appreciate your inputs.. Yes I have configured all the ABAP proxy configurations and there no question of missing any thing as Tx SLDCHECK in ECC is working perfectly fine.
    But still to go, some of the queries needs more input.
    1.In ID, i have created a Sender SOAP communication channel with listed details.
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    Is there any parameters which I may be missing from Module tab of Synchronous SOAP Cc ?
    2. In the Cc monitoring, the JDBC receiver status shows "Database operation successfully completed" but I could not find any response data from database. The Message monitoring should have 2 messages for 1 trigger, but I could find only 1 message by SOAP only?
    Sorry to bother experts...Please answer in sequence...
    Regards
    Rebecca

  • JDBC-JDBC Synchronous scenario

    Dear All,
    We have a scenario below and required your valuable inputs:
    From Sender DB system, we have to read 1000 records and update the flag from 0 to 1. PI does the required transformation and using SQL statements, it has to insert in the Target DB system.
    Ex: If 100 records failed in Target DB due to some erros in execution of SQL stmt, we need to send these 100 records back to sender and update the flag 1 to 2.
    FYI.. There are no Stored Procedures at Target DB system.
    We created both Sender/Receiver interfaces as Synchronous interfaces and in the response structure we defined 2 fields to read the primary key of the records, but the response mapping is getting failed.
    because JDBC Receiver adapter is allowing to have only insert_count field as response structure.
    Is there any way that I can read the failed records.
    Please suggest.
    Regards,
    Srinivas

    Hi Srinivas,
    Kindly do like this: Create a JDBC Lookup based on the response with BPM with the Primary Key Fields, Also refer Martens provided blog will helps u a lot.
    For creating JDBC Lookups Please refere the following Blogs:
    /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    Also refer the following threads:
    Re: JDBC Lookup and populate fields for output
    Re: JDBC Lookup
    Re: JDBC Lookup UDF- To fetch multiple values
    Regards
    Venkata Rao .G

  • RE: Error in soap to jdbc synchronous

    I am doing webservice to jdbc scenario....
    My data is getting inserted into database, but its showing soap response in XML Spy....
    This is the error while i copy input XML file from SXMB_MONI to test tab of Integration Repository and executed in debug mode....
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:MT_Jdbc_request xmlns:ns0="http://soaptojdbcsync.com/demo">
    <STATEMENTNAME>
    <TEST1 action="INSERT">
      <TABLE>TEST1</TABLE>
    -<access>
      <BPID>00008</BPID>
      <REQ_CUST_NUM>00234</REQ_CUST_NUM>
      <MATERIAL_NUMBER>00000000000000001068</MATERIAL_NUMBER>
      <QTY>00250</QTY>
      <SUPP_CUST_NUM>00456</SUPP_CUST_NUM>
      </access>
      </TEST1>
      </STATEMENTNAME>
      </ns0:MT_Jdbc_request>
    error in Repository
    12:37:52 Start of test
    Document start
    Start tag [ns0:MT_Jdbc_request]
    Add raw attribute [ xmlns:ns0="http://soaptojdbcsync.com/demo"]
    Start tag [STATEMENTNAME]
    Start tag [TEST1]
    Add attribute: [action]=[INSERT]
    Start tag [TABLE]
    Put value [TEST1]
    Close tag [TABLE]
    Start tag [access]
    Cannot produce target element /ns0:MT_Jdbc_request/STATEMENTNAME/TEST1/access/BPID. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns0:MT_Jdbc_request/STATEMENTNAME/TEST1/access/BPID. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    12:37:52 End of test

    Hi Jai,
    I am getting the same error. In my JDBC response, the source message (the actual JDBC response from the database) is in one SWCV and the target message is in another SWCV. Is this a problem?
    The following is the response from JDBC which is not mapping to the target message, which is abstract.
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:insert_olac_za_response xmlns:ns1="urn:bp:xi:dwn:re:cust_mdm:cmdm:scdb_olac_za:200">
    - <Insert_response>
      <insert_count>1</insert_count>
      </Insert_response>
      </ns1:insert_olac_za_response>

  • Soap to RFC  synchronous scenario

    Dear experts,
    i am doing a SOAP to RFC(BAPI_INTERNALORDER_GETDETAIL) sync scenario and the rfc returns a structure with the records as well as the BAPIRET2 records . 
    Do i need to use fault message types here ?
    If yes what would be its purpose in this scenario ?
    Ravi

    Hi,
    if you have BAPIRET2 then all the errors will be over there
    so I guess there is no need to use a fault message
    Regards,
    Michal Krawczyk

  • Issue with Receiver SOAP adapter for synchronous scenario

    Hello All,
    We are facing a strange issue with the SOAP adapter in the interface we have setup. This is the 1st time we are using SOAP adapter in our system (PI 7.11 SP7). We are making a synchronous HTTP call to the web service exposed by another system in our landscape. The payload is send with SOAP envelope and there are no credentials to be maintained in PI settings.
    The issue is that we are always getting timeout exception in PI audit logs after sending the request (3 minutes - standard timeout value, no additional config for this). But target system has confirmed that they are sending the response back. We tested from our server OS level and have received the response back in the same screen (to verify there is no firewall/port issue in between the systems). But when tried from RWB, it is always giving the timeout exception and we are not able to see any other log.
    We have tried checking in the NWA logs as well after increasing the logging level to ALL for com.sap.aii.adapter.soap. But surprisingly, we didn't get any logs at all for the outgoing SOAP call or incoming response and hence we are unable to trace the issue.
    We have setup another synchronous inbound SOAP interface (PI exposing the webservice) and it is working fine. We are also able to trace the logs in both audit log and NWA logs.
    Is there anywhere else we can check for the logs? Audit logs is showing timeout error and we are not able to see anything in NWA logs.
    Does the target system need to maintain PI credentials in the header when they send the synchronous response back?
    Are there any specific settings which should be checked to enable the sync communication? (this should not be the case since the inbound interface is working fine)
    Please help.
    Thanks
    Justin

    Hi Amit,
    Thanks for the reply.
    Yes we had tested successfully via SOAP UI as well (forgot to mention that). We are getting back the expected response in SOAP UI without using any credentials. We got the same response when we tested it through OS commands from PI server.
    The WS is hosted by the target system and they haven't maintained any credentials at their end. So when PI is trying to access, we don't need to provide any credentials. My question is, whether the target system should keep any credentials to send the synchronous response back to PI (java stack). We have tried that as well but since there aren't any logs, we are unable to verify whether the credentials are coming correctly.
    The service interfaces are correct and PI configuration are OK. I will try the XPI inspector for logs as you have suggested.
    Thanks
    Justin

  • SOAP to RFC synchronous scenario with File

    Hi,
    My scenario is 
    Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC.
    2) After receiving the response from RFC PI should send the response to java application. Now here comes the little tweak, we need to map RFC response to File as well apart from sending SOAP response message (which is generated after mapping RFC response message to Java application response structure) back to Java application.
    Is it possible without BPM?

    Without BPM you can try below approach, but i would recommend you to use BPM.
        Develop    SOAP---->PI(rfc look up) -
    > SOAP/JAVA application
    map RFC loop up response to SOAP receiver and JAVA application/.
    Regards,
    Raj

  • SOAP to RFC synchronous scenario with File without BPM

    Hi Folks,
    I have a requirement that has to be done with out BPM!!!
    Requirement:
    Soap will trigger the request to SAP(RFC) and SAP sends the response to a file and then after SOAP has to recieve the ACK from PI.
    1) Can we do this by without using BPM
    2)Can we use without BPM module entries for SOAP Sender
    Please suggest and help me out in this
    Thanks in advance,
    Regards
    vivek

    Hi Vivek,
      Why not have the SOAP interface defined as synchronous?
    You can avoid using BPM that way.
    Best Regards,
    Ravi

Maybe you are looking for