Namespace url with /ns instead of /ns0

Hi Experts,
I'm doing JDBC to proxy Scenario. We are getting following Mapping error in SXMB_MONI.
Error:
<SAP:P1>com/sap/xi/tf/_MM_BRNVS30_PPS_To_ECC_Oorja_Auto_I~</SAP:P1>
  <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
  <SAP:P3>on: Cannot create target element /ns1:MT_ECC_PPS_A</SAP:P3>
  <SAP:P4>uto_Invoice_Gen_2_0177. Values missing in queue c~</SAP:P4>
  <SAP:AdditionalText />
  <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_BRNVS30_PPS_To_ECC_Oorja_Auto_I~; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:MT_ECC_PPS_Auto_Invoice_Gen_2_0177. Values missing in queue c~</SAP:Stack>
We are getting Source payload as below in SXMB_MONI
<?xml version="1.0" encoding="utf-8"?>
<ns:TB_SAP_SO_OORJA.resultset xmlns:ns="urn:sap.com:jdbcAdapter">
   <row>
      <ROID>ROID467023</ROID>
   </row>
</ns:TB_SAP_SO_OORJA.resultset>
Source payload from messagemapping when input is provided manually:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:TB_SAP_SO_OORJA.resultSet xmlns:ns0="urn:sap.com:jdbcAdapter">
   <row>
      <ROID>ROID467023</ROID>
   </row>
</ns0:TB_SAP_SO_OORJA.resultSet>
In general, the namespace prefix will be, ns0. But in my case, we are getting ns instead of ns0 in SXMB_MONI".
We have done similar scenarios but didn't face this issue before.
Is the problem with the namespace prefix or any other issue.please let me know ?
Thanks
Manaswitha.

Hi Manaswitha
I think the issue might not be related to the namespace difference.
From your JDBC generated payload in SXMB_MONI, there seems to be some typo error in the root element name.
TB_SAP_SO_OORJA.resultset
However, your mapping is expecting
TB_SAP_SO_OORJA.resultSet
Please check your sender JDBC channel and correct the name (with uppercase S) according to the definition in ESR.
Rgds
Eng Swee

Similar Messages

  • Printing different URL with javascript

    I am trying to print a URL using javascript but i do not want to print the current page. I have searched google, this forum and a javascript book and can not seem to figure it out. To exlplain in it generic terms i want to be on one page and tell it to print another. Reason being, I am looking at an overview page and want to print a report made in Oracle reports, (Yes I could load the report and print it but i want to print multiple reports from one button)(The reports do work and are valid) Here is a rundown of what I am doing.
    From a button i am calling a 'url' with the following code:
    javascript:V_PRINT('P50_CUSTOMER_ID','P50_YEAR');
    And then in the html header i have the code: (printing same page twice, just an example)
    <script language="JavaScript" type="text/javascript">
    function V_PRINT (formItem1,formItem2) {
    var formVal1 = document.getElementById(formItem1).value;
    var formVal2 = document.getElementById(formItem2).value;
    var url1;
    var url2;
    url1 = 'http://www.google.com/search?hl=en&q=' + formVal1 + '+' + formVal2;
    url2 = 'http://www.google.com/search?hl=en&q=' + formVal1 + '+' + formVal2;
    url1 = print();
    url2 = print();
    </script>
    This code just prints the current page. I know I am calling print incorrectly and thats where i need the help. Of course I might just be approaching it all wrong. Either way I hope someone with javascript knowledge can help.
    Thanks

    Hello,
    To print a page it has to be open in the browser since all it does it call the browsers print dialog.
    Here is one solution http://www.irt.org/script/508.htm and you can also try a iframe instead of a regular frame.
    If it's crossdomain request like your example here that might cause problems as well. There might be additional problems.
    Carl

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • Download and then open PDFs with Preview instead of viewing PDFs within Safari

    hello, I am running Safari 6.0.2 and since this update PDF files are automatically opened within Safari. This seems to be a new feature. In my older version of Safari whenever I clicked a pdf it was downloaded to my "Downloads" folder and then automatically opened with Preview. The option open "safe" files after downloading in Safari -> Preferences -> General is ticked. So as soon as a download a PDF file it should automatically be opened with Preview. However, I cannot figure out how to download a PDF file from a google link. I googled and people suggested to use alt + mouse click on the google search result link to download the PDF. However, whenever I tried this instead of downlading the PDF file it downloads a .html file which is then apparently not opened. Also using the option "download linked file" or "download linked file as" only downloads a url.html file and not the PDF. I searched and searched for any possible solutions but cannot find any. I am really suprised that no one has yet really complained about that. Any ideas of how to fix that problem?

    I had a similar probem after updating to the newest Safari -- and I posted that question on the forum this morning.  Like you, I didn't have any adobe plug-ins.  then I read another post that made sense:
    find a pdf document that you know opens in Preview. Do a command-I on that document's icon.  Then you'll see 1/2 way down an item that says "open with Preview" - click on the arrow beside that, then beside it you'll see "use this application to open all documents like this one"  Under that, you'll see "change all" -- and it will change all pdfs to automatically open with Preview instead of Adobe.From then on Safari worked perfectly
    Then I wondered why I didn't have the Adobe plug-in that people were telling me to disable - so I downloaded Adobe Reader again - looked in the library and sure enough there was the plug-in - so I went ahead and disabled the Adobe pdf plug-in (by dumping it in the trash).
    so far so good -- first time that Safari 6.02 has worked for me since I installed it.

  • Remote URL with parameters

    I'm building a ADF Mobile application and would like to call remote URL with parameters however there is no concrete example of this in the developer guide. I would like to call www.google.com?q=queryParam where queryParam is an user input.
    Thank you...

    I think you need to first define a white list of sites and this will allow opening the page in the web view instead of a separate browser see:
    http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/remoteurl.htm#BABJFEAE

  • Generate the current URL with css file

    Hello everybody,
    I just added a QRCode App on my Custom List page and I'm trying to create a css file that
    it can generate the current URL where the QRCode App is opening.  The QRCode App allows to add css file which Indicates
    if I want to specify a custom CSS file URL. The QRCode opens with each List item. 
    Below is the code that I've been trying to use:
    <ul >
        <a href="">Link </a>
    </ul> 
    *This code shows the current URL. However instead showing the the URL, it shows a Link to the current page. Can someone help me with that? 
    Link for the QRCode App:
    http://office.microsoft.com/en-us/store/qrcode-app-for-sharepoint-WA103699711.aspx
    Thanks!
    App Part properties
    When you're editing the app part properties, you can change the following custom properties:
    Name
    Category
    Type
    Description
    QR Code Text
    QRCode Settings
    String
    QR code
    associated text or url. By default, this value is the host web url.
    QR Code Width
    QRCode
    Settings
    Integer
    QR
    code width. Default value is 200 px.
    QR Code Height
    QRCode
    Settings
    Integer
    QR
    code height. Default value is 200 px.
    Render Mode
    QRCode
    Settings
    Enum
    QR
    code render html method. The value could be canvas or html table. Default value is Cancas.
    Custom CSS File Url
    QRCode Settings
    String
    Indicates
    if you want to specify a custom CSS file URL.
    flavio

    hi
    what do you mean by current url? If url of current page is not what you are looking for, then is it url of current site?
    As you use app, I guess you are working with Sharepoint Online and can't use server side code? If this is the case, then check the following post:
    How to get URL of current site collection and other server side properties on client site in Sharepoint. Briefly you need to use OTB _spPageContextInfo object and set href attribute of your link in javascript:
    <ul>
    <a id="foo">Link</a>
    </ul>
    <script type="text/javascript">
    document.getElementById("foo").setAttribute("href", _spPageContextInfo.siteAbsoluteUrl);
    </script>
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • Display Product Name in URL with out Extension

    Hi
    I want to display the product name in the URL, with out
    giving the product id and the file extension like below
    I want like this : www.mysite.com/category/productname
    instead of
    www.mysite.com/category/display.cfm?pid=123&catid=345
    I dont want to give the ext and whole query string, becuase
    my clients getting confuion with this query string.
    does any one have any idea on this?
    can any one explain how to do this.

    Take a look at:
    http://www.isapirewrite.com/
    the isapi filter. I believe cold fusion server has an inbuilt one.
    I am using it to change /profile.cfm?dir=myprofile to /myprofile
    where my profile is a unique identifier. I would guess you could
    easily do this:
    www.mysite.com/category/display.cfm?pid=123&catid=345&name=productname
    www.mysite.com/category/productname

  • URLEncoding of URLs with UTF-8 characters

    Hi,
    I'm trying to URL encode a URL with some chinese characters in them. But it isnt working properly.
    i.e. When i decode back the encdoed URL (using java.net.URLDEncoder.decode(String) & java.net.URLDecoder.decode(string) respectively), I dont get the same URL back... The chinese characters are lost some how...
    I tried writing it to a file instead of printing the out put, but no luck...
    input URL=http://down.chinamp3.com/down.php?id=70201&song_name=I%20Will%20Be%20Fine&singer_name=&#33707;&#25991;&#34074;
    encoded URL=http%3a//down.chinamp3.com/down.php%3fid%3d70201%26song_name%3dI%2520Will%2520Be%2520Fine%26singer_name%3d%e8%8e%ab%e6%96%87%e8%94%9a
    decoded URL=http://down.chinamp3.com/down.php?id=70201&song_name=I%20Will%20Be%20Fine&singer_name=���������������������
    Where as the decode URL should be same as the input URL!!!!
    I'm completely stuck, Some advice will be highly appreciated!
    Regards
    Pratim

    I tried something similar in different ways. After spending days.. i came up with something which is working fine for me in any language. I tested the following code from java applet, or input from HTML page, it seems to be working fine. I hope this helps.
    Do not use the request.getParemeter() for retrieving chinese or other 2/3 byte input characters. Instead create your own hashtable and do read ur request input stream directly.
    ------------------- code ----------------
              String queryString = request.getQueryString();
              String paramStr = "";
              if(isPost)
                   StringBuffer buffer = new StringBuffer();
                   char[] buf = new char[4 * 1024]; // 4Kchar buffer
                   int len;
                   BufferedReader reader = request.getReader();
                   while ((len = reader.read(buf, 0, buf.length)) != -1)
                        buffer.append(buf, 0 ,len);
                   paramStr = buffer.toString();
                   paramStr = URLDecoder.decode(paramStr,"UTF-8");
                   p(paramStr);
              Hashtable requestHash = createHash(paramStr);
              Hashtable getRequestHash = createHash(queryString==null?"":queryString );//HttpUtils.parseQueryString( queryString==null?"":queryString );
              for(Enumeration e= getRequestHash.keys();e.hasMoreElements();)
                   Object key = e.nextElement();
                   Object value = getRequestHash.get( key );
                   requestHash.put(key,value);
              p("Request Hash size : " + requestHash.size());
    --- end code ---
    And now the create hash function
    -------------- code -----------
    Hashtable createHash(String str)
         Hashtable hash = new Hashtable();
         StringTokenizer st = new StringTokenizer(str,"&");
         while(st.hasMoreTokens())
              StringTokenizer st1 = new StringTokenizer(st.nextToken(),"=");
              String key = st1.nextToken();
              String value = (st1.hasMoreTokens()?st1.nextToken():"");
              hash.put(key,new String[]{value});
         return hash;
    String getRequestValue(Hashtable requestHash,String key)
         if(requestHash.get(key)==null)
              return null;
         String value = ((String[]) requestHash.get(key))[0];
         return value;
    String[] getRequestValues(Hashtable requestHash,String key)
         if(requestHash.get(key)==null)
              return null;
         String[] value = ((String[]) requestHash.get(key));
         return value;
    --------------------- end code ---------------
    You can get the request value like this:
    String act=getRequestValue(requestHash,"act");
    I hope this one helps

  • URLs with spaces

    I know that's a contradiction in terms but here is my problem. My database contains large numbers of 'URLs' with spaces in them reflecting where the corresponding files actually are in the file system. In the longer term I can get them converted to use %20 but in the meantime I have the problem that h:outputLink translates the spaces into +. I'm just wondering if there's something in JSF that will turn them into %20 for me? ... other than fn:replace() which I guess is not a bad alternative ...
    Thanks in advance.

    SharePoint is a Document Management system which is designed to be user-friendly. Naming all documents in your site farm with no spaces makes the document titles difficult to read for the end users. I agree that, programatically, no spaces is good, but unfortunately,
    systems are used by human beings. So even though your suggestion has been marked as an answer, it's not really a solution is it?
    The solution I came up with that solved my instance of this problem was to add a text column to the List I was working with, then put some JavaScript in the NewForm.aspx file that copies the file name into the text file and the applies an "encodeURI" to
    convert the word spaces into %20 ...
    So when I create a new item in my list, the JavaScript takes the file name, converts the spaces to %20, then copies the string into the text field in the list. When I build the WorkFlow Email, instead of concating the file name into a URL, I use the text
    field that pulls out (for example) "my%20file" and adds the pre-amble (http://myserver/path/) and the suffix (.pdf) and I have a working URL ...
    The full solution is posted at
    my blog ...

  • Why do I have to append URL with /index.htm on one KB?

    I have 7 different KBs I maintain on my webserver. I am using RoboHelp 7. For one of them, I have to append the URL with /index.htm, or it does not show the correct information. Examples of two of the KBs, and what happens with & without the index.htm appendeden
    I will happily provide any other information. I've been wondering about this for a long time, and it's finally driven me batty enough to ask. Thanks so much for any assistance. Greatly appreciate your input, this is a wonderful resource.
    http://wpa10suppliertest.am.mot-mobility.com/ opens a training KB for supplier information. See screenshot of the WebHelp Primary Layout:
    However, for http://wpa10user.am.mot-mobility.com/ if I do not append with http://wpa10user.am.mot-mobility.com/index.htm, I get no content, and the first skin I tried out. The settings are the same:
    http://wpa10user.am.mot-mobility.com/:
    http://wpa10user.am.mot-mobility.com/index.htm:

    Hi William,
    That makes sense - but I had looked at my IIS setups and they appear the same for all KBs, again here are settings for WPA Supplier & User. I created both the same day, the same way, and have compared all tabs which are identical. I can double check on how the DNS aliases that were set up, but they should have been identical as well

  • How to read the param in an URL with an applet???

    I will like to read the in an URL with an applet param (after the ?)
    I need the equivalent of: String parm1 = request.getParameter("param"); but for applet
    I think the HttpServletResponse doesn't work in an applet ???
    Tell me if I'am right
    Thanks for your help
    Benoit

    Hi
    What you can do is, just get that URL in the web page. Like as we can get in the ASP. Store the required information in the variables and pass this information as parameters to the applet.
    Hope this helps!

  • Insert order by records into a view with a instead of trigger

    Hi all,
    I have this DML query:
    INSERT INTO table_view t (a,
                              b,
                              c,
                              d,
                              e)
          SELECT   a,
                   b,
                   c,
                   d,
                   e
            FROM   table_name
        ORDER BY   dtable_view is a view with an INSTEAD OF trigger and table_name is a table with my records to be inserted.
    I need the ORDER BY clause because in my trigger i call a procedure who treat each record and insert into a table, used in the view. I need to garantee these order.
    If i put an other SELECT statement outside, like this:
    INSERT INTO table_view t (a,
                              b,
                              c,
                              d,
                              e)
          SELECT   a,
                   b,
                   c,
                   d,
                   e
            FROM   table_name
        ORDER BY   dIt works. But I can put these new SELECT because these query is created automatic by Oracle Data Integrator.
    What I'm asking you is if there any solution to this problem without changing anything in the Oracle Data Integrator. Or, in other words, if there is any simple solution other than to add a new SELECT statement.
    Thanks in advance,
    Regards.

    Sorry... copy+paste error :)
    INSERT INTO table_view t (a,
                              b,
                              c,
                              d,
                              e)
        SELECT   *
          FROM   (  SELECT   a,
                             b,
                             c,
                             d,
                             e
                      FROM   table_name
                  ORDER BY   d)I need to insert him by a D column order, because my trigger needs to validate each record and insert him. I have some restrictions. For example, my records are:
    2     1     2006     M
    1     2     2007 M
    1     3     2007     S 2007
    1     2     2007     S 2007
    2     1     2009     S
    2     1     2009     S
    I want to insert the 'M' records first and then the 'S' records because the 'S' records only makes sense in target table is exists 'M' records
    Regards,
    Filipe Almeida

  • "there was a problem connecting to the server. URLS with the type 'file' are not supported"

    i have a new macbook pro 13" and every 6 minutes or so it pops up a window that says "there was a problem connecting to the server. URLS with the type 'file' are not supported". it never seems to cause any problems but is supremely annoying. how can i make this come to an end?

    I tried someone's solution of taking another external disc and plugging it in, then when it showed up and time machine asked if I wanted to use it or that someone might be trying to trick me, I chose not use it.  Then I  shut down my computer, plugged in the original Lacie, and rebooted the computer and all seems to work fine now-- the Lacie appears on my desktop and all seeems to be in working order. Who knows why or anything else,- as weird as it gets- but for now things seemed fixed--- maybe others can try this too-- it worked for me so far.

  • "There was a problem connecting to the server.   URLs with the type "file:" are not supported.  Why?  What can be done to eliminate it?

    After upgrading to Mountain Lion, I repeatedly get this message:  "There was a problem connecting to the server.   URLs with the type "file:" are not supported. 
    Why? 
    What can be done to eliminate it?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Message - There was a problem connecting to the server. URLs with the type "file:" are not supported

    new macbook pro receving this message: There was a problem connecting to the server. URLs with the type "file:" are not supported. What is causing this and how do

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

Maybe you are looking for

  • Anyone successful at using Oracle 9.0.1's XMLType in WebLogic 700?  Works outside of WL

    I have code working that uses Oracle's new XMLType column (CLOB implementation). It works as straight java with JDBC connection, but fails with "InvocationTargetException null " error on line : myClob = CLOB.createTemporary( conn, false, CLOB.DURATIO

  • Multi Digital Signature

    Hi to all, I create a Form using Adobe LiveCycle Designer 8.2. The purpose of this form is to have multiple digital signatures from 4 different people. But when the first person fills the form and does a digital signature. The second, third and forth

  • Why cant I restore a backup to Iphone 4S (5.1.1)?

    Hi all, I have done a backup to my computer for my iPhone 4 (version 4.3.5) Had bought an iPhone 4S (version 5.1.1) and had connected my 4S to my computer and tried to restore the backup but failed. Did anyone experience this before and how do u solv

  • A new problem: cannot drag anymore

    In addition to all recent MacBook Pro problems (keyboard dead and USB not working after wake up) I am suffering for a new problem: I cannot move files with the mouse or trackpad anymore. I can select a file, but drag operation does not start. I didn'

  • Importing Java Classes for Bussiness Logic in Forms6i

    I have created a Java Class with some bussiness logic in it and i m able to impotr it in Forms 6i BUT when it converts my java method into program unit it automatically changes the name of the method with some code ..like method name is "increment" i