Special character in XML causing the file to hit worng folder.

I am facing program, while sending a data to a repository using SOAP XML. The file path which is needed has a special character and this is not getting identified at the target.
here is the brief descriptio.
1) We generate the PDF using the XML report in ERP.
2) Using the same data, we generate SOAP XML file and send to a respoitory.
3) Here using this SOAP XML, the PDF is generated and stored in a location which is sent in the file.
we are sending the target path as "PO's from Customer" as below:
'<target_folder_path>'||'/Documents/'||TO_CHAR(SYSDATE,'YYYY')||'/PO's from Customer'||'</target_folder_path>';
The path needed is '/Documents/2012/PO's from Customer' , but due the apostrophe, the file is hit /adadmin path.
I have tried replcaing the special character by ' , but still no luck. If i remove the special characters, then the file is hitting correct path.
But the requirement is to have '/Documents/2012/PO's from Customer' .
Is there is a way this can be achived. Please advice.

Is it as simple as using two single quotes between PO and s?
'/PO''s from Customer'I can't tell from what you wrote how you are generating the value in the first place so if not correct provide more details related to whatever builds the path.

Similar Messages

  • Special character in some of the employee records

    Hi,
    I have found special character in some of the employee records which is causing some reports to error out. Our instance is configured for English language and these special characters are unrecognized by the application. I have attached some employee names with the special character below.
    Request you to please look into this and reply ASAP.
    ===
    Employee Number      Full Name
    1278     M_ü_ller-Seydlitz, Mrs Hilda Suzanne
    1009     Evas, Mrs Sîan* Elynda
    ===
    Regards
    Parvathi Arun
    +919840861075
    [email protected]

    first you need to create a database function like the one below.
    the query to identify those records is then the below:
    select full_name from per_people_x
    where is_not_valid_text(full_name) = 'N'
    you can use the function also to verify other fields like addresses and so on.
    the corrective action according to me should be a manual one, meaning open the form and update the names not compliant.
    thanks
    regards
    create or replace
    function is_not_valid_text (p_text in varchar2) return varchar2 is
    v_is_valid varchar2(100) := 'Y';
    v_length number := length(p_text);
    begin
    for i in 1 .. v_length loop
    if not ( -- allowed char
    ascii(substr(p_text, i, 1)) between 65 and 90 -- from A to Z
    or ascii(substr(p_text, i, 1)) between 97 and 122 -- from a to z
    or ascii(substr(p_text, i, 1)) = 32
    or ascii(substr(p_text, i, 1)) = 46
    ) then
    v_is_valid := 'N';
    exit;
    end if;
    end loop;
    return v_is_valid;
    end is_not_valid_text;
    Edited by: Giuseppe Bonavita on 10-Dec-2012 11:43

  • Itunes keep tellin me it cant but the movie on my ipad cause the file cant be writen ..drives me nuts

    Hello
    i wanna have one movie on my ipad but for some reason it tells me this movie cant be sync on it cause the file cant be writen , all other movies workin perfect!
    can anyone help me with it??

    just figure out itsjust this movie that i want. its not sync on the iphone.....my guessits the Movie from itunes store

  • File Adapter - how to get the file count from a folder

    Hi All,
    I have a requirement that have to poll a directory when the file count is reached to number N (ex:number of files avilable in folder is 5) otherwise it should wait and not pick any of the files. Is it possible to get the file count from a folder using file adapter ?? otherwise please suggest me an approach to achieve this requirement.
    Thanks,
    JJ

    Hi Sarath,
    Thank you for your reply.
    Go with the list files operation of file adapter it will gives you the number of files in the specified folder as you given. . - this step is already done.
    When the number of files reaches your count startup your webservice that which can polls the files. . . - how can i acheive this?? Have to poll the directory and process the number files - please let me know, what could be added to the webservice which is being invoked after cheking file count from parent process.
    The reason for the above question is - we cannot use ReadFile operation in second webservice because it will be automatically triggered when the file is avilable. Also SyncRead operation supports reading one file in b/w bpel process. Kindly explain me the implementation steps.
    Thanks,
    JJ

  • Returning the file count of a folder--too slow

    I am using the following to return the file count of a folder as part of a larger script
    with timeout of 5000 seconds
    tell application "Finder"
    set origFolder to "Somefolder" as alias
    set thePivotfiles to (every file of origFolder whose name ends with ".jpg")
    return the count of thePivotfiles
    end tell
    end timeout
    This script is rather slow to return the count of thePivotfiles--there are about 15,000 image files in the folder.
    Is there a faster way for the script to do this?
    Thanks.
    Pedro

    try using a shell script, something like :
    do shell script "cd ~/SomeFolder; ls -a | wc -l"
    more info here: http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    .... btw, this is the Final Cut Pro forum. :/

  • Special character in title property of file in KM

    Hi Friends,
    In KM, I have uploaded some german,spanish files. When I set title with special character It shows square characters. If I write unicode, I displays unicode as it is..
    So Can anybody help me in this case?

    Hi 
    Refer this link
    http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
    It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
    So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
    the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
    that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
    In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
    enumerate the results from the query yourself:
    var linqResults
    = from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
    == SPListTemplateType.DiscussionBoardselect list;
    DataTable oDataTable
    = new DataTable();
    DataColumn oDataColumn_Title
    = new DataColumn("Title", typeof(string));
    oDataTable.Columns.Add(oDataColumn_Title);
    DataColumn oDataColumn_URL
    = new DataColumn("URL", typeof(string));
    oDataTable.Columns.Add(oDataColumn_URL);
    foreach (SPList oSPList in linqResults)
    DataRow oDataRow
    = oDataTable.NewRow();
    oDataRow[
    "Title"]
    = oSPList.Title.ToString();
    oDataRow[
    "URL"]
    = oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
    oDataTable.Rows.Add(oDataRow);
    oDataTable.AcceptChanges();
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Sender file adapter - Can I use *.xml for the file name

    Hi Gurus,
    I have some interfaces where I need to pick the file from a directory. The name of the file will have Data<i>time stamp</i> as the naming convention. Can I use *.xml to pick up my files from this directory?
    The help.sap.com documentation says that we can use this naming convention.
    <b>
    &#9679;      File Name
    Specify the name of the file that you want to process. The name can contain placeholders (*, ? (placeholders for exactly one character)) so that you can select a list of files for processing.
    </b>
    I tried using *.xml for my file name in the communication channel, XI is not picking up this file.
    Please let me know if you have the solution.
    Thanks
    Kalyan

    Murthy,
    Thanks for the reply.
    I am using GuildFTP tool as my FTP server. In this tool, all the permissions were given for the file to pick up.
    The status of the file is good.
    Where in the file adapter configuration I have to select 'Read-only'?
    The file adapter is working perfect with the exact name of the file.
    Thanks
    Kalyan

  • Need a list of special character in XML

    Hi All,
    Could you please provide the list of the special characters in XML.
    Regards
    B.kishan

    I will assume you are asking for this
    [url http://www.w3.org/TR/REC-xml/#sec-predefined-ent]Predefined Entities
    which defines the five special characters of
    < & ' " >
    If not, you could try google with
    xml special characters
    or
    xml predefined entities
    to see what comes back.

  • Sending email via Gmail causes the file to be stored in two Sent folders

    Hi there,
    I've just set up Mac Mail to synchronise my Gmail account via IMAP and all is well except: when I send an email it appears in the "Sent" folder of my regular account AND the "Sent" folder of Gmail. How can this be? When I send the email, it is sent using my Gmail address, so I would have thought that the message would have been routed just to my Gmail sent folder... not to my regular sent folder as well.
    Thoughts?
    Cheers,
    -C

    I'm having the same problem on a home PC running Windows 7 64-bit SP1 and Office 2010 but I'm not running Norton.  Started with one of dozen or so .PST files I have for various accounts.  The first "...the file so that..." folder has no properties
    and I couldn't delete it.  Subsequent "...the file so that..." (those with .1 and .2, etc) I could delete.  Thought I had the problem solved by simply creating a new .PST file and moving all my mail from the affected. PST file and closing the affected
    one.  That worked for a couple of days but I notice this morning I have the same thing in a completely different .PST file.
    Again, I don't use Norton and have been using the same add-ins for quite some time but this just started in the last couple of weeks.
    DaleM

  • Xml/itl-"The file "iTunes Library.itl does not appear to be a valid..

    "The file "iTunes Library.itl does not appear to be a valid iTunes library file. iTunes has attempted to recover your iTunes library and renamed this file to "iTunes Library (Damaged).itl"
    does enyone know how to fix this for ever?
    thanks.

    Katrina, created test, copied ITL (I Tunes Library file?) across, did the shift thing, I Tunes opens with my songs, created a play list, closed I tunes, re-opened it, play list still there. Is that what you mean?
    I think I have some other issues as well.
    I Tunes says 2477 songs/485 artists, my I Pod has 300 more.
    Windows explorer suggests 589 artists (I keep library organised) I've lost the connection to the "movie" folder.
    Also despite songs appearing in the library, they won't play in I Tunes at all. Fine on Ipod (although not docked since this started), fine with other media. players in same location.
    Is this a nightmare where I have to delete everything & start again?
    Message was edited by: tvsizedoesmatter
    Message was edited by: tvsizedoesmatter

  • Accessing the files in OBIEE deployment folder. IIS vs OC4J

    Hi,
    I want to access the files like CSS in the OBIEE deployment folder.
    I know how to access the files in the deployment folder when the application is hosted on IIS.
    For Example:
    I have Hosted a .net application on IIS.
    The application deployment folder is sampleApplication. The URL will be something like - http://localhost/sampleApplication/samplePage.
    And if i have a CSS file under Styles folder in sampleApplication folder, the file can be accessed Like - http://localhost/sampleApplication/Styles/style.css.
    I want to do the same for OBIEE hosted on OC4J. I want to access the CSS files through the URL.
    Where will be the CSS files and How will they be accessed through the URL.
    Http://localhost:9704/..??
    Thanks in advance.

    I found that filenames are case sensitive on the iphone but not on the simulator so check that.

  • Can someone send me the files in /srv/tftp folder ?

    Hello,
    My company use ZDM, but use ghost for image solution.
    Now I am thinking of replace it to the ZDM image.
    I would need to test it first since the server may didn't install pxe component.
    Now I need the files in /srv/tftp on a ZDM linux server.
    Can someone zip this folder and upload it to me ?
    Thanks!

    Originally Posted by spond
    Aspirer,
    you can just re-run the install, and specify only the PXE component -
    that way you will get the correct version
    Shaun Pond
    Our company use ghost for a long time.
    Now I am trying to persuade my IT boss to replace to the ZENworks one.
    So I can only test from my site.
    by adding ZEN pxe boot menu to existing pxe boot menu.
    Thanks anyway.

  • How to ZIP the files and folders/sub folder files using java

    HI All,
    I'm New to this Forum, Could anybody tell me how to zip the files and folders/sub folders using java. For example I have a folder with the name testfolder and side that folder I have some files and some sub folders inside subfolders I have some other files. I need to ZIP the files and folders as they are in same hierarchy.
    Any pointers or help wolud be appritiated.
    Thanks,
    Rajeshbabu V

    [http://www.devx.com/tips/Tip/14049]

  • How to display all the files name in same folder inside a JTable?

    Currently i am doing an LAN P2P application (similar to KazAa) which is have a function to search files and list out files name after searched found. I am planning to list all the searched file names in JTable. I am having problem to list the files name on a table field. Can anybodu help : ) ? Please

    I don't understand what your problem is so I'll just refer you to the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/table.html]How to Use Tables.

  • CAML Query to Exclude the file names inside "Archive" folder

    Hi,
    I need to exclude the files which is already in the "Archive" folder in the same document library. Is there any CAML query to filter only the files from the document library(Exclude the "Archive" folder) files.
    Thank you,
    Mylsamy

    Hi,
    Below link might help you 
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/35e799a1-9360-46e5-8719-dd35fdace7ea/filter-document-library-folder-through-caml-query?forum=sharepointdevelopmentlegacy 
    Thanks
    Sivabalan

Maybe you are looking for

  • MacBook Pro cannot connect to a wireless network

    I am having the following problem with my MacBook Pro trying to connect to a wireless network using a 2WIRE Gateway wireless Router from Bell that worked perfectly until last night. My network preferences pane is saying "AirPort has the self-assigned

  • Acer Aspire V 15 Nitro VN7-571G-58T0 issues

    I bought the laptop in May 2015, and I'm facing the following problems: 1. Wifi doesn't work properly:I have tried updating the driver of the Qualcomm Atheros AR5BWB222 WiFi card, but it has made no difference. Acer issued a patch to supposedly recti

  • Data reconcialation

    Hi all,          I am tryng to match the data from datasource 2lis_02_scl with me80fn  T.code in ECC .But I am not able to match GR Value and Invoice Value.In me80fn ,if i select purchase order history view,it is not adding delivery cost whereas in B

  • HELP!!! Can anyone else resize there picture for wallpaper?

    Hi I have updated my iPad to the ISO 7.0.2 All great but the thing I have found is I can't resize my picture to fit on the main screen wallpaper like we could before? We use to show the picture click on it box comes up at the bottom and says set as h

  • Cannot uninstall, repair, or reinstall Adobe Reader

    I think this suddenly happened a few days ago (no clue what the cause is), but since then no pdf files would have that pdf icon, they've all returned to the ugly "general file" icon, though it could still be opened with Adobe Reader. I have version 9