JDBC receiver report error message:  attribute action missing

Hello Colleagues,
I am working on a scenario:
SAP ECC>XI proxy>XI server>JDBC adapter>oracle database.
SAP ECC is sending a request(SQL query) to get the result from DB.
The payload is
==========================================================================
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_B1_MES_GETMAT_IN xmlns:ns1="http://boe.com.cn/b1/cim">
- <root>
- <stmt>
- <Query action="SQL_QUERY">
  <access>SELECT productspecname AS MATNR, productiontype AS DISGR, SUBSTR(factoryname,1,1) AS SHOP FROM PRODUCTSPEC WHERE activestate = 'Active'</access>
  </Query>
  </stmt>
  </root>
  </ns1:MT_B1_MES_GETMAT_IN>
============================================================================
As you might already seen, the action attribute is there, but i always get the error log:
Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
I searched for the threads in forum but it seems, people get the same error always due to the wrong XML document.
but i check my xml, it looks right. why still get the "action attribute missing" error...
Best regards, Charlie Cai

   <?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_B1_MES_GETMAT_IN xmlns:ns1="http://boe.com.cn/b1/cim">
- <root>
- <stmt>
- <Query action="SQL_QUERY">
   <access>SELECT productspecname AS MATNR, productiontype AS DISGR, SUBSTR(factoryname,1,1) AS SHOP FROM PRODUCTSPEC WHERE activestate = 'Active'</access>
   </Query>
   </stmt>
   </root>
   </ns1:MT_B1_MES_GETMAT_IN>
In your query, are you executing Select Statement ?
For Target JDBC, you can Insert data in table, Update Data in table & Execute Stored Procedures from PI System.
using Actions
INSERT
UPDATE
EXECUTE.
Change your scenario Action as per your requirement.
No idea for ACTION = SQL_QUERY.

Similar Messages

  • When starting InDesignCS2 received new error message -- InDesign is missing required system fonts or

    We are not able to start Indesign CS2 without getting the error message: <<InDesign is missing required system fonts or CMap files. Please reinstall InDesign.>> This is on WinXP.<br /><br />Recently I installed Creative Suite CS4. It took almost a day to install. The installation kept on stopping. Each time we were able to install one more program. After checking all of the programs we discovered that Firefox would not start due to a possible font error. After reading many posts I decided to uninstall a lot of fonts since I did not know which one was the culprit. <br /><br />However now I am missing a font (at least I hope that this is caused by a missing font and not anything else) that should be there and I don't know which one it should be. I did uninstall a <lot> of fonts and don't remember which ones.<br /><br />WE did uninstall all CS2 programs and then reinstalled only the necessary three. However that did not make any difference.<br /><br />Any ideas and suggestions would be welcome<br />Thanks<br />Pia Pehtla

    A forum search for "missing required fonts" brings up this thread which should solve your problem:
    http://www.adobeforums.com/webx?128@@.3bbdb0a7
    Peter

  • Do I need to uninstall itunes, before I reinstall it? I received this error message because of missing driver.

    Received this message to reinstall itunes so do I uninstall it first?

    You can, but it is not necessary.

  • Error message (33 :: 4) "missing data in file.

    I just received and error message (33 :: 4) "missing data in file" when I was trying to open the file. Has anyone ever received the error code? Dose anyone know how to open the file when you get this code?
    Thank you

    >It's probably a Windows thing
    Most likely not. Data loss is usually a sign of hardware conflicts (damaged disks, bad drivers) or damage and could hit you just as well on Macs. I would certainly check the disk controller, cables, BIOS and device manager. You know, you could spend a lot of money on a shiny new Mac and just as well achieve nothing if you plug in your old defunct RAID stack or whatever, if you get my meaning.
    Mylenium

  • HT4009 Not very user friendly! Where is the place to report a problem!? I have been billed for an in-app purchase but not had the goods - I received an error message telling my I hadn't been charged at the time and now it is on my bill! What can I do?

    Not very user friendly! Where is the place to report a problem!? I have been billed for an in-app purchase but not had the goods - I received an error message telling my I hadn't been charged at the time and now it is on my bill! What can I do?

    You can try contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I have received an error message when trying to install 13 new apps for Creative Cloud. It reads: "Error There was an error with this action. Try again later.  7b1f5f56-79b3-4a0d-8fd2-137b1a3e6b67" I don't know what to do.

    I have received an error message when trying to install 13 new apps for Creative Cloud. It reads: "Error There was an error with this action. Try again later.  7b1f5f56-79b3-4a0d-8fd2-137b1a3e6b67" I don't know what to do.

    AppTrial1 where are you seeing this error exactly?  For information on how to install the Adobe Creative applications included with the Creative Cloud please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • Received this error message when starting iTunes and reinstalling does not resolve it:  The registry settings used by iTunes drivers for importing and burning CDs and DVDs is missing.

    Received this error message when starting iTunes and reinstalling does not resolve it:  The registry settings used by iTunes drivers for importing and burning CDs and DVDs is missing...
    Can I uninstall existing iTunes without losing my media library?  and then install fresh to fix this problem?

    Hi there kweitkamp,
    You may find the troubleshooting steps in the article below helpful.
    iTunes for Windows: "Registry settings" warning when opening iTunes
    http://support.apple.com/kb/TS3299
    -Griff W. 

  • I receive an error message that some of the application components are missing when trying to open Photoshop CC 64-bit

    Hi,
    I'm using Windows 8.1 and I can see photoshop CC 64 bit. But when I'm launching it, it throws an error "Some of the application components are missing from the Application directory, Please reinstall the application". I've reinstalled twice but getting the same error. Whereas the 32 bit application works fine. Any help?

    Branching this to a new discussion.
    Govinda_s13 are you still receiving the error messages referenced above?

  • HT1349 I am unable to install iTunes. I'm receiving an error message: "The program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem." I've unistalled and attempted to reinstall several times.

    I am unable to install iTunes. I'm receiving an error message: "The program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem." I've unistalled and attempted to reinstall several times.  I keep getting the error message to reinstall to fix the problem.

    See if this post from turingtest2 fixes it : https://discussions.apple.com/message/24620553#24620553

  • I tried up dating my itunes but now receive an error message stating "MSVCR80.dll is missing from computer". What can I do?

    I recently tried to update itunes on my computer. After updating, I now receive an error message when I try to open itunes that states " MSVCR80.dll is missing from computer". I do not want to delete app and reinstall for fear of deleting all of my music. What can I do?

    Click here and follow the instructions. The music won't be lost but should be backed up anyway.
    (98744)

  • I want to install Oxford Advanced Learner's Dictionary in my laptop but each time i tried, I received an error message "nspr4.dll in missing". Any solution?

    I want to install Oxford Advanced Learner's Dictionary in my laptop but each time i tried, I received an error message "nspr4.dll in missing". What should I do to solve this problem as I am desparate to install it because I need it very much.

    Nspr4.dll error message might appear while using or installing certain programs.
    Nspr4.dll error are caused by situations that lead to the removal or corruption of the nspr.dll files and in some cases , nspr4.dll error could also indicate a registry problem
    follow the following steps.
    1. Download nspr4.dll flie from a reliable source
    2.open thee file location of program(eg. C:\Program Files\Oxford Dictionary)
    3.Drag the downloaded nspr4.dll file to the above file location
    4.Now Launch the program
    Thank You
    Give it a LIKE

  • Photoshop 2014 receive error  message saying components missing. I  deleted  app as requested, how do I reinstall ? Its is not I'm my creative cloud to do so?

    Photoshop 2014 receive error message saying components missing. I deleted app as requested, how do I reinstall ? Its is not I'm my creative cloud to do so?

    This might help...
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    -Noel

  • The last Apple itunes update from 1/24/14 was unsuccessful and I now receive an error message stating that a program MSVCR80 file is missing.  What does that mean?

    On January 24, 2014 I received a prompt on my Sony Vaio laptop that there was an iTunes program update ready.  I allowed my computer to install it, I received an error message stating it could wasn't completed.  Since then I can't access my iTunes and continuously receive an error message stating that a file MSVCR80 is missing.  A second message pop-up box states that I need to reinstall iTunes.  My question is if I remove the program how do I locate my file to reinstall it and am I going to lose any of my music?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates
    Under normal circumstances, an uninstall/reinstall doesn't touch your content. (That being said, it's still always a good idea to maintain a current backup at all times in case of disasters of any sort.)

  • I cannot open firefox. i receive an error message instead: " your firefox profile cannot be loaded. It is missing or inaccessible" help

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/947572]]</blockquote>
    after I received the error message, i uninstalled and then re-installed mozilla firefox. my desktop now has a mozilla firefox icon and a separate folder entitled: old firefox data. i tried a solution posted at the site:

    Hello poestirs3
    press Windows key + R to open the Run box of windows Vista, then type '''%APPDATA%\Mozilla\Firefox''' (or copied from here) and click "'''OK'''" to quickly open the appropriate folder,
    then find [http://kb.mozillazine.org/Profiles.ini_file profiles.ini file] (see the screenshot how possible looks like) and rename it (right-click on mouse and select rename) to profiles.iniOLD , then when you start firefox again, a new default profile folder will be created and only a single profile, the new "default", will be listed in the Profile Manager.
    This new "default" profile doesn't contain any of the profile data or settings stored in your old "default" profile folder, which still exists but is no longer accessible from the Profile Manager.
    Your existing Firefox user profile data, which includes bookmarks, passwords, cookies, preference settings and added extensions, will no longer appear in the new profile but you [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox can transfer the data from the old profile folder to the new default profile folder].
    see also : [https://support.mozilla.org/el/kb/Recovering%20important%20data%20from%20an%20old%20profile#os=win7&browser=fx17 Recovering important data from an old profile]
    thank you

  • Attribute "action" missing or wrong XML structure

    Does anyone know what's the problem of below XML format ?   I want to triggle a stored procedure in AS/400 from SAPXI after receiving records.  But the message "No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)" is found
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_t1 xmlns:ns0="http://cxx.xxx.hk/zxxxpxx/jdbc">
       <storedProcedurename>
          <action>EXECUTE</action>
          <table>LIBRARY.PROCNAME</table>
          <TRNX_TYPE IsInput="true" TYPE="CHAR">content 1</TRNX_TYPE>
          <TRNX_NO IsInput="true" TYPE="CHAR">content 2</TRNX_NO>
       </storedProcedurename>
    </ns0:MT_t1>

    Dear all,
    Thanks for your help and now I can submit a stored procedure via SAP XI by using below XML format.  I try to define two output parameters at the end of this XML. How to get the return value ? Should I define a response message type ? and what is the XML format ?
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SYN_t1 xmlns:ns0="http://xxx.xxu.hk/zxxxpgs/jdbc">
       <update>
          <storedProcedurename action="EXECUTE">
             <table>LIBRARY.PANSYTEST</table>
             <TRNX_TYPE IsInput="TRUE" TYPE="CHAR">4</TRNX_TYPE>
             <TRNX_NO IsInput="TRUE" TYPE="CHAR">2</TRNX_NO>
             <ACTIN IsInput="TRUE" TYPE="CHAR">23</ACTIN>
             <RCRT_DATM IsInput="TRUE" TYPE="CHAR">3</RCRT_DATM>
             <RCRT_USER IsInput="TRUE" TYPE="CHAR">8</RCRT_USER>
             <STUD_ID IsInput="TRUE" TYPE="CHAR">8</STUD_ID>
             <AWD_SEQ IsInput="TRUE" TYPE="CHAR">6899</AWD_SEQ>
             <AW_PSDATE IsInput="TRUE" TYPE="CHAR">89</AW_PSDATE>
             <AW_PEDATE IsInput="TRUE" TYPE="CHAR">99</AW_PEDATE>
             <OUT_TRNX_TYPE IsOutput="TRUE" TYPE="CHAR">4</OUT_TRNX_TYPE>
             <OUT_TRNX_NO IsOutput="TRUE" TYPE="CHAR">2</OUT_TRNX_NO>
          </storedProcedurename>
       </update>
    </ns0:MT_SYN_t1>

Maybe you are looking for

  • Macbook Pro Mid 2010 (Model 6.2) restarts like cray cray

    Can't believe this is happening... Macbook Pro Mid 2010 Model - Intel i5 2.4GHz - RAM 8GB - GPU NVIDIA GeForce GT 330M So I've seen quite a lot of threads discussing the 'GPU Panic' issue since I first encountered it a few weeks ago. The problem had

  • Can u give clear steps how to load 3 data target at a time by the help of p

    can u give clear steps how to load 3 data target at a time by the help of parllalesim

  • Compare DB objects between different schemas

    Hi, I want to compare db objects beween 2 different schemas like QA and PROD. Please suggest me a tool that compares table definitions,stored procedures and other db objects between different schemas.

  • App crash in adobe reader

    My adobe reader has stopped working.  I open a document and the error message says that adobe reader has stopped working and closes the program.  It says appcrash in the program details. I have uninstalled, reinstalled and restarted several times wit

  • Sales BoM - Drop Ship

    Hi, ist it possible to generate a sales BoM with a items from a drop ship stock? Philipp