Read image to xml

hi
iam trying to read data from tables SXMSCLUP and SXMSCLUR.In these tables which fields contain the payload.in our database the clustd field is of type image.how to convert that to xml message.
thanks
sudha

Hi Ratna,
Could you please explain in more detail what you are trying to accomplish? I doubt reading the tables directly is a good idea. A comprehensive ABAP-OO API is used internally in XI and probably has the required entry-points for whatever you need. Unfortunately, it is undocumented, so you'll have to analyse the related standard transactions and/or reports to determine how to use it.
Regards,
Thorsten

Similar Messages

  • Read image metadata

    Hi All,
    Question: Can we read image meta data from CS extension code by any way ?
    I tried it with xmp core library and passed a jpeg file to xmpMeta object which expect a String, a XML or Byte Array as argument:
    private function getImageMetadata(jpeg:File):void
                                  var meta:XMPMeta = new XMPMeta(jpeg);
                                  var packet:XML = meta.serializeToXML();
                                  var photoshop:Namespace = XMPConst.photoshop;
                                  var value:String = meta.photoshop::AuthorsPosition;
    If I was able to convert jpeg file to Byte Array, I my guess to be work but I'm not able to find it workable.
    Can someone help me to complete the task?
    Thanks
    Mac

    Hi All,
    Question: Can we read image meta data from CS extension code by any way ?
    I tried it with xmp core library and passed a jpeg file to xmpMeta object which expect a String, a XML or Byte Array as argument:
    private function getImageMetadata(jpeg:File):void
                                  var meta:XMPMeta = new XMPMeta(jpeg);
                                  var packet:XML = meta.serializeToXML();
                                  var photoshop:Namespace = XMPConst.photoshop;
                                  var value:String = meta.photoshop::AuthorsPosition;
    If I was able to convert jpeg file to Byte Array, I my guess to be work but I'm not able to find it workable.
    Can someone help me to complete the task?
    Thanks
    Mac

  • BLOB image in XML Publisher

    Currently we are using 6i reports to generate XML output, which in turn is passed to XML publisher to generate documents.
    I am trying to access a blob image from DB in 6i reports. How Can I pass this image to XML publisher.
    Basically my doubt is:
    How do I incorporate BLOB image from database into XML Publisher? What are the different approaches available?

    Hey David, well, this isn't the unique solution for displaying images in XMLP. The other alternative (wich is my plan b) is to have this images in a path in the server. So, you can bring the name of your image (maybe, a signature) from the database; I have test that and works very well.
    I'm trying to use an URL because the signatures are stored as BLOBs in the db and I was trying to re-create the file in the server, but it became a little complicated. So, in my case, I just have to resolve any of this issues and I'ld have my images in the reports.

  • How to retreive images and xml stored in temporary internet files

    hi all,
                  I am creating an air application that has to work in offline too.so i have decided to retrieve datas it from temporary internet files(is it a rightway or anyother way to do that if so pls suggest).   I have an issues of retreiving images and xml stored in the temporary internet files of the user system ..can anybody help me and give solution for this..
    regards,
    Divya.

    What software are you using to create the website? Perhaps there is some command you can implement on the website to force the entire file to be downloaded. If you use Dreamweaver, you might ask in that forum. If you make the link an ftp link rather than a http link, you might guarantee that the file will be downloaded in its entirety, but the download location will not necessarily be in a temp folder.

  • Insert link over an image in XML

    Hello,
    I recently bought this template: http://www.templatemonster.com/flash-templates/27466.html but I have a big problem. I want to add a hyperlink over the big images which appears when you click on bedrooms for example. There are 9 small images in the right side and 1 big image on the left. I changed all the images but I want also to add hyperlinks on some big images. The action script import an xml file like:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <root>
            <pageGallery nameGallery="GALLERY 1" name="gallery1" folder="gallery" line="3" maxImages="9">
                    <titleImages>               
                        <smallImages>_gallery_small_images_1.jpg</smallImages>
                        <bigImages>_gallery_big_images_1.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   
                    <titleImages>               
                        <smallImages>_gallery_small_images_2.jpg</smallImages>
                        <bigImages>_gallery_big_images_2.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   
                    <titleImages>               
                        <smallImages>_gallery_small_images_3.jpg</smallImages>
                        <bigImages>_gallery_big_images_3.jpg</bigImages>
    <infoImages><![CDATA[Fusce suscipit varius mi. Cum sociis natoque penatibus et -<br>magnis dis parturient montes, nascetur ridiculus mus. Nulla dui.<br>Fusce feugiat malesuada odio. Morbi nunc odio, gravida at. ]]></infoImages>
                    </titleImages>   ........
    Please help me with the correct syntax to add hyperlink over a big image in XML. I think I have to do some changes in .fla project, but I don't know where...
    Thank you !

    This is the as for "load big images"
    onClipEvent (load) {
        if (_parent._parent.numLoadTitle == undefined) {
            _parent._parent.numLoadTitle = 0;
            if (_root.part == undefined) {
                xmlNod = _root.xmlNodes.childNodes[0].childNodes[0];
            } else {
                var nameGalleryTytle:Number = _root.xmlNodes.childNodes[0].childNodes[0].childNodes.length;
                var i:Number = 0;
                while (i<nameGalleryTytle) {
                    titleNameGallery = _root.xmlNodes.childNodes[0].childNodes[i].attributes.name;
                    if (_root.part == titleNameGallery) {
                        xmlNod = _root.xmlNodes.childNodes[0].childNodes[i];
                    i++;
            AllxmlNode = xmlNod.childNodes[_parent._parent.numLoadTitle];
            images = AllxmlNode.childNodes[1].firstChild.nodeValue;
            titleInfo = AllxmlNode.childNodes[2].firstChild.nodeValue;
            var ifFolder:String = xmlNod.attributes.folder;
            if (ifFolder == undefined) {
                loadMovie(_root.url+images, cont.pic);
            } else if (ifFolder == "") {
                loadMovie(_root.url+images, cont.pic);
            } else {
                loadMovie(ifFolder+"/"+_root.url+images, cont.pic);
        } else {
            if (_root.part == undefined) {
                xmlNod = _root.xmlNodes.childNodes[0].childNodes[0];
            } else {
                var nameGalleryTytle:Number = _root.xmlNodes.childNodes[0].childNodes[0].childNodes.length;
                var i:Number = 0;
                while (i<nameGalleryTytle) {
                    titleNameGallery = _root.xmlNodes.childNodes[0].childNodes[i].attributes.name;
                    if (_root.part == titleNameGallery) {
                        xmlNod = _root.xmlNodes.childNodes[0].childNodes[i];
                    i++;
            AllxmlNode = xmlNod.childNodes[_parent._parent.numLoadTitle];
            images = AllxmlNode.childNodes[1].firstChild.nodeValue;
            titleInfo = AllxmlNode.childNodes[2].firstChild.nodeValue;
            var ifFolder:String = xmlNod.attributes.folder;
            if (ifFolder == undefined) {
                loadMovie(_root.url+images, cont.pic);
            } else if (ifFolder == "") {
                loadMovie(_root.url+images, cont.pic);
            } else {
                //loadMovie(ifFolder+"/"+_root.url+small[i], item["mini"+i].cont.pic);
                loadMovie(ifFolder+"/"+_root.url+images, cont.pic);
    ***** Here is the first frame frome scene:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    setProperty("", _quality, "BEST");
    url = "tfile";
    _root.linkGallery=0;
    _root.titleGallery = 0;
    _root.cacheKiller = "true";
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, results_obj, xml) {//This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
    stop();
    var parsed_obj = {};//We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
    var unCash = new Date().getTime();
    if (_root.cacheKiller == "true") {
        fileToLoad = url+"_main.xml?cacheKiller="+unCash;
        fileToLoad = url+"_main.xml";
    } else {
        fileToLoad = url+"_main.xml";
    XMLParser.load(fileToLoad,onFinish,parsed_obj);
    _root.emp.useHandCursor = 0;
    ///forplayer
    _root.mus = 1;
    _root.n = 1;
    _root.num = 1;
    *** This is the second frame :
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, gallery_obj, xml) {//This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
            play();
    //system settings
    // frame number where readMore movieClip is situated
    pagesReadMoreFrame = 4;
    // frame number of the first content page
    firstPageFrame = 1;
    //system settings
    #include "gs/dataTransfer/xmlFunctions.as"
    //_root.link=_root.getMenuSystemOrder(0);
    //trace(_root.link)
    _root.link = 1;
    _root.titleNumPage = 1;
    _root.openNewGallery = true
    _root.part = _root.xmlNodes.childNodes[0].childNodes[0].attributes.name
    *** And here is the xmlFunctions.as:
    import flash.display.*;
    function loadBitmapSmoothed(url:String, target:MovieClip) {
        // Create a movie clip which will contain our
        // unsmoothed bitmap
        var bmc:MovieClip = target.createEmptyMovieClip("bmc", target.getNextHighestDepth());
        // Create a listener which will notify us when
        // the bitmap loaded successfully
        var listener:Object = new Object();
        // Track the target
        listener.tmc = target;
        // If the bitmap loaded successfully we redraw the
        // movie into a BitmapData object and then attach
        // that BitmapData to the target movie clip with
        // the smoothing flag turned on.
        listener.onLoadInit = function(mc:MovieClip) {
            mc._visible = false;
            var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);
            this.tmc.attachBitmap(bitmap, this.tmc.getNextHighestDepth(), "auto", true);
            bitmap.draw(mc);
        // Do it, load the bitmap now
        var loader:MovieClipLoader = new MovieClipLoader();
        loader.addListener(listener);
        loader.loadClip(url, bmc);
    var mainObj=_root.parsed_obj;
    var galleryObj=_root.gallery_obj;
    function textSelectable(selectedObject) {
        isTextSelected=getSettingsValue(mainObj, "textSelectable", "item");
        if (isTextSelected=="true") {
            selectedObject.selectable=true;
    function getXmlSection (obj, itemName,  sectionName) {
            i=0;
        while (obj[itemName][i]) {
            if (obj[itemName][i].name==sectionName) {
                returnedResult=true;
                return (i);
                break;
            i++;
    function getSettingsValue (obj, itemName, itemType) {
        sectionNum=getXmlSection(obj, "section",  "settings");
        k=0;
        while (obj["section"][sectionNum][itemType][k]) {
            if (obj["section"][sectionNum][itemType][k].name==itemName) {
                return (obj.section[sectionNum][itemType][k].value);
                break;
            k++;
    function getCopyright (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "copyright", "item");
        textSelectable(textObj);
    function getCompanyName (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "companyName", "item");
        textSelectable(textObj);
    function getSlogan (textObj) {
        textObj.htmlText=getSettingsValue(mainObj, "slogan", "item");
        textSelectable(textObj);
    function getSystemValue (textObj, systemOptionName) {
        textObj.htmlText=getSettingsValue(mainObj, systemOptionName, "item");
        textSelectable(textObj);
    function getMenuLink (textObj, linkNum) {
        sectionNum=getXmlSection(mainObj, "section",  "menu");
        textObj.htmlText=mainObj["section"][sectionNum].link[linkNum].value;
        textSelectable(textObj);
    function getMenuSystemOrder (linkNum) {
        sectionNum=getXmlSection(mainObj, "section", "menu");
        return (mainObj["section"][sectionNum].link[linkNum].systemOrder);
    function getGlobalText(textObj, textsNumber, optional:Boolean) {
        sectionNum = getXmlSection(mainObj, "section", "global_text");
        textObj.htmlText = mainObj["section"][sectionNum].texts[textsNumber].value;
        if (optional == undefined) {
            textSelectable(textObj);
        } else {
            // do nothing
    function getGlobalImageName(imageNumber) {
        sectionNum = getXmlSection(mainObj, "section", "global_img");
        //currentPage = _root.link-_root.firstPageFrame;
        imageParams = new Array();
        imageParams['name'] = mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];
        imageParams['linkToOpen'] = mainObj["section"][sectionNum]["image"][imageNumber]["link"];
        return (imageParams);
    function getCurrentText(textObj, textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "pages");
        currentPage=_root.link-_root.firstPageFrame;
        textObj.htmlText=mainObj["section"][sectionNum]["page"][currentPage]["texts"][0]["pageTex t"][textNumber].value;
        textSelectable(textObj);
    function getMenuPreviousLink (linkNum) {
        k=0;
        systemOrder=getMenuSystemOrder(k);
        while (systemOrder) {
            if (systemOrder==linkNum) {
                orderResult=k+1;
                break;
            k++;
            systemOrder=getMenuSystemOrder(k);
        return (orderResult);
    function getCurrentImageName(imageNumber) {
        sectionNum=getXmlSection(mainObj, "section", "pages");
        currentPage=_root.link-_root.firstPageFrame;
        imageParams=new Array();
        imageParams['name']=mainObj["section"][sectionNum]["page"][currentPage]["image"][imageNum ber]["imageUrl"];
        imageParams['linkToOpen']=mainObj["section"][sectionNum]["page"][currentPage]["image"][im ageNumber]["link"];
        imageParams['target']=mainObj["section"][sectionNum]["page"][currentPage]["image"][imageN umber]["target"];
        return (imageParams);
    function getCurrentImageName_splash(imageNumber) {
        sectionNum=getXmlSection(mainObj, "section", "settings");
        imageParams=new Array();
        imageParams['name']=mainObj["section"][sectionNum]["image"][imageNumber]["imageUrl"];
        imageParams['linkToOpen']=mainObj["section"][sectionNum]["image"][imageNumber]["link"];
        return (imageParams);
    function checkLinkType (linkTextType, linkNumber) {
             k=0;
            typeCount=0;
            finalLinkNumber=parseInt(linkNumber)+1;
            currentPage=_root.link-_root.firstPageFrame;
            sectionNum=getXmlSection(mainObj, "section", "pages");
            linkTypeCkeck=mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];
            while (linkTypeCkeck){
                if (linkTypeCkeck==linkTextType) {
                     typeCount++;
                if (typeCount==finalLinkNumber) {
                    return(k);
                    break;
                k++;
                linkTypeCkeck=mainObj["section"][sectionNum]["page"][currentPage]["link"][k]["linkType"];
    _root.readMoreFrameType = 'readmore';
    function more_click_func(number) {
        tempNumber = number.split(" ");
        number=tempNumber.join("");
        number=number.toLowerCase();
        num=_root.pagesReadMoreFrame;
        currentPage=_root.link-_root.firstPageFrame;
        if( isNaN(Number(number)) ) {
            readMoreType = number;
        } else {
            readMoreType = 'readmore';
        //if( (_root.link<>num || _root.readMoreFrameType!=readMoreType)) {      
            if (_root.animation){
                //if (_root.link<>5 ){
            _root["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            //_root.menu2["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            if (number=='privacypolicy') {
                _root.readMoreFrameType = 'privacypolicy';
                sectionNum=getXmlSection(mainObj, "section", "privacyPolicy");
                titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
                _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
            } else if (number=='termsofuse') {
                _root.readMoreFrameType = 'termsofuse';
                sectionNum=getXmlSection(mainObj, "section", "termsOfUse");
                titleNum=getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum=getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
                _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
            } else {
                _root.readMoreFrameType = 'readmore';
                sectionNum=getXmlSection(mainObj, "section", "pages");
                linkCount=checkLinkType("readMoreLink", number);
                i=0;
                linkTitleNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][li nkCount], "item", "title");           
                linkTextNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][lin kCount], "item", "linkText");
                _root.readMoreTitle=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount ]["item"][linkTitleNum].value;
                _root.readMoreText=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount] ["item"][linkTextNum].value;            
                    _root.subMenu.subMenu.subMenu["item"+(_root.link-1)].mouseRelease = true;
                    _root.link = 8;
                    _root.linkClosePanel = false;
                    _root.titleNumPage = _root.pagesReadMoreFrame;           
                    _root.content.play();           
    function getContactFormText(textObj, textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        textObj.htmlText=mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value ;
        textSelectable(textObj);
    function getContactFormText_only(textNumber) {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        return htmlText=mainObj["section"][sectionNum]["texts"][0]["pageText"][textNumber].value;
    function getContactFormParams() {
        sectionNum=getXmlSection(mainObj, "section", "contactForm");
        ContactFormParams=new Array();
        servNum=getXmlSection(mainObj["section"][sectionNum], "item", "serverOption");
        recNum=getXmlSection(mainObj["section"][sectionNum], "item", "recipient");
        ContactFormParams['rec']=mainObj["section"][sectionNum]["item"][recNum].value;
        ContactFormParams['serv']=mainObj["section"][sectionNum]["item"][servNum].value
        return (ContactFormParams);
    // gallery functions
    function getGallerySystemProperty(propName) {
        sectionNum=getXmlSection(galleryObj, "section", "systemOptions");
        propNum=getXmlSection(galleryObj["section"][sectionNum], "option", propName);
        return (galleryObj["section"][sectionNum]["option"][propNum].value);
    function getGallerySettings(propName) {
        sectionNum=getXmlSection(galleryObj, "section", "settings");
        propNum=getXmlSection(galleryObj["section"][sectionNum], "option", propName);
        return (galleryObj["section"][sectionNum]["option"][propNum].value);
    function getGalleryImage(imageNum, categoryNum) {
        sectionNum=getXmlSection(galleryObj, "section", "imagesData");
        imageParams=new Array();
        image=galleryObj["section"][sectionNum]["category"][categoryNum]["image"][imageNum];
        nameNum=getXmlSection(image, "item", "imageUrl");
        commentNum=getXmlSection(image, "item", "imageComment");
        imageParams['name']=image['item'][nameNum].value;
        imageParams['comment']=image['item'][commentNum].value;
        return (imageParams);
    function getCurrentGalleryName(categoryNum) {
        sectionNum=getXmlSection(galleryObj, "section", "imagesData");
        return (galleryObj["section"][sectionNum]["category"][categoryNum].name);

  • Read Image XMP Metadata

    Hi All,
    Hope I'm not spamming  this thread to your mailbox as I felt this question asked in unrelated  forum.
    Question: Can we read image meta data from Flex ?
    I tried it with xmp core library and passed a jpeg file to xmpMeta object :
    private function getImageMetadata(jpeg:File):void
                                  var meta:XMPMeta = new XMPMeta(jpeg);
                                  var packet:XML = meta.serializeToXML();
                                  var photoshop:Namespace = XMPConst.photoshop;
                                  var value:String = meta.photoshop::AuthorsPosition;
                                    trace(value); // returns null, not sure why
    Can any one help me to get the image metadata.
    Thanks in advance
    Mac

    I've got some content related to my issue from net but still it won't solve my problem
    private function init():void {
                                            var ldr:Loader = new Loader();
                                            ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, imgLoaded);
      var s:String = "my/jpgPath/myjpgName.jpg";
                                            ldr.load(new URLRequest(s));
                                  private function imgLoaded(e:Event):void{
                                            var info:LoaderInfo = e.target as LoaderInfo;
                                            var xmpXML:XML = getXMP(info.bytes);
      //trace(xmpXML);
                                            var meta:XMPMeta = new XMPMeta(xmpXML);
      //var packet:XML = meta.serializeToXML();
                                            var photoshop:Namespace = XMPConst.photoshop
                                            trace(meta.photoshop::AuthorsPosition);
                                  private function trim(s:String):String{
      return s.replace( /^([\s|\t|\n]+)?(.*)([\s|\t|\n]+)?$/gm, "$2" );
                                  private function getXMP(ba:ByteArray):XML{
                                            var LP:ByteArray = new ByteArray();
                                            var PACKET:ByteArray = new ByteArray();
                                            var l:int;
                                            ba.readBytes(LP, 2, 2);
                                            http://www.adobe.com/devnet/xmp.html
                                            read part 3: Storage in Files.
                                            that will explain the -2 -29 and other things you see here.
                                            l = LP.readInt() - 2 -29;
                                            ba.readBytes(PACKET, 33, l);
                                            var p:String = trim(encode(PACKET) as String);
      var i:int = p.search('<x:xmpmeta xmlns:x="adobe:ns:meta/"');
      /* Delete all in front of the XMP XML */
                                            p = p.substr(i);
                                            For some reason this left some rubbish in front, so I'll hardcode it out for now
                                            TODO clean up
                                            var ar:Array = p.split('<');
                                            var s:String = "";
                                            var q:int;
                                            var j:int = ar.length;
                                            for(q=1;q<j;q++){
                                                      s += '<'+ar[q];
                                            i = s.search('</x:xmpmeta>');
                                            i += ('</x:xmpmeta>').length;
                                            s = s.slice(0,i);
      /* Delete all behind the XMP XML */
                                            return XML(s);
                                  private static function encode(ba:ByteArray):String {
      var origPos:uint = ba.position;
      var result:Array = new Array();
       for (ba.position = 0; ba.position < ba.length - 1; )
       result.push(ba.readShort());
      if (ba.position != ba.length)
       result.push(ba.readByte() << 8);
      ba.position = origPos;
                                                      return String.fromCharCode.apply(null, result);
    It seems there is a bug in XMPMeta class where it always throws an exception "The XMPMeta object cannot have qualifiers", Even created with default (no param).
    Does anyone have any clue on this? please help
    Thanks
    Mac

  • How do i load an image through XML?

    Hi.
    My code is below. What I am trying is to dinamically load images from xml. I attach the holder from the library, and when i try to target it and addChild to him i get an error:
    var xmlLoader:URLLoader = new URLLoader();
    var xmlData:XML = new XML();
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    xmlLoader.load(new URLRequest("links.xml"));
    var xmlLength:int;
    var iconPos:Number = 0;
    function LoadXML(e:Event):void {
    xmlData = new XML(e.target.data);
    var xmlLength = xmlData.link.length();
    for (var i=0; i<xmlLength; i++) {
    var d:MovieClip = new icon();
    content_mc.addChild(d);
    d.name = "d"+i;
    var target:DisplayObject = content_mc.getChildByName("d"+i);
    var ldr:Loader = new Loader();
    ldr.load(new URLRequest(xmlData.link[i].icon));
    target.addChild(ldr);
    How can i make this happen and load the image into it's holder?
    Thank you.

    Code from adobe's sample packages cut&&paste&&edit:
    AS4 code:
    import flash.events.IOErrorEvent;
    var fotoElenco:Array;
    var fotoXML:XML;
    var fotoURLRequest:URLRequest=new URLRequest();
    var fotoURLLoader:URLLoader=new URLLoader();
    var fotoLoader:Loader=new Loader();
    var fotoPosition:Number=0;
    var errorMessage:TextField=new TextField();
    caricaFoto();
    function caricaFoto():void
        addChild(errorMessage);
        fotoURLRequest.url="gallery.xml";
        fotoURLLoader.load(fotoURLRequest);
        fotoURLLoader.addEventListener(Event.COMPLETE, showFoto);
        fotoURLLoader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorEventXML);
    function ioErrorEventXML(event:IOErrorEvent):void
        manageErrorMessage(true, 0);
    function manageErrorMessage(val:Boolean, num:Number):void
        if(val && num==0){
            errorMessage.x=stage.stageWidth/2;
            errorMessage.y=stage.stageHeight/2;
            errorMessage.text="Errore caricamento file XML";
        if(val && num==1){
            errorMessage.x=stage.stageWidth/2;
            errorMessage.y=stage.stageHeight/2;
            errorMessage.text="Errore caricamento file IMMAGINE";
    function showFoto(event:Event):void
        fwd_mc.buttonMode=true;
        back_mc.buttonMode=true;
        back_mc.addEventListener(MouseEvent.CLICK, manageFoto);
        fwd_mc.addEventListener(MouseEvent.CLICK, manageFoto);
        fotoElenco=new Array();
        fotoXML=XML(fotoURLLoader.data);
        for each(var prop:XML in fotoXML.foto)
            fotoElenco.push({url:prop.@url, didascalia:prop.@didascalia});
        viewFoto(fotoPosition);
        gallery_mc.addChild(fotoLoader);
        manageButton();
    function manageButton():void
        if(fotoPosition<1){
            back_mc.visible=false;
        }else{
            back_mc.visible=true;
        if(fotoPosition>=fotoElenco.length-1){
            fwd_mc.visible=false;
        }else{
            fwd_mc.visible=true;
    function manageFoto(event:MouseEvent):void
        switch(event.currentTarget)
            case fwd_mc:
                if(fotoPosition<fotoElenco.length-1)
                    fotoPosition++;
            break;
            case back_mc:
                if(fotoPosition>0)
                    fotoPosition--;
            break;
        viewFoto(fotoPosition);
    function viewFoto(num:Number):void
        fotoLoader.load(new URLRequest(fotoElenco[num].url));
        fotoLoader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorEventIMG);
        didascalia_txt.text=fotoElenco[num].didascalia;
        manageButton();
    function ioErrorEventIMG(event:IOErrorEvent):void
        manageErrorMessage(true, 1);
    XML code:
    <?xml version="1.0" encoding="UTF-8"?>
    <gallery>
        <foto url="img/immagine1.jpg" didascalia="Didascalia 1 foto"/>
        <foto url="img/immagine2.jpg" didascalia="Didascalia 2 foto"/>
        <foto url="img/immagine1.jpg" didascalia="Didascalia 1 foto"/>
        <foto url="img/immagine2.jpg" didascalia="Didascalia 2 foto"/>
    </gallery>

  • Print Images in XML Report

    Hi,
    I do have a requirement to print digital signature in a Quote, the signature is been stored as a picture (longraw datatype per_images table) in HRMS Tables
    HRMS Responsibility -> people -> Enter and Maintain -> Picture, here we will upload the signature of a person and this need be printed in XML Report.
    In the Report Builder if we change the ‘file format’ to ‘Image’ we are able to display the image , but when we are register in APPS, we not able to get the image, even XML tags are not been generated.
    Regards,
    Satish.

    Here...this should help !
    BLOB image in XML Publisher

  • Crystal Report that reads from an XML file Datetime or Date

    I have a Crystal Report 2008 that reads from an XML file, the source File XML Date data looks like this: 2008-03-10
    But the Crystal Report interpreted by datatime, I need the Crystal Report to look like this: 2008/03/10 (date) not 2008-03-10T00:00:00-05:00 (datatime)
    Look at an example (source file xml, report, and parameter file to execute report) at url: http://www.5websoft.com/sample.zip
    Import the file in the design and will to verify that interpret incorrectly the fields of type date as datetime
    not mapped currently for fields..
    Help.....
    Thanks!

    You could always reformat the field to only display the date portion:
    Format Field > Date and Time tab; choose the date style you need here.
    Or create a formula to extract just the date and use this field in your report:
    date({table.field})

  • Write/read image to avi file, VI works incorrectl​y from the second run

    Hi everybody, in my labview I write image from IMAQ USB to avi file and read image from avi file, the VI runs correctly at the first run then after that it goes wrong, I can write/read only one frame and it terminates automatically. Does anybody know why and how to solve this?
    Thanks a lot,
    Hannah

    Without seeing your code I can't comment specifically, but if it runs correctly the first time and then stops be looking for something that is not getting reinitialized correctly. Also what exactly do you have to do to get it to work again? Close and reopen the VI? Restart LV? Restart the computer?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to load images using xml in flash

    Hi
    im working on a quiz project where i plan to load images using xml in to flash, can any one help with the script with AS2 or 3

    You'll find a tutorial for what you are after here:
    http://www.gotoandlearn.com/play?id=22

  • LPX-00601: Invalid token in: err while trying to read data from xml

    Hey ,
    While trying to read data from xml i got err:
    LPX-00601: Invalid token in: 'path'
    the proc. i'm using to read data from the xml is:
    procedure read_xml_file_test (in_filename in varchar2)
    is
    my_dir  varchar2(20) := 'XML_DIR;
      cur_emp2 number:=0;
      l_bfile   BFILE;
      l_clob    CLOB;
      l_parser  dbms_xmlparser.Parser;
      l_doc     dbms_xmldom.DOMDocument;
      l_nl      dbms_xmldom.DOMNodeList;
      l_nl2    dbms_xmldom.DOMNodeList;
      l_n       dbms_xmldom.DOMNode; 
      l_n2     dbms_xmldom.DOMNode;
      l_temp    VARCHAR2(1000);
    v_errors        internet_clients.errors%type; 
    src_csid       NUMBER := NLS_CHARSET_ID('UTF8'); 
    dest_offset    INTEGER := 1;
    src_offset     INTEGER := 1;
    lang_context   INTEGER := dbms_lob.default_lang_ctx;
    warning        INTEGER;
    v_count       number := 0;   --total records
    v_count_s      number := 0;   -- sucsess record
    v_count_f      number := 0;   -- failed record
    v_flag varchar2(1);
    v_char2 varchar2(1);
    v_l1 VARCHAR2(255);
    v_l2 VARCHAR2(255);
    v_l3 VARCHAR2(255);
    v_l4 VARCHAR2(255);
    v_l6 VARCHAR2(255);
    BEGIN
      l_bfile := BFileName(my_dir, in_filename);
      dbms_lob.createtemporary(l_clob, cache=>FALSE);
      dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
      dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile), dest_offset,src_offset, src_csid, lang_context, warning);                        
      dbms_lob.close(l_bfile);
      -- make sure implicit date conversions are performed correctly
      dbms_session.set_nls('NLS_DATE_FORMAT','''DD/MM/RR HH24:MI:SS''');   
      -- Create a parser.
      l_parser := dbms_xmlparser.newParser;
      -- Parse the document and create a new DOM document.
        dbms_xmlparser.parseClob(l_parser, l_clob);
        l_doc := dbms_xmlparser.getDocument(l_parser);
      -- Free resources associated with the CLOB and Parser now they are no longer needed.
      dbms_lob.freetemporary(l_clob);
      dbms_xmlparser.freeParser(l_parser);  
      -- Get a list of all the  nodes in the document using the XPATH syntax.
      l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');
      -- Loop through the list and create a new record in a tble collection
      -- for each  record.
      FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
       l_n := dbms_xmldom.item(l_nl, cur_emp);
       cur_emp2:=0;
       loop
         v_count := v_count + 1;
         begin
        -- Use XPATH syntax to assign values to he elements of the collection.
        dbms_xslprocessor.valueOf(l_n,'L1/text()',v_l1);
        dbms_xslprocessor.valueOf(l_n,'L2/text()',v_l2);
        dbms_xslprocessor.valueOf(l_n,'L3/text()',v_l3);
        dbms_xslprocessor.valueOf(l_n,'L4/text()',v_l4);
        dbms_xslprocessor.valueOf(l_n,'L6/text()',v_l6);
            exception
      when others then 
      null;
      end;
    exit when cur_emp2=dbms_xmldom.getLength(l_nl2);
      END LOOP;
      end loop;
      -- Free any resources associated with the document now it
      -- is no longer needed.
      dbms_xmldom.freeDocument(l_doc);
      --remove file to another directory   
          --COMMIT;  -- do not use the commit if you want to run this proc. from within the search_dir_list proc , because it execute a select from tmp table dir_list which contain a "on commit delete rows"  clause.    
      /*EXCEPTION
      /*WHEN OTHERS THEN
       dbms_lob.freetemporary(l_clob);
        dbms_xmlparser.freeParser(l_parser);
       dbms_xmldom.freeDocument(l_doc);
        null;
        ROLLBACK; */
    END;While trying to execute this i got:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: 'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP'
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 939
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 967
    ORA-06512: at "MARKET.READ_XML_FILE_TEST", line 51
    ORA-06512: at line 1
    i guess i mised somthing at the line
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');i attached here part of my xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <soap:Body>
    - <GetFieldsNameResponse xmlns="http://tempuri.org/">
    - <GetFieldsNameResult>
    - <xs:schema id="DataSet_FRM_GANERIC_PROP" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="DataSet_FRM_GANERIC_PROP" msdata:IsDataSet="true" msdata:Locale="he-IL">
    - <xs:complexType>
    - <xs:choice minOccurs="0" maxOccurs="unbounded">
    - <xs:element name="FRM_GANERIC_PROP">
    - <xs:complexType>
    - <xs:sequence>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:choice>
      </xs:complexType>
      </xs:element>
      </xs:schema>
    - <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <DataSet_FRM_GANERIC_PROP xmlns="">
    - <FRM_GANERIC_PROP diffgr:id="FRM_GANERIC_PROP1" msdata:rowOrder="0">
      <L1>val1</L1>
      <L2>val2</L2>
      <L3>val3</L3>
      <L4>val4</L4>
      <L6>val6</L6>
      </FRM_GANERIC_PROP>
      </DataSet_FRM_GANERIC_PROP>
      </diffgr:diffgram>
      </GetFieldsNameResult>
      </GetFieldsNameResponse>
      </soap:Body>
      </soap:Envelope>I Guess it somthing that have to do with node definition ,
    but i have tried so many combinations and none ot those worked for me.
    i'm deeply stuck here.
    What do i miss here?
    THANKS yair
    Edited by: yair_k on 02:30 14/10/2010

    Hey , after got a lot of success with the xml reading part , i wonder if you
    can help me with a problem while trying to reading that xml from a web service.
    i use a procedure as followes:
    FUNCTION read_from_web_service(in_username in varchar2 , in_password in varchar2)
      RETURN CHAR
    AS
      l_service          UTL_DBWS.service;
      l_call             UTL_DBWS.call;
      l_a_ns                     VARCHAR2(32767);
      l_wsdl_url         VARCHAR2(32767);
      l_namespace        VARCHAR2(32767);
      l_service_qname    UTL_DBWS.qname;
      l_port_qname       UTL_DBWS.qname;
      l_operation_qname  UTL_DBWS.qname;
      l_xmltype_in       SYS.XMLTYPE;
      l_xmltype_out      SYS.XMLTYPE;
      l_return           VARCHAR2(32767);
    BEGIN
      l_wsdl_url        := 'http://www.company.com/publisherService/ServiceGetpublisherTable.asmx?wsdl';
      l_namespace       := 'http://tempuri.org/';
      l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTable');
      l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTableSoap');
      l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetFieldsName');
      l_service := UTL_DBWS.create_service (
        wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
        service_name           => l_service_qname);
      l_call := UTL_DBWS.create_call (
        service_handle => l_service,
        port_name      => l_port_qname,
        operation_name => l_operation_qname);
      l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
        <GetFieldsName xmlns="' || l_namespace || '">
        <user>' || in_username || '</user>
        <password>'|| in_password || '</password>
        </GetFieldsName>');
      l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
                                       request     => l_xmltype_in);
      UTL_DBWS.release_call (call_handle => l_call);
      UTL_DBWS.release_service (service_handle => l_service);
      l_return := l_xmltype_out.extract('//GetFieldsName/text()').getstringVal();
       dbms_output.put_line(l_return);     
      RETURN l_return;
    END;but when i run it i got message:
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header SOAPAction: .
    regarding the line:
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    So , i deeply stuck here!
    my web service description is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="GetFieldsName">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetFieldsNameResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetFieldsNameResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetMSG_ByUser_Not_ReadedResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Rec_Id" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="SetMSG_ByUser_Not_Readed_As_ReadedResult" type="s:boolean" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="GetFieldsNameSoapIn">
      <wsdl:part name="parameters" element="tns:GetFieldsName" />
      </wsdl:message>
    - <wsdl:message name="GetFieldsNameSoapOut">
      <wsdl:part name="parameters" element="tns:GetFieldsNameResponse" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_Readed" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_ReadedResponse" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_Readed" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_ReadedResponse" />
      </wsdl:message>
    - <wsdl:portType name="ServiceGetpublisherTableSoap">
    - <wsdl:operation name="GetFieldsName">
      <wsdl:input message="tns:GetFieldsNameSoapIn" />
      <wsdl:output message="tns:GetFieldsNameSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <wsdl:input message="tns:GetMSG_ByUser_Not_ReadedSoapIn" />
      <wsdl:output message="tns:GetMSG_ByUser_Not_ReadedSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <wsdl:input message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapIn" />
      <wsdl:output message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ServiceGetpublisherTableSoap" type="tns:ServiceGetpublisherTableSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceGetpublisherTableSoap12" type="tns:ServiceGetpublisherTableSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap12:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap12:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap12:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ServiceGetpublisherTable">
    - <wsdl:port name="ServiceGetpublisherTableSoap" binding="tns:ServiceGetpublisherTableSoap">
      <soap:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceGetpublisherTableSoap12" binding="tns:ServiceGetpublisherTableSoap12">
      <soap12:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>also i have to mention that i have changed publisher references inside the code , and i also canot
    supply username and password , so i guess you canot test it. still i not shure if my definitions (namespace est.) inside my code defined correctly.
    hope you can help me with this.
    regards
    yair

  • Cannot read image file in oracle 10g forms, getting error frm-47100

    I'm unable to read the image from the file location. But If I do re-save via MS-Paint the same image then I'm able to load successfully. I want to load image directly instead of re-save.  Error getting like "frm-47100 Cannot read image file".
    Need your co-operation to solve this issue.
    Thanks in advance!
    declare
      tiff_image_dir varchar2(80):=('D:\IMAGE\');
      photo_filename varchar2(80);
    begin
      photo_filename:=tiff_image_dir||:IMAGE_NO||'.JPG';
      if :image_no is null then
      :Image_no :=:UID_NO;
      end if;
      read_image_file(photo_filename,'JPG','image');
      WRITE_IMAGE_FILE('output.tif','TIFF','g_image_info.image',maximize_compression,original_depth)
    end;

    Hi Sindhu,
    By default any operating system file extension starts after the dot. So in this case when it says 2 dots it will think there is something wrong.
    RajeshALex

  • Webutil Read Image Problem

    Hi,
    I am reading image from client system using the below code
    CLIENT_IMAGE.READ_IMAGE_FILE(v_rd_file_name, 'JPG', 'CTRL_BLK.ADD_IMAGE');
    But this image is not displaying in the image item, this is happening for some particular images only. While writing this image into image server image size also increasing.
    We are trying one image that dimension is 2900 X 4700 this is not uploading to image item.
    but i am able to upload less than 2000 X 2000 dimension to the same image item
    below is Image item property
    Image Format : TIFF
    Image Depth : Original
    Display Quality : Medium or High
    Sizing Style : Adjust
    Any idea on thie problem...
    Regards,
    Suresh.V

    hi
    What about Java Bean????
    try the following link i hope it will help u.
    http://forms.pjc.bean.over-blog.com/article-7109292.html
    and also u may use Irfan viewer to resize the image.Did u try to use Crop?
    sasrah

  • Reading data From XML file and setting into ViewObject to Pouplate ADF UI

    Hi,
    I have following requirement.
    I would like to read data from XML file and populate the data in ViewObject so that the data can be displayed in the ADF UI.
    Also when user modifies the data in the ADF UI, it should be modified back into to ViewObject.
    Here is an example - XML file contains Book Title and Author. I would like to read Book Title and Author from XML file and set it into ViewObject Attribute and then display Book title and Author in ADF UI page. Also when user modifies Book title and Author, I would like to store it back in View Object.
    Please help me with this requirement and let me know if any solution exist in ADF, for populating the ADF UI screen fields with external XML file data.
    Thanks

    Read chapter 42 http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcadvvo.htm of the fusion developer guide
    Section 42.7, "Reading and Writing XML"
    Section 42.8, "Using Programmatic View Objects for Alternative Data Sources"
    Timo

Maybe you are looking for

  • Error message from HP 6100

    I printed on document from Word 2010.  It printed fine.  Then I got an error message "Missing or Failed Printhead"  cyan/Magenta/Yellow/Black - The printhead appears to be missing, not detected, incorrectly installed, or incompatible. I have been usi

  • Unable to load the package as XML because of package does not have a valid XML format

    I have SSIS package and I would like to let SQL Server Agent Job to run it. However I get Unable to load the package as XML because of package does not have a valid XML format What could be wrong? Kenny_I

  • Query Builder dynamicly change the request

    Hello, I use VS2010 with ODT 11.2.0.1.1 and I have strange behaviour with the "Query Builder"... When I enter this request: SELECT ARTICLE_PCH.AP_CODE ....ARTICLE_SAP.AS_USAGE_UNIQUE FROM ARTICLE_SAP, ARTICLE_PCH WHERE ARTICLE_SAP.AS_NUMERO = ARTICLE

  • How can we decide create budgets form level or self service

    Hi please help on this How can we decide to create budgets in self service pages OR form based budgets.which is good. Thanks Edited by: AM on Jan 25, 2011 12:30 PM Edited by: AM on Jan 26, 2011 9:32 AM

  • How to download ibooks, keynotes, pages... on my ipad from UAE itunes store

    I have an itunes store account in UAE. There are many apps I can't download from the UAE app store. For example, ibooks, keynotes, pages, numbers, none of these apps can be downloaded. Also app store doesn't run on ipad in UAE how come?