No way to distinguish between failure and normal when to get the document of the UCM?

Hello

I use the service GET_FILE below to get the document from the Complutense University of MADRID

request.putLocal (IdcService.NAME, IdcService.GET_FILE);
request.putLocal (IdcDocumentAttribute.DOCUMENT_ID, dID);
request.putLocal (IdcDocumentAttribute.NAME, dDocName);

and then the output stream:
ServiceResponse response = client.sendRequest (context, dataBinder);
InputStream inputStream = response.getResponseStream ();

they work most of the time very well.
However, in this case, exception that I can't file, rather than receive exception, I always get a steady stream until I got out of the stream as a string, I realized that this is a format string HDA indicating failure.

I wonder if there is no way to distinguish between failure and normal exit without open the output string stream?
Thank you.

We expect that the user can download the document so successfully in the form of output stream.

It's probably a bad support, as you have already seen ;-)

Is the output as string-HDA when the expected of the UCM rather than throwing exception failure?

It should be pretty easy parse the real answer to retrieve the status code the system riser. You should not need to open the file to find the error.

Something like

response.getLocal("StatusCode")

should tell you if the file has been found. A-16 status code means that the file could not be found. In the case of a successful GET_FILE, it does appear that a status code is still present, so test just for the mere presence of a status code should be sufficient.

Tags: Fusion Middleware

Similar Questions

  • Utility to stop smoking hard drive intermittently indicate that the hard disk is a failure and we need to get the data out of it.

    Scanned to find errors and told to back up my files, because I was going to have to drive failure.  He said WDC WDI 600JS-22N CB1 ATA Device Volume C:\ was the problem and my drive was going to fail. Run anothr says check my drive is healthy without problems. What should I do?

    Run the diagnostic software that you can download from this site:

    http://support.wdc.com/product/download.asp?GroupId=613&lang=en

    To arrange for a replacement disc if it is faulty. If the reader is installed in your computer when you bought it, and it might still be under warranty, check with the manufacturer of the computer. Also, it could be caught by a manufacturer's warranty. Visit the site of the manufacturer of the car.

    If it's to your advantage to retuen it to the manufacrurer for replacement, check to see if they will do a "hot swap". In this way, they will send you a replacement before you ship the defective drive to them. In this way, it is easier to transfer your operating system files and user to the new drive.

    Good luck.

    Tom Ferguson

  • (Vista) Is there a PRACTICE way to switch between speakers and analog headset?

    (Vista) Is there a PRACTICE way to switch between speakers and analog headset? Must I ALWAYS return the default setting, depending on which audio output device I want to use?

    We have recently installed Music Maker 16.  Before that, we never had a need for headphones and a microphone.  Now, in trying to use the headphone and microphone - and THEN switch back to speakers - we discover a problem.  Apparently, the only way to do it is to change the audio output device by default EVERY time.

    The dispute with this cannot be more of this.  My son records a beat and singing (with headphone and microphone), and then, play through speakers (so we can all hear), we need to change the default settings.  And back...  There must be a better way!

    Any help would be greatly appreciated.  Please talk layman jargon; I'm not a COMPUTER guru.  Thank you!!!

    Hi AnnieElle,

    You will need to switch between the speakers and the analog device and special value to use as the default device. There is no way to set the device to be used at the same time. You can follow the steps below to switch between the speaker and analog device.

    1. right click on the speaker icon in the taskbar.

    2. click on the playback device.

    3. Select speakers or analog device.

    4. right-click on it and click on set as default device.

    Hope the above information helps.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

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

  • A way to return to the controls at the top of the files and thumbnails when hovering over the name of the file?  I can't even read the sticker because it has been moved to a separate column on the right.

    A way to return to the controls at the top of the files and thumbnails when hovering over the name of the file?

    I can't even read the sticker because it has been moved to a separate column on the right.

    Hi Bobca,

    I'm sorry, but the forecast of nail has been deprecated in the latest version due to security problems.

    Kind regards

    Nicos

  • Normally, when you open the page palette in InDesign, it is divided into two. The upper part is where is the master page (and a page named none), while the lower part is where are the actual pages of documents. Unfortunately, when I opened my palette of p

    Normally, when you open the page palette in InDesign, it is divided into two. The upper part is where is the master page (and a page named none), while the lower part is where are the actual pages of documents. Unfortunately when I opened my palette (InDesign CS 6 on a Mac), there is no upper and lower part of the page-only the lower part is displayed. When I put my cursor on my pages, it tells me that I "Applied A-master".

    Why not my top shows (A-master and none)? The pages that I don't "Act" like master pages - for example, I can't get past page numbering.


    Any help is appreciated. Thank you!

    It looks like the upper part may be in a State reduced - the line was pulled up.

    Just of the cursor on the line that separates the upper and lower sections, and drag it to the bottom.

  • I'm doing a pdf to a file and I need to get the size of the file to be not more than 10 MB. What is the best way to do

    I'm doing a pdf to a file and I need to get the size of the file to be not more than 10 MB. Even when I save it, the image quality at least the file size is 10.9 MB. What is the best way to do

    Open the PDF in Acrobat Pro. Choose file > save as other > PDF of reduced size or PDF optimized (which gives you more options).

  • Difference between CS3 and CS4 when you place images, unguarded percentage

    There is something of a difference between CS3 and CS4 when you place images. The images I'm dealing with right now were vector images, but it could apply to all sorts of images.

    When you replace an existing image, the behavior of CS4 is to leave the image full frame. In CS3, the percentage was set at 100% as default (% see you when selecting the image, not the container).

    Also when you replace an impage in CS4, the 'internal' picture frame is maintained, while in the C3, the percentage was limited.

    Y at - it sort of investment preferences / settings leave CS4 same wat like CS3 did, when you place an image?

    -Andreas

    If reliinking keeps the scale or dimensions is now a part of preference in CS4, if that helps.

    You can play with this setting and do a few manual rebinding to see if something is appropriate. I'm not a script, but I think you can reset this preference as part of a script.

    Peter

  • Exchange 2010 - moving mailboxes between servers and DBs - that will reduce the size of the DB?

    We run very tight in the space for the volume that hosts one of our Exchange database. We have mailboxes on the disabled since this database to another DB hosting disabled accounts that resides on a different server.

    That being said, move the disabled mailbox leave the database sitting on with limited storage volume would decrease the size of DB? Otherwise what will take to achieve this properly and be able to get the storage once the mailboxes are moved to a different DB?

    Thank you

    Hello

    Your Question is beyond the scope of this community.

    Kindly forward your Question in the TechNet Forums of Exchange Server.

    https://social.technet.Microsoft.com/forums/Exchange/en-us/home?category=ExchangeServer

    See you soon.

  • Failure of Options when you click the Dock icon to include 'Desktop in the display (number).

    Failure of Options when you click the Dock icon to include 'Desktop in the display (number).

    I use an iMac 24 "mid-2007. The help documentation tells me how to assign an application to a space is to use this Option. But it does not, while the other three are. Is this an error or something that can be explained? Could there be a work around? My OS is El Capitan.

    Hi peterwhi,

    I understand you are trying to set an application to open its windows on a particular space. To do this, move to the space that you want to use for the desired application, and then choose 'The Office' in the list of options you mentioned see (under Options).

    OS X El Capitan: working in multiple spaces
    https://support.Apple.com/kb/PH21872

    The option that you describe as missing is displayed only if you have connected an additional external display to your iMac and would set the app to open on the iMac screen or the external display.

    Office on the screen [number]: the application opens in the current space on a specific screen (if more than one display is available).

    Sincerely

  • Update problems, I just reinstalled XP pro and I can't get the updates from the windows update web site

    I just reinstalled XP pro and I can't get the updates from the windows update web site. Whats up with this please help

    There is no way that anyone might be able to help without more. My initial guess and it is just a guess, is that you have to update Internet Explorer .v8. Click HERE and download IE8 and install it. Try again updates once the installation is complete.

  • How and if I can get the Vista OEM disc.

    How and if I can get the vista OEM disc. Install win 8 did not know that it would take on my vista os that Microsoft wants everyone to high grade don't like win 7 and win 8 is not working properly I want to reinstall vista. Laptop has been used without disk key code.

    Hello

    There is no Windows Vista downloads available from Microsoft.

    You can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

    http://support.Microsoft.com/kb/326246

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • I have a HP computer and I try to get the best performance on it

    Dear community,

    I have a HP computer and I try to get the best performance on it, but it does not work. I try to update the drivers and use the memory of storge on USB keys and other stuff like using Microsoft Security Essenticals it is sort of: wered because there is no no way around my problem that way happens to you guys, please I want to just play and have the best performance that I can handle it.

    I think I'll put my memory to 8 GB of Ram or 16 GB of Ram.

    Thanks for your help.

    Original title: Windows 7 HP 2000-369WM

    Hello

    Before upgrade you your RAM, check at HP for the specifications of your computer to see what max amount and type of RAM your motherboard will / can use, or download and run the Crucial Scanner:

    http://www.crucial.com/USA/en/systemscanner

    Also, if you use Windows 7 32 bit, 4GBs is the maximum RAM that can be installed, with the exception of Starter which is 2GBs.

    If you are using Windows 7 64 bit, what are the limits of RAM max for each edition (there is no Starter 64 bit)

    http://Acer.custhelp.com/app/answers/detail/A_ID/2729/~/what-is-the-maximum-amount-of-RAM-memory-supported-by-Windows-7%3F

    Home Basic 8GB
    Home Premium 16GB
    Professional 192GO
    Enterprise 192GO
    Ultimate 192GO

    _________________________________

    And follow these steps to keep your device works properly:

    Search for malicious software with the FREE version of this program.

    This is the right link to download included.

    And does not accept the option "Pay for the version" trial installation

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And it is not recommended to use a register or a program of cleaning/TuneUP/utilities they can do more harm to your any good operating system that they claim to be able to do.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Make sure you have the latest updated drivers:

    Access the site on your computer or equipment manufacturing > Driver and Software Support Section > search your computer or hardware model number > then your operating system > locate the correct drivers > download and install.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    What are the other steps, which does not include some of the above:

    "Optimize Windows for better performance.

    http://Windows.Microsoft.com/en-us/Windows/optimize-Windows-better-performance#optimize-Windows-better-performance=Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    It would be a good idea also run the System File Checker tool to check that everything is correct in the system files.

    "How to use the System File Checker tool to fix the files on system missing or corrupted on Windows Vista or Windows 7"

    http://support.Microsoft.com/kb/929833

    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    2. Type the following command and press ENTER:
      sfc/scannow

      The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    See you soon.

  • I bought Photoshop elements & elements of Prime Minister to Best Buy 2 years.  Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid.  They called Best Buy, said that adobe should hav

    I bought Photoshop elements & elements of Prime Minister to Best Buy 2 years.  Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid.  Called Best Buy, they said that adobe should have canceled activation because it has not been installed in a timely.  How can I get a serial number for installation?

    jotison64 wrote:

    I bought Photoshop elements & first items at Best Buy 2 years.  Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid.  Called Best Buy, they said that adobe should have canceled activation because it has not been installed in a timely.  How can I get a serial number for installation?

    Work your way through this document in the end, step by step, and finally try to start a chat session. I hope that Adobe will straighten this out for you.

    Contact the customer service

  • Apple music and applications when you change the country

    Hello guys! I'm of the Russia. Moved to Canada some time ago. I obviously Russian Russian and Russian credit card App Store account. What happens to my Apple music and applications when I change the country for the Canada and change the method of payment of Canadian credit card? I hope that I will not need to redownload music...

    You shouldn't have to re-download the music already on your computer, but everything you need to redownload will have to be in the Canadian store, everything is not in all stores

  • everytime I open my macbook it asks me to "Enter your password to continue using iCloud" and even when I enter the password, it is as it badly and within 5 seconds asking me to type it in again... What do I do?

    everytime I open my macbook it asks me to "Enter your password to continue using iCloud" and even when I enter the password, it is as it badly and within 5 seconds asking me to type it in again... What do I do?

    The iCloud in system preferences pane shows that you are connected?

Maybe you are looking for