Webservice to JDBC BPM scenario

Hi Experts,
I have created the below objects for the Webservice to JDBC BPM scenario.
Data Type
1. DT_SOAPRequest
2. DT_SOAPResponse
3. DT_JDBCRequest
4. DT_JDBCResponse
MessageType
1. MT_SOAPRequest
2. MT_SOAPResponse
3. MT_JDBCRequest
4. MT_JDBCResponse
Message Interface
1. MIIS_JDBC_In  - Inbound Synch(With JDBCRequest(Input message) and JDBCResponse(Output message)
2. MIOS_SOAP_Out - - Outbound Synch(With SOAPRequest(Input message) and SOAPResponse(Output message)
3. SOAPRequest_ABS - Abstract Asynch for SOAP Request
4. SOAPResponse_ABS - Abstract Asynch for SOAP Response
5. JDBCRequest_ABS - Abstract Asynch for JDBC Request
6. JDBCResponse_ABS - Abstract Asynch for JDBC Response
Is the object are correct?
Already raised the same below request..but still confused with BPM flow
BPM scenario
Please help me out..
Thanks in Advance
Sara

Hi Sara:
Container variable : You have to create 3 variables...
1. Name : ReceiveMessage
   Category : Abstract 
   Type : MI_AA_SOAP_Req
2. Name : SendSynch
   Category : Abstract 
   Type : MI_AS_SOAP_ReqResp
3. Name : Send
   Category : Abstract 
   Type : MI_AA_SOAP_Resp
BPM Steps:
1. Create Receive Step :
In properties :
Message = MI_AA_SOAP_Req
Mode = Open S/A Bridge
Synchronous INterface = MI_AS_SOAP_ReqResp
2. Create Send Step
In propereties :
Mode = Synchronous
Synch Interface = MI_AS_SOAP_ReqResp
Req Message = MI_AA_SOAP_Req
Resp Message = MI_AA_SOAP_Resp
3. Again create Send step
In propereties :
Mode = Close S/A Bridge
Message = MI_AA_SOAP_Resp
Opened by = Receive
I almost provide you each step to create BPM:)
Try and let me us now if you find any difficulty.
Thanks
Farooq.

Similar Messages

  • Webservice - XI - JDBC BPM scenario

    Hi Experts,
    Could you please provide the steps to do the Webserive -> XI -> JDBC scenario, using BPM?
    Regards
    Sara

    Hi Jai,
    Actually, I have to do multiple orchestrations scenarios.
    I came to know from some of the XI experts that I have to use BPM to do multiple orchestration scenarios.
    If you have any idea, could you please provide the BPM steps for the (Webservice to JDBC synch scenario)
    Regards
    Sara

  • Webserice to JDBC BPM scenario

    Hi Experts,
    I have created the below webservice to JDBC BPM scenario.
    IR
    Data Type
    1. DT_SOAPRequest
    2. DT_SOAPResponse
    3. DT_JDBCRequest
    4. DT_JDBCRequest_response
    Message Type
    1. MT_SOAPRequest
    2. MT_SOAPResponse
    3. MT_JDBCRequest
    4. MT_JDBCRequest_response
    Message Interface
    1. SOAP_Out_Sync_ReqResp
    2. SOAP_Abs_Sync_ReqResp
    3. SOAP_Abs_Async_Req
    4. SOAP_Abs_Async_Resp
    5. JDBC_In_Sync_ReqResp
    Message Mapping
    1. MM_Request ( MT_SOAPRequest to MT_JDBCRequest)
    2. MM_Response (MT_JDBCRequest_response to MT_SOAPResponse)
    Interface Mapping
    IM_SOAP_TO_JDBC (SOAP_Abs_Sync_ReqResp to JDBC_In_Sync_ReqResp)
    Integration Process
    IP_SOAP_TO_JDBC
    Container Variable
    1. ReceiveMsg - SOAP_Abs_Async_Req
    2. SendMsg - SOAP_Abs_Async_Resp
    Process
    1. Receive Step:
    Message : ReceiveMsg
    Mode : Opens S/A bridge
    Sync Interface : SOAP_Abs_Sync_ReqResp
    2. Send Step:
    Mode :  Sync
    Sync Interface : SOAP_Abs_Sync_ReqResp
    Request Message : ReceiveMsg
    Response Message : SendMsg
    3. Send Step:
    Mode : Closes S/A bridge
    Opend by : Receive step
    ID
    Business Service & communication channel
    1. BS_SOAP ( For Sender Interface, I have mentioned SOAP_Out_Sync_ReqResp -->Is this correct)
       a) CC_SOAP - Default Interface Name : What we have to give here ?SOAP_Out_Sync_ReqResp or SOAP_Out_Sync_ReqResp
    2. BS_JDBC ( Receiver Interface : JDBC_In_Sync_ReqResp)
    One more question, while creating webserive which interface name we have to give Abs_Sync or Outbound_Sync? Not comfortabel with Configuration part, please share your inputs.
    Regards
    Sara

    Hi Sekhar,
    I need info on only Message Interface in SOAP Service, SOAP CC and while creating webserivce from Integration Directory -> Tools -> Define webservice -> 3rd step. I have done with the remaining Sender Agreement, Receiver Agreement, Receiver Determination, Interface Determination..
    Confusion is, I have to use whether SOAP_Abs_synch or  SOAP_Outbound_synch interface...
    Regards
    Sara

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
    Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
    And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
    Do you guys think it is a cache problem or something else?
    Thank you.

    this is because there is no proper error handling in your BPM.
    you need to handle the exceptions in case of mapping or communication failures.
    refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

  • Need inputs for FILE-Webservice-File using BPM scenario

    Hello All,
    can any one tell me how to do the file-webservice(soap adapter)-file with out BPM.
    If we cant do with out BPM then, please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
    Thanks and Regards,
    chinna

    Hi Chinna,
    Check this links for the receiver side SOAP configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Sender side File adapter configuration is as usual
    > please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
    It is a synchronous scenario so you need to create the two message interfacess for the sender (one is for request message and another is for response message). For receiver you don't need to create any message interfaces, because the WSDL internally having the two messages (request and response).
    Regards
    Ramesh

  • Problem in Webservice-XI-JDBC scenario

    Hi Experts,
    I am working on webservice - XI - JDBC Synchronous scenario. I have done with SLD, IR, ID, WSDL file creation.
    When I tried to test the scenario thro' Webservice Studio, I am getting the following error. This error comes, once I give the request value.
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
    The request failed with the error message:
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    401   Unauthorized
    If you come across this type of issues, then please help me to solve it.
    Regards
    Sara
    Message was edited by:
            Sara D

    Hi Bhavesh,
    As per the blog, I have done the username & pwd setup..but still getting the "401 Unauthorized".  Could you please tell me, what could be the problem?
    Here is the full error trace.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
    The request failed with the error message:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Error Report</title>
    <style>
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    </style>
    </head>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td>
    </tr>
    <tr bgcolor="#3F73A3">
        <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
        <td height="23"><img width=1 height=1 border=0 alt=""></td>
        <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td>
    </tr>
    <tr bgcolor="#9DCDFD">
        <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
    </tr>
    </table>
    <br><br><br><br><br><br>
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  No login module succeeded.</b></font></td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td>
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td>
    </tr>
    </body>
    </html>
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at MI_OutboundService.MI_Outbound(DT_REQUEST MT_REQUEST)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at WebServiceStudio.MainForm.InvokeWebMethod()
       at WebServiceStudio.MainForm.buttonInvoke_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Regards
    Sara
    Message was edited by:
            Sara D

  • ** Throw Exception in BPM - Webservice to JDBC

    Hi friends,
    I am doing Webservice to JDBC scenario using BPM. I am doing insert data in backend system oracle table by passing inputs from WebService. After insert data in table, JBDC returns the response to web service thru response variable 'insert_count = 1' like this. When I try to insert the same record, that is, employee no as primary key in my table,  XI throws an error 'ORA-00001 - unique constraint' in Addtional . We have to pass this information to Web Service. How will we achive this ?
    Presently in our BPM design,
    1) Exception property of the block as 'Error'.
    2) Inside Block, in Sync Send Step (BPM -> JDBC) specified 'Exception/System Error'  as 'Error'.
    3) Inserted one Exception Handler Brach. In this Brach, inserted one control step. In this step, itself we put a Control Step, the action property of this step is 'Throw Exception'. Here , what we need to set for the 'Exception Property' ..?
    Kindly help me friends.

    Hi Mahesh,
    I refered those scenarios. But, our requirment is we want to take 'Additional Text' option from SXMB_MONI and map to WS source structure one element.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Adapter --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIServer</SAP:Category><SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>TIME OUT REACHED</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Timeout condition of pipeline reached
    </SAP:Stack><SAP:Retry>N</SAP:Retry></SAP:Error>
    Could you kindly help me ?

  • Two way Asynchronous business process for Webservice to JDBC scenario

    Hi Experts,
    For the webservice to JDBC scenario, I have to use two way Asynchronous business process. Is it possible?
    Scenario : Webservice to JDBC -> Async Call
    JDBC to Webservice -> Async Call
    I have already done with two way Synchronous. Here I would like to know about only Async call. Please provide your suggestions.
    Is it recommended to use Async call when we have Synchronous option?
    For the above requirement I have to create two separate services and in BPM, I have to call one by one..Is it correct?
    Regards
    Sara
    Edited by: Sara D on Dec 18, 2007 8:05 AM

    hi sara,
    yes it is possible.
    In receiver channel JDBC we have a special parameter "Exactly Once Handling " which is to assure async incoming data to be written only once to avoid redundancy.
    Although Synchronous is "Best Effort" but it is considered to be "Worst Case". We can use Sync but try to use Async as much as possible to ensure system performance.
    Ques : For the above requirement I have to create two separate services and in BPM, I have to call one by one..Is it correct?
    yup you have to create two services and you are following right path but this scenario should be in two steps seperately.
    Rergards,
    Mandeep Virk

  • BPM scenario  using JDBC and acknowledgement

    hello
    i have the foll. requirement-
    mine is a File->JDBC-> File scenario using ack.(BPM is used)
    a file is placed. the content of the file is used to select certain data from the JDBC.
    The response from JDBC consists of multiple rows, each of has only one field-Name(occurrence 0..1).
    This response needs to be mapped to a file.(let us say mapping1)
    My problem is, I need to get the number of times the name field is absent from the response(rows) and use the value in another mapping(let us say mapping2)) which is used in sending the acknowledgement.This implies that the acknowledgement data consists of the number of time the name was absent from teh response.
    i thought of using a global variable in mapping1.However we cant refer to this global variable in mapping2.
    Also in case i use a container element in switch in IP, there is no function to check if a certain field is absent or not.
    please help.

    Hi,
    In the BPM say you receive message M1 on which you need to perform the counting
    Then in the mapping2 you include this message on the source side alongwith the main source message
    In this mapping itself check for the occurence /  non-occurence of the node in message M1 and count it.
    Then assign it to the required element in the target....you will have two source and one target messages in the mapping2.....
    Make sure that your message M1 is not chaanged till it reaches mapping2......i.e. M1 --> transformation --> M1 (with some other data format in the same structure)....it will work.
    Also in case i use a container element in switch in IP, there is no function to check if a certain field is absent or not.
    you can check the existence of a field in the Switch block:
    For XI:
    Include a Switch Block --> Click on the condition section of the switch --> select the Xpath of the element from the desired message --> Click Ok --> Then select the Right Operand in the Condition Editor as EX --> Click OK
    For eg: p1:EmpData/FirstNam EX........it will execute the IF branch if FirstName field exists
    For PI7.1:
    Refer this thread:
    Re: Using element of message in condition editor in BPM
    Regards,
    Abhishek.

  • Problem with webservice to JDBC scenario

    Hi Experts,
    <b>Scenario :</b> Webservice - XI - JDBC
    <b>Issue :</b> When I tried to access the url which I have used it to create the wsdl file, I am getting error.
    <b>Url :</b> http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=WEB_SERVICE:SOAP_CC
    <b>Error :</b> Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#7 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0
    ModuleProcessorRemote not instantiated
    Could you please tell me, why I am getting the above error?
    Regards
    Sara
    Message was edited by:
            Sara D

    Sara,
    >>Url :  http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=WEB_SERVICE:SOAP_CC
    Do you have the <b>:</b> as pointed in bold in the URL? Just give a try again.
    http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=<b>:</b>WEB_SERVICE:SOAP_CC
    Regards,
    Jai Shankar

  • Need help in webservice to JDBC scenario

    Hi All,
    My scenario is a synchronous webservice to JDBC scenario. The SOAP request contains two fields one is ID & the other field is Date which is an optional field. I need to perform a SELECT statement on JDBC based on ID & Date. SOAP request will always contain ID field & Date may or maynot be there in the request. If Date present then search should be based on ID & Date , if Date not present search should be based on ID only. How to achieve this with the help of standard JDBC reciever structure or is there any other way to achieve this?
    Thanks
    Navin

    You can create your target structure as shown below and check the existence of DATE field in the source(using standard function "Exists" ) and then only create the target DATE node.
    <StatementName>
              <dbTableName action=u201DSELECTu201D>
                  <table>realDbTableName</table>
                  <access>
                      <col1/>
                     <col2/>
                     <col3/>
                  </access>
                  <key1>
                     <DATE/>
                     <ID/>
                  </key1>
              </dbTableName>
       </StatementName>
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417700%29ID0591392850DB01436613452367233705End?blog=/pub/wlg/3928
    Pooja

  • CPAChannelStoppedException for Webservice - XI - JDBC scenario

    Hi Experts,
    When I have tried to test Webservice -> XI -> JDBC scenario, I am getting the below error. In the ID, the SOAP Adapter communication channel is <b>active</b>.
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>CPAChannelStoppedException</code>
                             <text><![CDATA[
    com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.
         at com.sap.aii.af.service.administration.impl.cpa.CommonCPA.checkChannelState(CommonCPA.java:58)
    Please share your suggestions.
    Regards
    Sara

    Hi All,
    Thanks for your immediate responses. In RWB --> Component Monitoring --> Comm Channel Monitoring the SOAP CC was stopped. Just started it. Now the status is active.
    Regards
    Sara

  • Problem with Webservice - XI - JDBC scenario

    Hi Experts,
    When I have tried to test the Webservice -> XI -> JDBC scenario with the mention address, I am getting the below error.
    <b>Address :</b> http://<Host>:50100/XISOAPAdapter/MessageServlet?channel=:WEB_SERVICE:SOAP_CC&version=3.0&Sender.Service=WEB_SERVICE&Interface=http%3A%2F%2Fatl.com%2Ftar%5EMI_Outbound
    <b>Error:</b>
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>RecoverableException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:919)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258)
    JDBC Part works fine only problem with the SOAP sender side. Any suggestion please..
    Regards
    Sara
    Message was edited by:
            Sara D

    Hi,
    As per Bhavesh & Krishna's suggestion, I have changed the JDBC Data type. Now I could able to see the SXMB_MONI error too.
    Latest error:
    When I have tried to test the scenario using xmlApy, I am getting the below error.
    <b>RWB error:</b>
    2007-06-21 03:04:24 Success Receiver JDBC adapter: processing started; QoS required: BestEffort
    2007-06-21 03:04:24 Success JDBC adapter receiver channel DB_CC: processing started; party  , service DB_SERVICE
    2007-06-21 03:04:24 Error Unable to execute statement for table or stored procedure. 'Address' (Structure 'STATEMENT') due to java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
    <b>xmlSpy Error:</b>
                   <context>XIAdapter</context>
                             <code>RecoverableException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Address' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:919)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258)
    I have mapped the EmpId in the mapping as well as in the DB the EmpId is Primary Key. Could you please tell me,what I am missing here?
    Regards
    Sara
    Message was edited by:
            Sara D

  • 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

  • BPM Scenario : How to Proceed ?

    hi folks,
    I am working on a BPM scenario .
    Scenario goes like this : I want to pick the data from a file and post the data into SAP using a RFC and get some data in response .now data which came back as a response from RFC response should be written in a XML file whose name should be dynamically generate and then the name of the dynamically generated XML file should go into a table.
    My BPM is like this
    Step 1  : Receive ( For collecting the data from file)
    Step 2 :  Sync Call to RFC ( For making a sync call to RFc and then sending back the resp data)
    Step 3 :  Send Step ( For sending the response data to XML file , name should be dynamically generated)
    Step 4 : Send step ( For sending the dynamic file name of XML file to Table)
    Till step 3 i have worked fine and getting the desired output also ( as i am getting the  dynamic file name in the output xml file) but after that not sure how to proceed...
    how to push the dynamic file name from XML file to Table.
    Now my doubts...
    Is design of my BPM  is right...? if not please correct me...and also if there is any other way to get the same functionality ?
    Regards,

    Hi Latika,
    -->hw r u generating the filename? is it thru a field in ur structure that u are capturing by setting adapter specific attributes in receiver file adapter config?
    Yes
    -->if yes, then use that field only to get the file name. in ur last send step u can use a mapping to trasfer this field into the target structure for oracle database.
    even i also want todo this...but how..this is the question..
    My BPM is like this
    Step 1 : Receive ( For collecting the data from file)
    Step 2 : Sync Call to RFC ( For making a sync call to RFc and then sending back the resp data)
    Step 3 : Send Step ( For sending the response data to XML file , name should be dynamically generated)
    Step 4 : Send step ( For sending the dynamic file name of XML file to Table)
    I step 3 data to file(dynamic file name) is send.
    Now how can i send the data from dynamic file generated just now to JDBC.....?
    Kindly help by step by steps..explanation..
    Regards,

Maybe you are looking for

  • Open Qty for Contracts in Purchasing

    Hi, Is there a standard config for Open Target Quantities for Contracts, as there is for standard POs (there is Open Qty - 0BO_QTY - within the 0PUR_DS03 transformation), but I need to show an Open Target Qty for Contracts. The value exists within RM

  • Adding Partner into Purchase Order (ME21N, ME22N)

    Hi, I want to add a parnter into purchase order. Logic of determining of partner is very complex and I have to write a program for this purpose. Are there any user exit where I can include this program and add additional line into EKPA? Thanks in adv

  • Iphone 5 Reboot problem please help?!!

    Last night i turned off my iphone 5 and when i woke up i tried to boot it up. It didn't work. I pressed the home button and power button mutiple times and just right when i got the charger and plug it in the usb without the other end in yet it turned

  • How to disable password in a file before sharing

    I have to share my credit card statement but I donot want to share the password.Help?

  • Use for a Crosstab Query?

    I have a table with the following metric data in it. one entry for a metric, whether its integrity was checked and the date checked. I need a report that puts all monthly activity on a single line. Examples: Here's what the table looks like proj_name