Using the Service Link Database adapter

I had a question regarding the use of the Service Link database adapter.  We've configured an adapter that will write rows to a certain table in an oracle database.  The rows are written into the table correctly.  I've also configure the inbound portion of the database adapter to retrieve records but there are 2 problems.
1.  When creating the SQL that is used to poll the database table, I'm not able to use the channel id namespace.  According to the manuals and training materials that I have reviewed, it looks like you should be able to call #channelid# in your query and the system should automatically translate that.  I've tried #channelid#, #channel-id#, and #ChannelID# but if doesn't seem to covert the value to the actual channel ID.  Can you use namespaces in the polling query?
2.  If I setup the queries without namespaces, I can get into the next step where it excutes the sucessful or failed sql query.  I setup a simple transformation that automatically closes the assocaited task when the query is run.  I then setup a SQL statement to delete all rows in the table (I only did this because I could not target a row without the channelid namepsace working).  The problem is that when I submit a task that uses the agent, the agent polls the database and finds the task.  The agent then closes the asscaited task, per my transformation, but when it goes to delete all rows in the table, the rows are not removed.  If I execute the same SQL using the same account in a SQLPlus window, the rows are deleted so I think that my SQL is good.  I'm not sure why it does not work and the only message in the log is:
2010-07-08 15:52:23,677 DEBUG [com.newscale.is.adapter.db] [ AgentId-5 ]  Fetched 1 new records
2010-07-08 15:52:23,804 ERROR [com.newscale.is.adapter.db] Outbound Message Failed to deliever
This is my SQL:  delete from rcowner.rcapprovals where STATUS_code='Registered'
Any help or advice is apprecaited.
Tim

Hi Tim -
The namespace that you can use comes from the SELECT SQL statement.  So you need to write out the Channel ID into a field in the db table (you need it around anyway for the transformation).  Then the inbound SQL needs to include the channel ID field in the select statement.  Then the success/failure SQL statements can reference the channel ID field from the inbound SQL.
Inbound example: SELECT CHANNEL_ID FROM MYTABLE WHERE STATUS = 2
success example: UPDATE MYTABLE SET STATUS=3 WHERE CHANNEL_ID=#channel_id#
(Note that it seems to convert field names to all lower case.  And the #channel_id# is just referencing the field from the other query -- it isn't a namespace or anything.)
Your delete statement probably isn't working because the db connection is still using the records from the inbound query.  Its looping through each record from the inbound query and performing the transformation, then running the success/failrue sql before going onto the next record.

Similar Messages

  • CANCEL- Can I chat or talk with a human on the phone?  I have an Adobe ExportPDF Annual.  So, if I cancel today, I still have to pay half of the fee?  I only used the service once or twice.

    Can I chat or talk with a human on the phone?  I have an Adobe ExportPDF Annual.  So, if I cancel today, I still have to pay half of the fee?  I only used the service once or twice.  I was looking for a phone number to call.  But, I seemed to have been in a loop.  I kept getting directed to this forum.  I would have really appreciated a quick link to a phone number.  Much more efficient on my end.
    I expected to be canceled in a few short minutes via a phone call.  Instead of have been in this endless and frustrating loop to this forum.
    Help please.

    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )

  • Can i use the Service Module?

    Hello all,
    can i use the service module w/ the ff. scenario?
    items are manage by serial numbers., but we dont sell it, we purchase the item for internal use only. this are the ff. information that i want to track.
    1.     track the history of the item everytime it has undergone for repair
    a.     some cases the repair takes place within the company, meaning employees within the company take care on the labor but only parts will be purchase
    b.     some cases the repair takes place in business partner, (PO Service in this case)
    2.     track the parts that was replace
    what will be my work around for this. please advice
    best regards,
    Fidel

    Hi Fidel,
    You would need the following is you wanted to use the Service Module to track internal serialized inventory/hardware:
    1.  Set up a customer record that would represent the internal use/company/department
    2.  Manually create the Customer Equipment Card (when receiving the equipment on GRPO or AP invoice, you would want to use a warehouse that represents internally-used equipment/assets)
    Repairs:  you could update the status of the CEC record when it's being repaired (or have a repair WH for when it's sent off-site).
    Expenses:  related expenses could be done by creating a Service Call linked to the CEC with details/purpose, etc. which would be tracked on the Expenses tab but the transactions don't include AP (PO's), the assumption being that any expenses would be charged back to the customer, which in this case would be internal.
    If you want the expenses linked to the item/CEC then you could use Activities from Service Call and you can link the PO/AP invoice thru the Activity. You could have one S/C record that would be for tracking equipment repairs and leave it open for as long as you have the item - that would be the link between the Activities and the CEC/equipment record. Whenever repairs are to be record, you would only need to pull up the CEC record and drill-down to the S/C to create a new Activity record. This will also enable you to see how many repairs are being down - you could even breakdown the Activity on internal vs external (have it as a Type, on which you can then report on overall as well as by item).
    It will depend on what info you want to capture and if you need anything for reporting that would be that detailed (i.e. down to a serialized item) as to what process & setup you want to use. Try out the above and hopefully something will work out.
    HTH,
    Heather

  • Access BAPIs Using the SAP Java Resource Adapter

    Hi experts,
    Can someone tell me how to Access BAPIs Using the SAP Java Resource Adapter?

    hi Shweta,
    Please refer the step by step procedure:
    1. Start the deploy tool of the SAP J2EE Application Server with the DeployTool.bat in the directory //<SAP J2EE Engine Installation Directory/.../j2ee/deploying.
    2. Choose Project &#8594; New Project and enter a name for the new project.
    3. Click on the Deployer tab.
    4. From the menu path, choose Deploy &#8594; EAR &#8594; Load Module and select the sapjra.rar file.
    5. For the newly created node sapjra.rar, choose Server Settings &#8594; Identity Subjects and select Caller Impersonation as authentication type, so that the J2EE user data is used to log on to the ABAP system.
    6. Make sure that the J2EE Application Server is running. Connect to the J2EE Application Server with Deploy &#8594; Connect.
    7. Deploy the sapjra.rar using the menu Deploy &#8594; Deployment &#8594; Deploy Module.
    8. Enter SAPJRADemo as application name and start the application.
    9. Close the deploy tool.
    10. Start the Visual Administrator again.
    11. Select the Cluster tab and switch to <Server Node> &#8594; Services &#8594; Connector Container.
    12. Click on the Runtime tab and choose sap.com/SAPJRADemo &#8594; eis/SAPJRADemoFactory.
    13. Choose Managed Connection Factory &#8594; Properties. On this page, you need to specify the logon data for the ABAP system. There is already some dummy data visible in the property list if no real system data has been specified so far.
    14. To change the value of a property, select the property in the list, change the value underneath it, and add the changes using the Add button. At the end, do not forget to save all changes by pressing the button Save Changes. The user configured for the SAP JRA must be the user authorized to read metadata of function modules.

  • How do I use the Services menu to convert text to an iTunes track?

    I'm trying to convert text to an iTunes track using the Services option on the Firefox drop down menu, but having trouble with it. I have set my preferences to turn on that option, but all that happens is I get a spinning wheel at the top of my screen, and it doesn't record. I can't see anything in the iTunes settings that I need to change, but wondering if that could be the problem? Any help would be appreciated.

    Then you may be much better off posting your question in the ExportPDF forum,
    http://forums.adobe.com/community/exportpdf

  • How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the Ipad to the Iphone and not the other way around.

    How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the IPad to the IPhone and not the other way around.

    The devices are not designed for transfer of that kind.  Use Photo Stream as suggested by another poster, or transfer photos to your computer (a good idea anyway since they will be lost if your device needs to be reset), then use iTunes to sync them to the other devices.

  • How do i connect my mac mini to a kvm switch using the hdmi to dvi adapter?

    I want to connect my Mac Mini using the HDMI to DVI adapter to a KVM switch cable. I have an Iogear KVM switch. The cable from the KVM switch has a male VGA end connection. I have been trying to determine the right adapter to connect the female DVI connection to the male VGA connector. I will be using the Mac mini and a PC running through the KVM switch. This is doable as the iogear switch is compatible with both a PC and a Mac. Any ideas out there? Thank you.

    You would need to get  HDMI or DVI to VGA CONVERTER, not a simple adopter. The converter requires USP connection for power. HDMI is only digital while VGA is analogue.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16812699001&nm_mc=EMC-IGNEFL 070414&cm_mmc=EMC-IGNEFL070414-_-EMC-070414-Index-_-AudioVideoSplitters-_-126990 01-L019B
    If your MIni has a mini displayport or Thunderbolt port yu can get a les expensive mini displayport to VGA afopter.

  • Can I connect my old mac to my new mac using the thunderbolt to ethernet adapter

    I've got a lot of data to transfer from one mac to another, one with thunderbolt and one without. I was wondering if by using the thunderbolt to ethernet adapter I could connect the two macs in a target mode kinda way.
    I know people will answer with a lot of other options in how to do this, but I am specifically interested in whether or not this option is possible.
    Thanks!

    you can use the adapter with any Thunderbolt-equipped Mac running OS X Lion 10.7.4 or later, but you'll want to install the Thunderbolt Software Update 1.2.1 after having the 10.7.4 upgrade
    10.7.4
    http://support.apple.com/kb/DL1524

  • HT3382 using the thunderbolt to vga adapter, i have to unplug and replug the connection to get my display to "wake up"  what's the deal?

    using the thnderbolt to vga adapter, I have to unplug and replug the connection to get my disply to "wake up"  What's the deal?  otherwise works fine.
    Same on initial boot up

    First try > Resetting your Mac's PRAM
    There have also been others reporting problems with analog VGA connected monitors. If your monitor also supports DVI, then you may want to use the supplied HDMI to DVI adapter or switch to a Mini DisplayPort to DVI Adapter and a good DVI cable.

  • OSB - Problem using the Service Callout control in a proxy service

    Greetings,
    Using a Service Callout control in a proxy service requires to check one of the following two options: Configure SOAP Body or Configure Payload Document. Both require to write SOAP code and to assign it to variables that will be used in the Service Callout control. I found quite inconsistent to have to write SOAP code in order to use a tool which is supoposed to avoid writing Java code. In this case I largely prefer to write Java code and doing things manually. Is there any other way to use this control ?
    Many thanks in advance,
    Nicolas

    I'll try to explain again, however it seems very clear. I'm using a Service Callout control in order to call a JAX-WS web service. This web service is using a "document" style, of course. Consequently, all its operations (messages) are document-centric and they have only one parameter: the document. In order to use tha Service Callout control, one has to construct the <siap:body> element, to assign it to a variable and to provide the name of this variable in the Request Body test field of the Service Callout Properties dialog. Accortdingly, one needs to assign something like:
    <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <osb:myOperation xmlns:osb="http://www.simplex_software/fr/">
    <osb: .../>
    <osb:myOperation>
    </soap>
    Now, for those who have understood what I'm talking about, here come the question ? Is that the only way to use the Service Callout control ? If yes, this control is useless. If no, what is the other way to use the control in the given context while avoiding providing a <sopa:body> written manually ?

  • How can I add a hyperlink to a PDF with OSX 10.9? The "Help" article says to use the "add link" feature under "edit." It's not there.

    How can I add a hyperlink to a PDF with OSX 10.9? The "Help" article says to use the "add link" feature under "edit." It's not there. I could add links w/ the previous OS. Time sensitive project.

    Which application are you using?
    Clinton

  • Is anyone using the Illustrator CC host adapter on Mac?

    I'm not able to successfully use the Host Adapater for Illustrator CC on Mac OS.  It's working on Windows and on earlier versions of Illustrator.  I'm using Illustrator CC 17.1.0 and Mac OS 10.9.1. 
    Is anyone else successfully using the Illustrator CC host adapter plugin on Mac OS? If so, where did you get the host adapter plug-in from, and did you have to do any special "tricks" to install it? 
    I created a new Extension project in Extenion Builder (licensed copy of EB 2.1), selecting the options to use the Illustrator host adapter libraries.  My extension just has a button that calls the AIEventAdapter.pingPlugIn() function and a list box to show the results (i.e., "pingSucceeded" or "pingTimedOut").  I then used Extension Builder to Export the project as a ZXP and sign it (with a self-generated certificate).  I then installed the test Extension with Extension Manager on my Mac.  All of this completes without any errors, and the AIHostAdapater.aip is in the correct Illustrator Extensions folder.  But when I run the Extension the pingPlugIn() function always returns with the "pingTimedOut" event.  The same Extension correctly results in the "pingSucceeded" event on Illustrator CC on Windows or for earlier versions of Illustrator on both Windows and Mac OS.
    Is there a known problem with the Mac OS version of the Illustrator CC host adapter plug-in?  Or an updated version somewhere?
    Thanks.

    For someone facing loading issues of AIHostAdapter plugin in CC2014, you can download the same from the following URL
    https://github.com/timothybrandspencer/CEP-Resources/tree/master/host_adapters/illustrator
    Thanks,
    Manan

  • I Try registering my card in order to use the services of Itunes so that always appears refused payment method, what should I do?

    I Try registering my card in order to use the services of Itunes so that always appears refused payment method, what should I do?

    If you are referring to a credit card and it being refused, then something is probably wrong with the entry of the card or your account information. It is not matching what is on file for your account. Generally this is the address field. Make sure it matches what you see on your bill exactly. Otherwise, you need tocontact iTunes support. http://www.apple.com/emea/support/itunes/contact.html

  • Good afternoon.  Product Adobe Muse serial number requests. What to do?  I paid for a month, but I work in the trial version.  If you can not make out, it will no longer use the services.

    Good afternoon. Product Adobe Muse serial number requests. What to do? I paid for a month, but I work in the trial version. If you can not make out, it will no longer use the services.

    There are many threads on same topic, please follow the suggestion mentioned here :
    https://forums.adobe.com/message/6486790#6486790
    Thanks,
    Sanjit

  • Model using the DB Link

    Hi,
    My source & Target are both Oracle DB. I have a DB Link from my Target DB to Source DB to access the Data.
    I created 2 Data Servers in my Topology. In my Source Data Server I gave the DB link name against the ‘instance/dB Link ‘.
    When I reverse Engineered the from Designer I expect the Source objects in my Source Data server, but, I am getting the target structures only. Can anyone please tell me how do I get my source structures in to the model using the DB link?
    Thanks in Advance

    Hi,
    I think the problem you might have, is that to reverse engineer, the user needs access to ALL_TABLES, ALL_TAB_COMMENTS and ALL_PART_TABLES etc on the remote. Users only normally have select access to the tables on the remote so that could be an issue.
    As I mentioned before, the use of the DBLINK/Instance is for LKM Oracle to Oracle (DBLINK) knowledge module. You could start amending the RKM to use the DB Link, but then you will still face the issue above, that the user will not have the correct privileges to the system tables to get the metadata.
    If you cannot create the jdbc connection directly to both the source and target via ODI, then you have a problem.
    One possible way, is to create views in server B of the tables in server A and reverse engineer those and then move them to the correct model and change the type to table, or you could just leave them as views in the target db, as that's basically what the LKM Oracle to Oracle (DBLINK) does. Have a look at the code for the LKM.
    Cheers
    Bos

Maybe you are looking for