How Business Service (file protocol) can read the location of the server XML file


Hi Experts,

I have a use case where I have to expose a Web service and as a response, I send a large xml (size max would be 18 MB).

Customer <>- ProxyService (exposed as a Web service) <>- BusinessService (File protocol) < - read - > File.xml

Here the xml response must be stored in the "SomeName.xml" file in the directory of the same server share path.

So when the Client calls ProxyService, inturn would call it BS, where BS inturn would have read the contents of the xml file and pass it back as a response to the customer via PS

Challenge is here using Protocol of file I can't do BS to read the xml file, instead his writing in a new file with conent as input message.

Can someone let me know is it possible to read a xml file using business service.

Note: I know that the PS can read a file using the Protocol of files, but my BS need use cases to read the contents of the file.

Any quick response is more significant.

Thank you

Deba

Cannot use the OSB in this case file adapter, you need to use a file in OSB JCA adapter. Specifically, what is called a 'synchronous reading' JCA adapter type file. Can be created in JDeveloper and then pulls in EPCO, can then be invoked as you want to extract the contents of a file synchronously in a proxy stream.

Tags: Fusion Middleware

Similar Questions

  • How to set the permissions so I can read the documents?

    How to set the permissions so I can read the documents?

    OK, this seems to be something 'Chrome '. Sometimes chromium is, he won't even close Adobe Reader. So it must be fixed with Chrome. Unfortunately, everything I can find on the web suggests that "always run for this site" should work. However, if the page closes, it sounds as if Chrome itself crashes! I suggest you only watch for a forum of Chrome, they can learn more on this subject.

  • Can remove the server.log file because its size is so big?

    Hello

    Can someone tell me if I can remove the server.log file removed
    $INST_TOP/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1
    $INST_TOP/logs/ora/10.1.3/j2ee/forms/forms_default_group_1
    $INST_TOP/logs/ora/10.1.3/j2ee/oafm/oafm_default_group_1
    ?

    And also I found another file "default_group ~ forms ~ default_group ~ 1.log" under the directory "$INST_TOP/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1". Its size is 32254416. No problem if I removed to free up space? Help, please. Thank you very much.

    Edmond

    You can delete these files without any problems. Just make sure you stop the services of the application first, remove files, then start the application services.

    Thank you
    Hussein

  • Cannot read the OS DVD, but can read the Diag CD sata disc?

    Greetings,

    Laptop is the famous brick of overheating creatively titled DV6416CA.

    I had to format the new hard drive after the original hard drive fried. (HP says too bad with that in short).

    It now sports a WD3200BVET which is sata 5400 320gigs. I had installed Windows 7 during about 6 months now.

    It was great. Life was good. I was happy. My daughter, wife and mother-in-law all used to watch movies online.

    Then they got a virus that has rendered useless map of wireless network and in the end, I was told by 2 different specialists to give up and reinstall. So I said OK. I'll reinstall with the same dvd that I used last time. But it was not to be.

    Somehow, I can read the diag cd I have but when I insert a dvd of Vista (a real one) it will not read it. He tries, but giving up at the end I tried the DVD (the original one) and also one dvd of Windows 7 on 2 other workstation without problem.

    Therefore, I can not install the OS from scratch on this laptop using the DVD player.

    The BIOS is also sport all options, for example, the IDE compatibility or such.

    Just the phone does not have a DVD OS...

    Thanks for the help

    Antoine

    PS: with 3 generations of angry women, waiting for this I need all the help I can get! LOLz

    Perhaps because it is the laser burnt out or defective DVD it reads cd but not dvd. Have you tried to boot from XP cd?

    You could try a 4 GB USB Flash drive to create a W7 bootable Installer.

    http://AgniPulse.com/2009/11/Windows-7-32-bit-and-64-bit-direct-download-links/

    http://freetechjournal.com/tech-space/Microsoft-Windows-7-bootable-USB-creator.html

    http://windows7usbcreator.com/

  • Volume shadow copy Service information: could not start the Server COM with CLSID {790f2886-9889-4c99-8ef5-531add05d044} and name SW_PROV. [0 x 80110802]

    Problems with VSS and DTC... dunno how or serious errors are

    One of the two messages I get the message this is the right place to post

    Volume shadow copy Service information: could not start the Server COM with CLSID {790f2886-9889-4c99-8ef5-531add05d044} and name SW_PROV. [0 x 80110802]

    Operation:
    Get an interface that can be called by for this provider
    List of interfaces for all providers support this context

    Context:
    Provider ID: {262b716e-bb23-41b5-aaef-e2c15e767167}
    Class ID: {790f2886-9889-4c99-8ef5-531add05d044}
    Snapshot context: 0
    Snapshot context: 0

    Hey artinusa,.

    Welcome to the Microsoft Answers site.

    This error message is seen only in a Windows Server environment.

    The community more suited for this problem would be the Microsoft TechNet community. Please post your query it better support.

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

    Have a great day.

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Server internal error - read the server has encountered an internal error or misconfiguration and was unable to complete your request.

    I get the following error message when you try to access one of my hotmail accounts:

    Internal Server Error - read the server has encountered an internal error or misconfiguration and was unable to respond to your request. Reference #3.269102cc.1330033628.4ef0aa7f.
    What is this error and how to fix it?
    Thanks Ellie

    I get the same message... must be a problem with hotmail.

  • How to make WMP 11 to read the .ts files?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I want to play .ts files via WMP 11 on my XP & Vista platforms, but there seems to be a problem. It may lack the codec for these files? WMP 12 on Windows 7 playing .ts without problems. 

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    I want to read the .ts files to WMP 11 on my XP & Vista platforms but there seems to be a problem. It may lack the codec for these files? WMP 12 on Windows 7 playing .ts without problems.

    ===========================================
    Can you play commercial DVDs on your XP/Vista systems?

    Are you referring to a VIDEO_TS on a DVD-video folder?

    You could buy a DVD decoder at the following link:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Info about DVD decoders:
    Plug-ins for Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-Media-Player/plug-ins

    Or you can download and use one of the following freeware
    media players:

    VLC Media Player
    http://www.filehippo.com/download_vlc/
    (works on XP/Vista/7)

    Media Player Classic Home Cinema
    http://MajorGeeks.com/Media_Player_Classic_Home_Cinema_d6213.html
    (works on XP/Vista/7)

    Or... you can try to download and install one of the
    Following codec packs.

    (FWIW... it is always preferable, if you create a system restore
    point before installing any software or updates).

    * Proceed at your own risk *.

    (1) K-Lite Codec Pack (full)
    http://www.filehippo.com/download_klite_codec_pack/

    (2) information on CCCP (combined Community Codec Pack)
    http://www.CCCP-project.NET/wiki/index.php?title=Main_Page

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How can I change my region 1 to region 2 code so that I can read the DVD in Windows Media Center?

    Original title: How can I change region 1 to region 2.

    How can I change my region 1 to region 2 code so I can play the dvd on windows media Center, I live in the United Kingdom, so I only need region 2. My DVD drive is set to region 1 and I can't change with the locations using windows... need help.

    Hi DerekBoyne,

    You can follow this link and check if it helps.

    Change the country or region setting

    Hope the helps of information.

    Please post back and we do know.

  • Premiere Elements can read the .vob files?

    I have a few .vob files I generated from an old VHS tape.  I want to convert mpg, or other media in order to edit and post them on the web.  Premiere Elements can this do?

    Thank you!

    MPG files ARE VOB files, dl. All you have to do is change the suffix.

    But, Yes, Premiere Elements can change the VOB files, if you use the preset of the project DVD/hard. You can then produce in a variety of formats compatible with the web, including WMVs and MOV.

    But if you just want to convert your VOB to MPEG, you do not need to involve the first Elements in the 'conversion '.

  • Premiere Pro can read the FORMAT of Sony XAVC S 4 K?

    Sony uses a special 'XAVC S 4 K' format with their video camera of FDR-AX33.  It seems to be questions about how he is going to "play with the other children.  It stores in the form of data on an SD card, which my computer reads without problems.  I understand that the 2015 version of Premiere Pro work with 4K video.  Anyone know if it can import a 'XAVC S 4 K' from a SD card?

    Thank you

    You must copy the map to the hard drive first, then ingest via Media Browser.

    How well first will play the files also depends on your hardware.

  • Can read the SD card SDXC standard S7-392?

    The Acer S7-392 record indicate only "SD", but not whether the SDHC or SDXC card types can be read. A quick search of the web shows several contradictory web pages! Some say: 'Yes,' some say 'no '.

    So, if all goes well a real representative Acer or a real owner of S7 - 392 may answer: can the slot built-in SD read the new SDXC format (which, according to Wikipedia, will be formatted with the exFAT file system)?

    Thank you!

    Alain

    Yes. I use a card of exFAT Sandisk Extreme 64 gb with no problems

  • How long after I paid can use the program?

    Anyone know how long it takes to sign up as a member, if I can use the conversion utilities?

    Hi frankc311,

    It may take up to 48 hours for an order to process entirely. I checked your account and it seems that your order is still in process. Once it deals entirely, you will be able to log in and use your subscription.

    Best,

    Sara

  • What makes service = null it can stop the service completely?

    Hello world

    It is a short code, which I found in VI SDK Programming guide

    public void disconnect () throws Exception {}

    If (_service! = null) {}

    does not work at the moment

    _Service.logout (_svcRef);

    _Service = null;

    _Sic = null;

    }

    It is to mention here that service.logout does not work.

    This makes completely null = service stop service or some traces remain always like parasites.

    Will be only favor = null completely stop the service?

    This very important, please let me know as soon as POSSIBLE

    Thank you

    Tejas Saner

    The line (_service = null ;) simply indicates that the object is OK to be garbage collected Java. He warns NOT the server to disconnect the current session.

    The reason (_service.logout (_svcRef)); did not work because the computer is transmitted to the wrong setting. The disconnection is set to SessionManager, not ServiceInstance.

    If you're coding in Java, you can use the API Java VI which makes your code much less and much more readable.

    Steve JIN, VMware engineering

    Creator of VI Java API: http://vijava.sf.net/

  • What I save a document pages in to a PC can read the document. Even better if the document is read-only.

    That save a document pages in to a PC can read Heard it. PDF created in Pages cannot be read by Mac PC alone.

    There is no PC version of Pages, so at least that you convert you will not be able to open it.

  • How to send photos by mms from the server?

    Hello

    I am currently working on mms app.what I do is first download the image of the server and then send.

    but there is a string currentLocation (location of the file we want to fix) parameter to MessagePart.

    so I use it directly from server how can I achieve that.

    pls help...

    thankx.

    Hello

    My problem was solved by using

    Bitmap image=imageObj.originalImage[0];
                PNGEncodedImage encodedImage=PNGEncodedImage.encode(image);
                byte[] contents=encodedImage.getData();
    

Maybe you are looking for