SOA11g: Question on DB Adapter

Hi,
We have a SOA11g service (Mediator component) which Insert and Delte the records in DB using Database Adapter.
we are calling this services from a JSP page.
Is there any way to send the error message to caller if Insert/Delete operation fails.
thanks,
Ab

Hi,
In DB Adapter, Insert and Delete operation doesn't have output messages. Is there any to know whether these operation completed successfully or not ?
Thanks,
Ab

Similar Messages

  • Some basic questions on File Adapter

    Hello all,
    I have some basic questions on XI and File Adapter and hope you can help me. Any answer is appreciated.
    1. Can I use NFS transport protocol to poll a file from a machine in the network, which is not the XI? Or do I have to use FTP instead?
    2. If I understand it correctly - when using the FTP-File Adapter, XI has the role of a ftp client. I have to run a ftp server on my distant machine. XI connects to FTP-Server and polls the file.
    Can it also be configured the other way round? The scenario I think of would be: FTP client installed on distant machine, which connects to FTP-Server(XI) and loads up a file. So XI would act as FTP Server.
    I know this works, if I install a ftp Server on the computer my XI runs on, and use the NFS-File Adapter to observe the folder. But I want to know, if I need a second, independant ftp server for this.
    3. And last but not least: When do I need the active ftp mode instead of passive?
    Thanx a lot for your answers!
    Ilona

    > Hello all,
    > I have some basic questions on XI and File Adapter
    > and hope you can help me. Any answer is appreciated.
    >
    >
    > 1. Can I use NFS transport protocol to poll a file
    > from a machine in the network, which is not the XI?
    <b>yes</b>
    > Or do I have to use FTP instead?
    >
    <b>also you can do it</b>
    > 2. If I understand it correctly - when using the
    > FTP-File Adapter, XI has the role of a ftp client. I
    > have to run a ftp server on my distant machine. XI
    > connects to FTP-Server and polls the file.
    > Can it also be configured the other way round? The
    > scenario I think of would be: FTP client installed on
    > distant machine, which connects to FTP-Server(XI) and
    > loads up a file. So XI would act as FTP Server.
    > I know this works, if I install a ftp Server on the
    > computer my XI runs on, and use the NFS-File Adapter
    > to observe the folder. But I want to know, if I need
    > a second, independant ftp server for this.
    >
    <b>XI cannot act as FTP server, but it is always a client. When XI is reading (File sender adpater) when XIis writing than it is File Receiver adapter</b>
    > 3. And last but not least: When do I need the active
    > ftp mode instead of passive?
    >
    <b>It depends on your firewall configuration. The best and the fastests is active mode but not always available.</b>
    > Thanx a lot for your answers!
    > Ilona

  • Question about RFC adapter

    Hi,
    There is this little concept about RFC adapter
    I would like a liitle clarifiaction about..
    Here it goes..
    Let's just say I have made an RFC in R/3.
    The same I have imported In xi.
    now when we say RFC ...By definition
    it is a remote enabled function module.
    We import the "interface" of the Same in Xi
    So if I make changes in the BODY of the RFC in
    R/3... do i need to reimport it in XI.
    Besides when XI's reciver RFC adapter is using the
    Rfc's interface to make changes in R/3
    is it using a Copy of this RFC created in R/3
    I would like to intercep at the point it's doing so...
    tried putting a break point in the body of rfc.
    Another question is regarding RFC sender adapter
    Program ID..tcp Ip protocol.
    Conceptually How does this connectivity takes place
    I tried and it worked ...
    I dunno How to explain this connectivity taking place
    just on the basis of PROGRAM ID...
    Kindly Help

    Hi Deepak,
    +
    >>We import the "interface" of the Same in Xi.So if I make changes in the BODY of the RFC in R/3... do i need to reimport it in XI.+
    Yes you have to.
    >>Another question is regarding RFC sender adapter.Program ID..tcp Ip protocol.Conceptually How does this connectivity takes place I tried and it worked ...I dunno How to explain this connectivity taking place just on the basis of PROGRAM ID...
    ·An RFC server program registers itself under a program ID to an SAP gateway (not for a specific SAP system).
    ·If an RFC call is passed on from any SAP system to this SAP gateway with the option “Connection with a registered program” (with the same program ID), the connection takes place with the corresponding JCo server program.
    http://help.sap.com/saphelp_nw04/helpdata/en/09/c88442a07b0e53e10000000a155106/content.htm
    Hope this will clarify your doubts.
    Regards
    Suraj

  • Windows 2008 R2 - Question About Loopback Adapter

    Hello,
    I have the following situation:
    I have two Windows Server 2008 R2 Enterprise with Service Pack 1.
    I use a load balancer (Radware Alteon) in DSR mode, to load balance traffic for between these servers.
    To use DSR, I have to configure a loopback adapter on each of the, with the IP address of the VIP that is configured on the load balancer.
    Everything is working ok, the adapter is recognizing the network and traffic is being loadbalanced perfectly.
    The issue starts here:
    I also configure a health check on the load balancer, so it can check the health of the server, and stop forwarding traffic to a server when it fails.
    One of the failure conditions, is when the loopback adapter fails.
    When the physical adapter fails, it is easy to recognize, because the health check, on its basic, is sent to the IP address and MAC address of the physical NIC of the server.
    When it is not responding, the server is considered as failed.
    However, to recognize a failure of the loopback adapter, the health check is being sent to the IP address of the loopback adapter (that is the VIP) and to the MAC address of the physical NIC.
    The load balancer is doing that perfectly and the health checks are passed when the loopback is up.
    However, when we simulate a loopback failure, by disabling it, the load balancer does not recognize the failure.
    Instead, we just see, in the load balancer statistics, that the server response time is very high (more than 3500000 ms) but the server is up.
    The check that we use is a simple ICMP ping request, and we are expecting an ICMP reply withing the specified configured period of time (that is, the timeout).
    We started a sniffer catpure on the switch connected to the server.
    We saw the following behavior:
    When the loopback is disabled, the server still replies to the ICMP requests, but with ICMP redirect (redirect for network)
    The ICMP redirect message is sent fromt the source IP address and MAC of the physical NIC.
    Then, another ICMP request is sent, and here is also a weird behavior:
    The request is sent from the source IP address of the load balancer and source MAC of the server, destination IP address of the loopback adapter (that is the VIP) and destination MAC of the load balancer.
    It is clear that this ICMP request is from the same "ICMP session" that was just sent, because it is being sent milliseconds after the first request and ICMP redirect reply. It is not a new health check, because a new health check will be sent after
    the interval configured (5 seconds after the first ICMP request).
    I don't know if this request is being sent from the server, which means that it spoofs a request from the load balancer by using its IP address as the source, or is it a request being sent from the load balancer, which means it spoofs a request from the server
    by using its MAC address as the source.
    My question is, if anyone saw such behavior of:
    1.) ICMP redirect from the server on Windows 2008 R2 when the loopback is disabled.
    2.) A seconds request within the same timeframe of the first request, not a part of a second health check.
    I configued the loopback adapter properly, with the weakhostsend and weakhostreceive enabled, and with forwarding enabled (using netsh).
    I tested the same topology with Windows Server 2003 Enterprise Edition Service Pack 2.
    On this OS, when the loopback is disabled, it just not sending an ICMP reply at all.
    Thanking in advance, Udi Dahan.

    Did you get an answer?

  • Question on SFSF Adapter : Delta sync to fetch only changed records.

    Hi All ,
    As per the SAP Document on SFSF Communication channel, one of the feature supported by SP00 release of the connectivity add-on 1.0 is :-
    1. Delta sync to fetch only changed records
    SFSF Adapter: Delta Sync
    The delta sync features enables you to fetch only the records that were modified after the last successful data fetch from the SuccessFactors system.
    This increases the efficiency of query operation.
    So below are my question accross Successfull run date feature :
    Is it SAP PI Connector internally maintains this last successful run date ?
    what would be Time-Zone of Successful run date : Is it where SF DC is located or where PI Box is Located ?
    what is it mean from successful run date ? - is it process successful run date or is it just communication channel successful run date ?
    For Delta extraction - This Successful Run Date - Is it maintained internally for  Interface wise or Communication Channel wise ?
    eg. If i have 5 Delta Interface - will SAP PI maintain 5 Successfull run dates w.r.t to each connector or w.r.t each Process ?
    for more information please open below URL.
    http://help.sap.com/saphelp_nw-connectivity-addon100/helpdata/en/1e/22aaf0780d4b78b6f889157f6a8035/frameset.htm
    Regards
    Prabhat Sharma

    Hello all,
    I have the same question : in the "official" documentation (SuccessFactors (SFSF) Adapter for SAP NetWeaver Process Integration) is mentioned this :
    Delta Sync - The delta sync features enables you to fetch only the records that were modified after the last successful data fetch from the SuccessFactors system. This increases the efficiency of the query operation.
    Anyway I cant find any specification on how to use this feature. Do you have any suggestion on how to implement it or any reference to an existing documentation?
    Do I need to write you an email to get the info?
    Regards

  • Question to  IDoc-Adapter

    Hi,
    we want to operate 3 software components (1. development status, 2.presentation, 3.productive) and all software components use the same IDoc-adapter.
    My question is:
    If we send a message from the R3/System ( one client) to XI. how can I configure the IDoc-Adapter that the message is going to the software-component development for example?
    Or do we need 3 client to solve this problem?
    Thanks in advance.
    Regards.
    Stefan

    Hi,
    >>>>we want to operate 3 software components (1. development status, 2.presentation, 3.productive) and all software components use the same IDoc-adapter.
    1. this is <b>HIGHLY</b> not advisable to
    use PRD with DEV on the same XI server!
    if you do that you can expect many
    problems on DEv that will have negative effects on PRD
    don't do that never - it's like having
    DEV and PRD R3 on different clients.. on one server
    >>>>If we send a message from the R3/System ( one client) to XI. how can I configure the IDoc-Adapter that the message is going to the
    2. there is no sender IDOC adapter but
    I'm not telling you how to do it
    because of point 1
    Regards,
    michal

  • Question in mail adapter. Please help!

    Hi experts,
            What is use of Message_ID and X_Mailer in mail adapter?
    Please help
    Thanks
    Gopal

    Hi,
    Please refer to this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/260b308075400ee10000000a11466f/frameset.htm
    Regards,
    Sudheer.

  • Content conversion question for JMS adapter

    Hi,
    I need to put this again here.
    I have the scenario R/3 IDoc -> XI ->  MQ (webshpere). MQ requires plain text.
    I have the IDoc ORDERS05 in multi level (nested in layers). But using the how to guid to convert the content I could go up to on level.
    Based on the thread
    Process Integration (PI) & SOA Middleware
    It is not possible to use the conversion modules with XML2Plain key with parameter xml.conversionType value StructXML2Plain.
    Please confirm if this is possible to convert a structure like below,
    <ZSYSEX01>
    .<IDOC BEGIN="1">
    ....<EDI_DC40 SEGMENT="SEGMENT0">
    ........<FIELD1>HEADER</FIELD1>
    ....</EDI_DC40>
    ....<E1STATS SEGMENT="SEGMENT1">
    ........<FIELD2>100</MANDT>
    ........<Z1HDSTAT SEGMENT="SEGMENT2">
    ...........<FIELD3>0200000716</FIELD3>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1000</FIELD4>
    ...........</Z1ITSTAT>
    ........</Z1HDSTAT>
    ........<Z1HDSTAT SEGMENT="SEGMENT2">
    ...........<FIELD3>0200000717</FIELD3>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1000</FIELD4>
    ...........</Z1ITSTAT>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1001</FIELD4>
    ...........</Z1ITSTAT>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1002</FIELD4>
    ...........</Z1ITSTAT>
    ........</Z1HDSTAT>
    ....</E1STATS>
    .</IDOC>
    </ZSYSEX01>
    to plain text in JMS adapter.
    Thanks!
    Jason

    Hi,
    You have to use Content Converiosn in JMS Adapter Receiver side,
    Module Sequence in the Receiver Channel
    No. Module Name                                                               Module Key
    1 localejbs/AF_Modules/MessageTransformBean                  XML2Plain
    2 localejbs/SAP XI JMS Adapter/ConvertMessageToBinary     CallJMSService
    3 localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService   Exit
    Bases on Structure you have to configure the processing parameters,
    please see the below link, it will helps you more
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Regrads
    Chilla..

  • Basic question in File Adapter

    H all,
    I have an Inbound FileAdapter polling for incoming files in a particular directory , a Routing service and an Outbound file Adapter which writes this file to another directory .
    I have checked the Validate payload at Runtime box in the ESB Control.
    I was expecting that if I place a file with data which doesnot conform to the input schema of the inbound file adapter, it should throw an error. But I noticed that the inbound file adapter picked up the file from the directory and deleted it from the directory after reading. But I couldnot see the file in the output directory.Neither is it showing any instance in the ESB control.
    If I put a file with the contents conforming to the input schema , its working as expected . Also If I donot set any value to the output schema from the tranformation activity, it is showing 'Invalid payload error' in the ESB Control.
    Why is it happening like this? Is it the expected behaviour?
    Thanks

    Yes this catches out a few people. have a look at these notes
    http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_004_Adapter_ErrorManagement.pdf
    http://web.deu.edu.tr/oracle/B14099_16/integrate.1012/b25307.pdf
    they are old but still work today. I couldn't find the upded versions.
    by default it writes the messages to the Oracle_Home\integration\orabpel\domains\domain_name\archive\jca\default_directory
    cheers
    James

  • MessageTransformBean bean Question Receiver Mail Adapter

    localejbs/AF_Modules/MessageTransformBean Local EnterpriseBean transform1
    localejbs/AF_Modules/MessageTransformBean Local EnterpriseBean transform2
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local EnterpriseBean mail
    Module Config:
    transform1 Transform.ContentDisposition attachment;filename="sample.csv"
    transform1 Transform.ContentType text/plain; name="sample.csv"
    transform2 Transform.ContentDescription file1
    transform2  Transform.ContentDisposition inline
    Email body is coming fine but the attachment Name not getting changed to "sample.csv"
    What am I doing Wrong. Experts any advice please ?.

    Hi,
    have a look into this thread where similar issue is discussed
    Re: Mail adapter- Attachment file name of scheme ddmm
    If the requirement is just to have the dynamic name for your email attachment, it can be done using mail package. check this wiki
    http://wiki.sdn.sap.com/wiki/display/SI/DynamicEmailAttachmentnameforReceivedMails
    we have to choose the options 'use mail package' and 'keep attachments' in the receiver email adapter.
    regards,
    francis

  • Question to Mail Adapter

    Hi,
    I want to use the mail adapter of xi.
    So the email must contain the name of the file (as in the attachmant) that is sending.
    The filename should stand in the content of the email and the filename is also variable.
    Is it possible?
    Thanks.
    Regards
    Stefan

    hi,
    you need to put it in the adapter module
    which you will later one deploy to the
    visual admin and later on put in your mail communication channel
    of course the code fomr the blog is just an example
    you can easily modify it to suit your needs
    Regards,
    michal

  • Question About IDOC ADAPTER

    I test a scenario as file->xi->IDOC->R/3
    and another scenario as R/3->IDOC->XI-file
    i think, it should be two Communication channel
    to R/3,one is Receiver another is  Sender
    But when i create the channel ,after select the adapter
    tyep as IDOC, i can not select the Channel as a  Sender
    Can only set it as a Receiver
    why?
    and when i test the first scenario , the flowing error
    appers(my test idoc message is 'CREMAS03':
    <?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="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>I:IDOC_ADAPTER:209 66609E10320A11D9ABCB000F1F6BBAD1 E1LFA1M</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Fehler: I:IDOC_ADAPTER:209 66609E10320A11D9ABCB000F1F6BBAD1 E1LFA1M</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    all of setting seems fine.

    The IDOC adapter does not need a sender channel, as all information the XI needs are stored in the message itself. Sender channels are requested mostly for polling adapters like file of jdbc. HTTP-, RFC-, IDOC- and XI-adapter do not need a sender channel (see manual for further details).
    The error message seem not to be translated in your system. Here is the message text:
    "MSGGUID &1: Control record must start with tag EDI_DC40, not &2"
    So in the payload there is no control record for the IDOC.
    Check in your IDOC receiver channel, if the checkbox "Apply Control Record Values from Payload" is marked. If so, uncheck it. That should help.
    Regards
    Stefan

  • A question about config adapter for GP

    Hi all,
    I followed the configuration document and configure all parameters step by step. When I configured adapter for GP and created communication, I had no idea about all parameters about adapter description. For example: protocol, server,  client, and so on.. Can anyone tell me how can I set these parameters?
    Thx a lot ^^

    hi,
    please read the following documents
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0769d60a-0801-0010-cfbf-9fcb27c851e8
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7fad6fea-0c01-0010-56b4-8ac88b4185ab
    and for configuration of GP for adobe form read the following document
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
    Thanks and Regards
    shanto aloor

  • About 2 questions for jdbc adapter.

    1.
        which transaction isolation level should i set for jdbc sender adapter to guarantee data to be selected correctly?
        not error occurs.
    2.
        how to reslove time_out error for jdbc adapter. especially sync query in volume data case.

    Hi,
    If you want to maintain the sequence and data consistency, then use isolation level "serializable" and QoS as EOIO.
    Set / Increase the time_out parameter in the adapter module.
    Regards,
    Neetesh

  • Very basic design question of File Adapter

    Hi Guys,
    What is the utility of assigning System Name and System Interface names (XMB.SenderInterfaceNamespace, XMB.SenderInterfaceName, XMB.SenderBusinessName) while configuring the Inbound File Adapter?
    What I am struggling to understand, that any particular inbound file adapter is already associated with one particular Sender Agreement and the message header picks up Sender System Name and Sender Interface name etc from this  Sender Agreement (from CPA Cache), but then why the above settings are required for File Adapter ?
    Thanks

    I think you have read the documentation for J2SE adapter.
    The online help for the J2EE adapter is here:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Maybe you are looking for

  • Can't get wifi after updating my iPhone 4

    Help! I had to update my software on my iPhone 4, after doing so I can't get my wifi to work. It shows that it is connected with the symbol but nothing works. How do I resolve this?

  • Video auto rotate

    Hi I fully appreciate the work that has gone into BT Sport, it's a very promising start and I welcome anything that will reduce the strangle hold Sky has on the provision of sport in the UK. One question: The auto rotate feature on my iPhone does not

  • Is it possible to run OS X Mountain Lion in a Virtual Machine on an AMD Processor?

    Hi guys, title says it all. Is it possible to run OS X Mountain Lion in a Virtual Machine on an AMD Processor? It is said that it only works on an Intel and I have an Intel computer but my AMD is the one I use for experimenting things such as this. T

  • How should my VIs look?

    I'm relatively new to LabVIEW and as I'm building bigger and bigger VIs with multiple subVIs, etc.  I've been wondering what makes a good "looking" program.  Basically... how should I organize it so that it's readable and makes sense to another perso

  • Ripping Home Video DVD's

    I've got a giant stack of Camcorder Videos in crazy formats. Is there an Apple OS X program that lets me rip my personal DVD's into a single video rather than VIDEO & AUDIO TS?