JDBC  Receiver Structure for Synchronous scenario

Hi,
I have synchronous scenairo of jdbc where we are executing the stored procedure, up to response message  mapping it is working fine and getting value from stored procedure but the problem is that response result not able to send to response target. where response is sending output ot jdbc receiver in response target.
In SXMB_Moni we get response id like this
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SP_RESPONSE_TARGET xmlns:ns0="http://ns_jdbctest">
- <TESTSP>
- <row action="INSERT">
  <table>TESTSP</table>
  </row>
  </TESTSP>
  </ns0:MT_SP_RESPONSE_TARGET>
Where access element is missing but in response mapping it is properly structured like this
MT_SP_RESPONSE_TARGET     Element     DT_SP_RESPONSE_TARGET               null               
TESTSP     Element          1               
row     Element          1..unbounded               
action     Attribute     xsd:string     required                    
table     Element     xsd:string     1               
access     Element          0..unbounded                    
Result     Element     xsd:integer     0..1          
Please Suggest.
Regards
Laxmi Bhushan

Its All Done the same way.
XSMB_MONI and CC Monitoring have not any problem , Message Is sucessfully DLVD.
But in SXMB_MONI response  struecture is like this
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SP_RESPONSE_TARGET xmlns:ns0="http://ns_jdbctest">
- <TESTSP>
- <row action="INSERT">
  <table>TESTSP</table>
  </row>
  </TESTSP>
  </ns0:MT_SP_RESPONSE_TARGET>
And INBOUND Payload for source response is like this
<?xml version="1.0" encoding="utf-8" ?>
- <ns0:MT_SP_JDBC_response xmlns:ns0="http://ns_jdbctest">
- <GetNextSiteNumberTEST_response>
  <Result>113</Result>
  </GetNextSiteNumberTEST_response>
  </ns0:MT_SP_JDBC_response>
Result key is not in the access element.
Pls correct me.
Regards
Laxmi Bhushan

Similar Messages

  • Enhanced Receiver Determination for synchronous interface.

    Hello!
    Was anyone faced with the Enhanced Receiver Determination? When I try to create
    the definition of the Interface Mapping, I get the error:
    "Interface modi are different. Source interface Message Interface MI_My_sync_iface | urn:my is synchronous. Target interface Message Interface ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous"
    Thank you.

    Hi ,
    U can go through below limks  :
    Illustration of Enhanced Receiver Determination - SP16
    SAP NetWeaver Process Integration: Enhanced Receiver Determination for Synchronous Scenarios
    Enhanced Receiver Determination in SAP XI - Exchange Infrastructure - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/enhanced%2breceiver%2bdetermination%2bin%2bsap%2bxi
    Thanks

  • Question about Sender and Receiver Structure for JDBC

    Dear All,
    I want to know why there is a fixed format for sender and receiver structure for JDBC. why cant we use the structure like what we want? explain me in detail.
    Thanks

    Good Question:
    We have to create our data structure based on the existing database table structure. While reading or writing , JDBC adapter convert our data type structure in to SQL Query Statements that matches Table structure.

  • JDBC receiver adapter for AS400-query time out due to Escape Symbol

    Hello,
    I am uisng JDBC receiver adapter for AS 400, When I execute query, the query needs to have arguments in the open and close single ticks ('    12345' )
    My XML pay load looks like this, which is RFC sender. Look at dcudcstmr in <i><b>(' 838912')</b></i>.  When receiver gets this message the ' (single quotes are disappeared.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_Cma_Customer_Select_Request xmlns:ns1="http://freemanco.com/xi/Get_Customer">
    - <Statement>
    - <LawsonCustomer action="SQL_QUERY">
      <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <i><b>(' 838912')</b></i> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
      </LawsonCustomer>
      </Statement>
      </ns1:MT_Cma_Customer_Select_Request>
    On the Receiver JDBC adapter I have tried with different combinations of Escape Symbol for Aposrophe as follows
    <b>   \
       '</b>
    As you know this is related to epcape character, I get following error all the time. Looks like the query is not able to execute in the specified time. My question is how do I get single quote as part of query.
    <b>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( 100001) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr) 2007-09-20 15:56:42 Error Unable to execute statement for table or stored procedure. 'LawsonCustomer' (Structure 'Statement') due to java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000.. Setting message to status failed. 2007-09-20 15:56:42 Error The message status set to FAIL. 2007-09-20 15:56:42 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000</b>
    Any feedback or helpfull tips appreciated.
    Thank you,
    Balaji

    Raj,
    Thank you for the reponse. I am using UDF on sender to generate sql statement as you see in sender XML message. After the message reaching receiver, gets executed but no response from AS400 becasue of missing single quotes in the sql query executed.
    Sender XML sends
    <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <u><b>(' 838912')</b></u> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
    Receiver executes as
    select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( <b><u>838912</u></b>) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)
    As you see the single quotes are missing. Like I said in previous posting I tried with following Escape Symbol for Aposrophe.
    Let me know if you need more information.
    Thank you,
    Balaji

  • Dynamic receiver determination for synchron interface

    Hello everybody,
    I want to use dynamic receiver determination for a synchron scenario.
    The problem is, that the interface 'ReceiverDetermination' (http://sap.com/xi/XI/System SAP BASIS 7.00) is a asynchron interface.
    This leads to an error when activating the Interface-Mapping (synch source Interface -> asynch destination Interface ReceiverDetermination)
    Is there a way to use the dynamic receiver determination for synchron interface?
    Thanks a lot,
    Thomas

    Hi Thomas,
    I guess your scenario is not possible ASIS, since XI doesn't support 1:n for sync interfaces (and even if your mapping condition reduces it to 1:1, actually it is still 1:n, since your receiver list is unbounded).
    Theoretically, you could make it work with BPM, though.
    But I've never worked with a Receiver Determination Step reading from an enhanced receiver determination in ID (though there should be no problems).
    Use sync async bridge, then use receiver determination step to obtain the receiver from an enhanced Receiver Determination. Pay attention that this enhanced receiver determination is a dummy one, using a mapping from your async abstract interface to the ReceiverDetermination interface. Once your mapping has determined the receiver, the enhanced receiver determination will return that receiver to the Receiver Determination step in the BPM. Then use this receiver in the sync send step (in mode receiver from receiver list, not from context).
    The receiver determination of the actual sync send step may be a standard one, with the several receivers there (even if there are several there, at the moment of the sending, only one will be used).
    Maybe it will work, maybe not.
    Just try it.
    Regards,
    Henrique.

  • SAP PI conceptual best practice for synchronous scenarios

    Hi,
    <br /><br />Apologies for the length of this post but I'm sure this is an area most of you have thought about in your journey with SAP PI.
    <br /><br />We have recently upgraded our SAP PI system from 7.0 to 7.1 and I'd like to document  best practice guidelines for our internal development team to follow.
    I'd be grateful for any feedback related to my thoughts below which may help to consolidate my knowledge to date.
    <br /><br />Prior to the upgrade we have implemented a number of synchronous and asynchronous scenarios using SAP PI as the hub at runtime using the Integration Directory configuration.
    No interfaces to date are exposes directly from our backend systems using transaction SOAMANAGER.
    <br /><br />Our asynchronous scenarios operate through the SAP PI hub at runtime which builds in resilience and harnesses the benefits of the queue-based approach.
    <br /><br />My queries relate to the implementation of synchronous scenarios where there is no mapping or routing requirement.  Perhaps it's best that I outline my experience/thoughts on the 3 options and summarise my queries/concerns that people may be able to advise upon afterwards.
    <br /><br />1) Use SAP PI Integration Directory.  I appreciate going through SAP PI at runtime is not necessary and adds latency to the process but the monitoring capability in transaction SXMB_MONI provide full access for audit purposes and we have implemented alerting running hourly so all process errors are raised and we handle accordingly.  In our SAP PI Production system we have a full record of sync messages recorded while these don't show in the backend system as we don't have propogation turned on.  When we first looked at this, the reduction in speed seemed to be outweighed by the quality of the monitoring/alerting given none of the processes are particularly intensive and don't require instant responses.  We have some inbound interfaces called by two sender systems so we have the overhead of maintaing the Integration Repository/Directory design/configuration twice for these systems but the nice thing is SXMB_MONI shows which system sent the message.  Extra work but seemingly for improved visibility of the process.  I'm not suggesting this is the correct long term approach but states where we are currently.
    <br /><br />2) Use the Advanced Adapter Engine.  I've heard mixed reviews about this functionaslity, there areh obvious improvements in speed by avoiding the ABAP stack on the SAP PI server at runtime, but some people have complained about the lack of SXMB_MONI support.  I don't know if this is still the case as we're at SAP PI 7.1 EHP1 but I plan to test and evaluate once Basis have set up the pre-requisite RFC etc. 
    <br /><br />3) Use the backend system's SOAP runtime and SOAMANAGER.  Using this option I can still model inbound interfaces in SAP PI but expose these using transaction SOAMANAGER in the backend ABAP system.  [I would have tested out the direct P2P connection option but our backend systems are still at Netweaver 7.0 and this option is not supported until 7.1 so that's out for now.]  The clear benefits of exposing the service directly from the backend system is obviously performance which in some of our planned processes would be desirable.  My understanding is that the logging/tracing options in SOAMANAGER have to be switched on while you investigate so there is no automatic recording of interface detail for retrospective review. 
    <br /><br />Queries:
    <br /><br />I have the feeling that there is no clear cut answer to which of the options you select from above but the decision should be based upon the requirements.
    <br /><br />I'm curious to understand SAPs intention with these options  -
    <br /><br />- For synchronous scenarios is it assumed that the client should always handle errors therefore the lack of monitoring should be less of a concern and option 3 desirable when no mapping/routing is required? 
    <br /><br />- Not only does option 3 offer the best performance, but the generated WSDL is ready once built for any further system to implement thereby offering the maximum benefit of SOA, therefore should we always use option 3 whenever possible?
    <br /><br />- Is it intended that the AAE runtime should be used when available but only for asynchronous scenarios or those requiring SAP PI functionality like mapping/routing otherwise customers should use option 3?  I accept there are some areas of functionality not yet supported with the AAE so that would be another factor.
    <br /><br />Thanks for any advice, it is much appreciated.
    <br /><br />Alan
    Edited by: Alan Cecchini on Aug 19, 2010 11:48 AM
    Edited by: Alan Cecchini on Aug 19, 2010 11:50 AM
    Edited by: Alan Cecchini on Aug 20, 2010 12:11 PM

    Hi Aaron,
    I was hoping for a better more concrete answer to my questions.
    I've had discussion with a number of experienced SAP developers and read many articles.
    There is no definitive paper that sets out the best approach here but I have gleaned the following key points:
    - Make interfaces asynchronous whenever possible to reduce system dependencies and improve the user experience (e.g. by eliminating wait times when they are not essential, such as by sending them an email with confirmation details rather than waiting for the server to respond)
    - It is the responsibility of the client to handle errors in synchronous scenarios hence monitoring lost through P-P services compared to the details information in transaction SXMB_MONI for PI services is not such a big issue.  You can always turn on monitoring in SOAMANAGER to trace errors if need be.
    - Choice of integration technique varies considerably by release level (for PI and Netweaver) so system landscape will be a significant factor.  For example, we have some systems on Netweaver 7.0 and other on 7.1.  As you need 7.1 for direction connection PI services we'd rather wait until all systems are at the higher level than have mixed usage in our landscape - it is already complex enough.
    - We've not tried the AAE option in a Production scenarios yet but this is only really important for high volume interfaces, something that is not a concern at the moment.  Obviously cumulative performance may be an issue in time so we plan to start looking at AAE soon.
    Hope these comments may be useful.
    Alan

  • Set up the Organizational structure for MSS scenario

    Hi!
    I would like to set up the Organizational structure for MSS scenario within SAP Portal.
    Question:
    1) How to set up/map real user from SU01 to Manager? (tcode, report)
    2) How to mark them as 'Chief' (tcode, report)
    3) How to be sure that PA & OM are configured correctly and the integration switch is on?
    Which SAP course or SDN blog describes this?
    Thank you very much!
    regards
    Jürgen

    How to be sure that PA & OM are configured correctly and the integration switch is on?
    Check It000 and IT0001 here u will get objects from OM and PA  (position ID , Job Key, organisational Key)
    and integration switch
    check plogi orga , plogi plogi , plogi perli  in V_T77s0
    Edited by: Sikindar on Feb 10, 2009 6:53 PM

  • Organizational structure for MSS scenario

    Hi!
    I would like to set up the Organizational structure for MSS scenario within SAP Portal.
    Question:
    1) How to set up/map real user from SU01 to Manager? (tcode, report)
    2) How to mark them as 'Chief' (tcode, report)
    3) How to be sure that PA & OM are configured correctly and the integration switch is on?
    Which SAP course or SDN blog describes this?
    Thank you very much!
    regards
    Jürgen

    Hi,
    For MSS,
    Perner have the chief position in organization structure   that you can create in transaction PP01 and for relation ship infotype you have tio create 012 relationship.
    Infotype 0105 with subtype System User Name must exist
    PLOGI ORGA Switch MUSt BE Activated
    Regards,
    Kapil

  • Enhanced Receiver Determination in Synchronous Scenario

    Hi,
    my synch scenario with standard Receiver determination is working fine.
    the service interfaces i used are SI_OutSynch_EmpInfo_Request and SI_InbSynch_EmpInfo_Provide.
    I am now trying to apply enhanced Receiver determination for the same synch scenario.
    For this, in ID, in my Receiver Determination object i selected the radio button Extended, then it is asking for an operation mapping. infact it is asking for an OM with sender Interface=SI_OutSynch_EmpInfo_Request (from my swcv) and Receiver Interface = ReceiverDetermination (from SAP BASIS swcv)..
    So I logged into ESR, and created an OM_test_EnhancedRD, with sourceInterface=SI_OutSynch_EmpInfo_Request (from my swcv) and TargetInterface = ReceiverDetermination (from SAP BASIS swcv)
    But when i tried to activate the OM_test_EnhancedRD, it is not getting activated, and giving below error:
    Interface modi are different. Source interface Operation SI_OutSynch_EmpInfo_Request | http://mycomp.com/myns is synchronous. Target interface Operation ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous
    So my queries are:
    1. is for synch scenarios, if receiver information is part of the request payload, how can we apply the extended Receiver Determination, so that the Receiver is determined dynamically.
    2. or is there any synch version of ReceiverDetermination (from SAP BASIS swcv) available.
    thanks in advance.
    madhu.

    in this case, does SAP provide synch version of ReceiverDetermination SI, so that we can use that in OM for enhanced Receiver Determination.
    If you have a look at the blog-reference given by Ravi you will find a way on how to make the ReceiverDetermination Si synchronous or work with the same async SI.....for quick reference below is the way mentioned in the blog:
    From the blog:
    Option 1:
    A quick and easy way to allow for synchronous enhanced receiver determination setup is to circumvent the check that prevents
    a synchronous interface to be matched to an asynchronous interface in an interface mapping. This can be done simply by
    manually entering the name and namespace of the ReceiverDetermination interface object (e.g. 'ReceiverDetermination'
    and 'http://sap.com/xi/XI/System' respectively) for the target/receiver interface in the interface mapping, but leaving the value for
    the Software Component Version empty.
    Option 2:
    Select Modify and then change the mode to synchronous. Since a synchronous interface requires an input message as well, you
    can reuse the Receivers message type used in the output message - it doesn't really matter as long as some message type is
    used.
    Both of the above options are available under the Applying the Workarounds section of the blog
    Regards,
    Abhishek.

  • 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

  • JDBC receiver adapter for AS/400 DB2

    Hi guys,
    We have developed an Idoc to JDBC scenario for inserting data in a Z-table of SAP R/3 that sits on an AS/400 DB2.
    When testing it, message Mapping is executed successfully, but in communication channel monitoring, we get the following error log:
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZSBU_MATERIALS' (structure 'STATEMENT'): java.sql.SQLException: [SQL0204] ZSBU_MATERIALS in SBU type *FILE not found.
    The Z-table name is correct. It seems to me that it needs something more (like a library name).
    Any ideas?
    Evaggelos

    Hi,
    There is a difference between db2..and db2 on as400 as on as400 db2 comes as part of the OS install itself..See if you can connect to db2 on the as400 system from qshell..
    If you really want to manually configure the connection via the DB2 command line, then you will need to enter catalog commands similar to the following:
       1. > db2 catalog tcpip node as400 remote as400.somecompany.com server 446
       2. > db2 catalog db as400db at node as400 authentication dcs
       3. > db2 catalog dcs db as400db as mydbsvr
    Where "as400db" is your local alias for the database and "mydbsvr" is the local RDB name of the AS/400 (set via WRKRDBDIRE).
    If you catalogued the DB2 for i5/OS server incorrectly, you may get an SQL5048N error message. SQL7008N is another common error is that the DB2 for i5/OS tables being accessed on the server are not being journaled. To correct the SQL7008N error, you need to start journaling your tables or change the isolation level to No Commit.
    Regards
    Ravi Raman

  • Dynamic receiver Determination for Sync Scenario??

    Hello Experts,
      I have a SOAP -> Xi -> R3 sync scenario i,e, R3 to send back response to SOAP client.
    Also I need the Dynamic receiver determination.
    When I try to create the Interface Mapping, I get the error:
    "Interface modi are different. "
    Source interface MI_My_sync_iface is synchronous.
    Target interface  ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous
    I coud find few threads on forum related to this but i think there is no clear solution provided.
    I do not wanna use BPM.
    Please suggest.
    Thanks in Advance!
    Appropriate point will be awarded.

    > So when I try to define a interface Mapping using a Sync interface as Source and Async interface as target, XI does not allow me to do so.
    You are getting this error because in Interface mapping when you use sync source then it generates request and response tab so if at target side if you put anync interface then definetly it will go into error. You have to make both the interfaces as sync.
    BTW, after getting the message in R3, how are processing the message? Are you using sync proxy??
    You can solve the problem by creating one additional message interface of type inbound-asyn. Use this additional Message interfce in your Interface Determination. And create additional Receiver Agreement to deliver the message to it's destination.
    Note: When you careate additional Interface Determination then you have to chose the response message interface (Sync message interface which returns the response from R3) as a source.
    Regards,
    Sarvesh

  • Mapping : Complex Structured Source to JDBC receiver structure

    Hello...
    We have a source structure as
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MTO_Corporate xmlns:ns0="http://axis.com/authorization">
       <Details>
          <Corporate_Details> ---------- (occurence 1 to n)
             <ID/>
             <Name/>
             <Address/>
             <Delivery_Address/>
             <Email_ID/>
             <Request_Limit/>
             <Total_Limit/>
             <Used_Limit/>
             <Availability_Limit/>
             <Sanction_Date/>
             <Created_By/>
             <Created_Date/>
             <Fax_No/>
             <Max_Authorizers/>
             <Account_Details> ---------- (occurence 1 to m)
                <Corp_Acc_Type/>
                <Corp_Acc_Num/>
                <Branch_Code/>
                <Branch_Name/>
                <Bank_City/>
             </Account_Details>
             <Department_Details> ---------- (occurence 0 to x)
                <Dept_Code/>
                <Dept_Name/>
             </Department_Details>
             <Designation_Details>---------- (occurence 0 to y)
                <Desig_Code/>
                <Desig_Name/>
             </Designation_Details>
             <Status/>
             <State/>
          </Corporate_Details>
       </Details>
    </ns0:MTO_Corporate>
    In this structure, each corporate can have more than one accounts and departments and designations. We need to map this with the following target structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MTI_Corporate_DB xmlns:ns0="http://axis.com/authorization">
    <StatementCorporate>
    <AXIS_STORED_PROCEDURE action="EXECUTE">
    <Table>SP_CORPORATE_MASTER_INSERT</Table>
    <f_corp_code isInput="true"></f_corp_code>
    <f_corp_name isInput="true"></f_corp_name>
    <f_corp_addr1 isInput="true"></f_corp_addr1>
    <f_corp_addr2 isInput="true"></f_corp_addr2>
    <f_primary_email isInput="true"></f_primary_email>
    <f_corp_req_limit isInput="true"></f_corp_req_limit>
    <f_corp_total_limit isInput="true"></f_corp_total_limit>
    <f_corp_upper_limit isInput="true"></f_corp_upper_limit>
    <f_corp_avail_limit isInput="true"></f_corp_avail_limit>
    <f_effective_from isInput="true"></f_effective_from>
    <f_created_by isInput="true"></f_created_by>
    <f_created_date isInput="true"></f_created_date>
    <f_corp_fax isInput="true"></f_corp_fax>
    <f_Max_Authorizers isInput="true"></f_Max_Authorizers>
    <f_corp_acc_type isInput="true"></f_corp_acc_type>
    <f_corp_acc_num isInput="true"></f_corp_acc_num>
    <f_corp_branch_code isInput="true"></f_corp_branch_code>
    <f_corp_branch_name isInput="true"></f_corp_branch_name>
    <f_corp_bank_city isInput="true"></f_corp_bank_city>
    <f_corp_dept_code isInput="true"></f_corp_dept_code>
    <f_corp_dept_name isInput="true"></f_corp_dept_name>
    <f_corp_desig_code type="true"></f_corp_desig_code>
    <f_corp_desig_name isInput="true"></f_corp_desig_name>
    <f_corp_enable isInput="true"></f_corp_enable>
    <f_corp_status isInput="true"></f_corp_status>
    <p_err_msg isOutput="true" type="VARCHAR">
    </p_err_msg><p_status isOutput="true" ype="VARCHAR">
    </p_status>
    </AXIS_STORED_PROCEDURE>
    </StatementCorporate>
    </ns0:MTI_Corporate_DB>
    Yes, we are using a stored procedure which will insert 5 tables. The problem is in the mapping between souce and target fields.
    Plese provide your inputs on this query.
    Regards
    Suraj

    Hi Manisha,
    >>U need to create number of target message as that of number of account details so that it will be one query for ur database.
    Yes this could have been done if we were sure that a corporate will have more accounts than departments/designations... But that is not always the case.
    >>So map ur source <account_details> node with target root node and change context of <account_detail> to <details>..these will create number of target messages.
    So what I did is to check the larger of account, department and designation and then repeat the traget strucutre that much times...
    >>Now map ur target node with account, dept, and designation details by changing it context to root node
    But still I have some elements like ID, name etc.which comes one for each corporate and they also needs to repeated.. I am thinking that this will not be an easy solution.
    Anyway thanks for the reply and please keep updated if you have any other idea.
    Regards
    Suraj

  • Handling Fault Messages for JDBC Receiver (Syn Inbound)

    Dear Freinds,
    Can we handle fault messages for JDBC Receiver which is synchronous.
    OB Proxy Syn  <>  IB JDBC Syn
    1. How to handle the same ? Please give some examples.
    2. Should we use Stored Procedures at Oracle side to handle the fault messages and send back as response to the Proxy Response. Will it work.
    Thanks & Regards
    K.Ramesh

    Dear Friend,
    I have 2 interfaces where Proxy is OB & JDBC is IB. In the first interface both sender and Receiver are synchronous and in the second one it is Async.
    In the first interface i have to send one field from R/3 table along with Native SQL query string to XI and the response of the SELECT query is sent back to the sender.
    Assume if no fields are selected based on the field sent then proper error message has to be sent instead of the response message.
    In the second interface i will be using UPDATE query at Asyn JDBC receiver.
    How to do this if you are having JDBC Receiver.
    I saw in many blogs where they had mentioned that we cannot handle fault messages in the Receiver JDBC.
    KIindly explain.
    Thanks
    K.Ramesh

  • Problem between SOAP Sender and JDBC Receiver

    Hi,
    I have a asynchronous scenary between SOAP Sender and JDBC Receiver.
    The idea is sending an ID for updating one register.
    Table structure is:
    TABLE AS_PERSONA
        (P_RUT                         VARCHAR2(10) NOT NULL,
        P_NOMBRE                       VARCHAR2(50),
        P_APELLIDO                     VARCHAR2(50))
    The ID is the P_RUT field.
    The structure of message that I send by SOAP, is the following:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
              <m:MT_CONS_SOAP xmlns:m="urn:prueba:voliva">
                   <CONSULTA>
                        <P_RUT>15445</P_RUT>
                   </CONSULTA>
              </m:MT_CONS_SOAP>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The JDBC receiver structure is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_CONS_PERSONA xmlns:ns0="urn:prueba:voliva">
         <Statement>
              <AS_PERSONA action="UPDATE">
                   <table>AS_PERSONA</table>
                   <access>
                        <P_NOMBRE>DELETE_BY_XI</P_NOMBRE>
                        <P_APELLIDO>DELETE_BY_XI</P_APELLIDO>
                   </access>
                   <key>
                        <P_RUT>15445</P_RUT>
                   </key>
              </AS_PERSONA>
         </Statement>
    </ns0:MT_CONS_PERSONA>
    When I do a call to SOAP by XMLspy, it returns a message without data, that means succesfull reply.
    I see message monitor and see the succesfull flag. But in the database it doesn't update the register.
    This scenario was proved using the File Sender and same JDBC Receiver, then result was succesfull.
    I proved SOAP Sender with a File Receiver, storing information from SOAP sender in an archive, and works well.
    Then I imagine that exist some problem between SOAP and JDBC. what could be happening ?
    Thanks.

    Hi,
    Looks like the problem is with the JDBC receiver...try updating the value in the table by using a File-JDBC scenario..does it work..check the adapter monitor in RWB..
    Regards,
    Sushumna

Maybe you are looking for

  • Voice memo not working

    Recently the Voice Memo function on my iPhone is not working. When I click on it I get the 'microphone' icon, but when I switch on it collapsed back to main screen. The guy at Genius Bar suggested that I should 'restore iphone' my iPhone settings. Wh

  • How do I avoid syncing everything? I want each my devices to vary in their content.

    I have a few devices, and I have different uses for each of them. I don't want certain apps on certain devices, and I always end up with apps i don't need or want on my devices. Also, when I put effort into making a playlist on a device, I hate that

  • Change SAP Standard Transaction

    I need to call one standard Tcode in Portal. That Tcode is having four Tabstrip. Requirement is each tabstrip showed in different pages also only few fields should be shown. Can you help me in this? Can I do only using Web dynpro and Portal? Is it ne

  • Transferring files from old computer freezes on Mac Pro

    Hi everyone- I'm new around here and I'm having a problem. I just bought the Mac Pro and right now I am trying to transfer my files from my older computer to this new one. My old computer is a Powerbook G4 Laptop, and I want some files to be on the M

  • Need information on WDS

    HI We have two WDS IWireless Domain Services) in our network.One of the WDS went faulty yesterday and we have replaced it today.Everything is working fine but i have a small query .All the access points are showing registered including WDS in other W