What is the use for the input file name?

Some of Livecycle function need inputfilename besides the document object, such as following. The document object already give as a input parameter, why still need inputfilename? Actually I use some other dummy name that is different from the physical file name, it still works. So just do not get it why need input file name parameter in some Adobe LiveCycle class functions?
CreatePDFResult createPDF(Document inDoc, String inputFileName, String pdfSettings, String securitySettings, Document inSettingsDoc, Document inXMPDoc)
Thanks for your help,
P

Hi,
Please help me.
My requirement is to develop a standalone java program to convert Word documents to PDFs using Adoble LC ES.
I found the code from the Adobe LC ES documentation. Please help me what's wrong in the code.
I don't understand what i'm missing in the code...The "test.doc" file
is there in the given location with proper data and Document object is not "NULL". Program is able to connect to Adobe LC Server. No issues with connection. But why the error ??
Code & exception are below :
CODE:
import java.io.File;
import java.util.Properties;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.livecycle.generatepdf.client.CreatePDFResult;
import
com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient;
public class GeneratePDFFromNativeFiles {
public static void main(String[] args)
Properties ConnectionPropsForSOAP = new Properties();
ConnectionPropsForSOAP.setProperty("DSC_DEFAULT_SOAP_ENDPOINT",
"http://workspace-d.web.abbott.com:8080/soap/services/
ConvertAllFileTypesToPDF?wsdl");
ConnectionPropsForSOAP.setProperty("DSC_TRANSPORT_PROTOCOL", "SOAP");
ConnectionPropsForSOAP.setProperty("DSC_SERVER_TYPE", "JBoss");
ConnectionPropsForSOAP.setProperty("DSC_CREDENTIAL_USERNAME",
"epaspdfgen");
ConnectionPropsForSOAP.setProperty("DSC_CREDENTIAL_PASSWORD",
"epaspdf1");
ServiceClientFactory factory =
ServiceClientFactory.createInstance(ConnectionPropsForSOAP);
try{
String currentDirectory = System.getProperty("user.dir");
String sourceDocPath="/test.doc";
String resultDocPath ="/bin/arg/util/simpleFTP/test.pdf";
String inputFilePath = currentDirectory+sourceDocPath;
File file = new File(inputFilePath);
String adobePDFSettings = "Standard";
String securitySettings = "No Security";
String fileTypeSettings = "Standard";
GeneratePdfServiceClient gps = new
GeneratePdfServiceClient(factory);
Document inputDoc = new Document(file,true);
CreatePDFResult docResult = gps.createPDF(inputDoc, inputFilePath,
fileTypeSettings, adobePDFSettings, securitySettings, null, null);
Document createdDocument = docResult.getCreatedDocument();
createdDocument.copyToFile(new File(currentDirectory
+resultDocPath));
catch (Exception e) {
e.printStackTrace();
System.out.println("Error OCCURRED: " + e.getMessage());
EXCEPTION:
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal
error.
at
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:
207)
at
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:
125)
at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:
57)
at
com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:
208)
at
com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.createPDF(GeneratePdfServ iceClient.java:
172)
at
arg.util.simpleFTP.GeneratePDFFromNativeFiles.main(GeneratePDFFromNativeFiles.java:
73)
Caused by: ALC-DSC-002-000:
com.adobe.idp.dsc.RequiredParameterException: Parameter: inputDocument
is required.
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:
221)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:
128)
at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:
1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:
227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:
62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at
com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:
123
Please help me.
Thanks a lot.
VJ.

Similar Messages

  • What is the exact file name for Adobe Photoshop Elements application?

    what is the exact file name for Adobe Photoshop Elements application?
    I jsut downn laoded it and the alias does not work. in the  support folder I have an application titled Adobe photoshop Elements Editor and it lauches ok but when I got to import a photo it only asks for a frame from  a video.

    You do not import anything to the editor. You just open things there using File>Open. Import is only for frame from video and for scanning if your scanner is compatible and you install the PSE twain plug-in.
    If you wish to use PSE to keep track of your photos, launch Adobe Elements 11 Organizer instead of the editor.

  • What is the default file name of BAPI trace?

    hi expects,
    what is the default file name of BAPI trace?

    What BAPI trace?.. Did you mean RFC trace?
    In Windows the RFC trace filename starts with "RFC" followed by the process ID of the client program. The trace must be activated first, naturally.

  • What causes the full file name to be listed with bookmarks?

    Good morning! What drives RH to list the full file name in
    bookmark code in some files, and in others its just the
    href="#bookmark? If you change the file name...all the bookmark
    links with full file names break. Am I doing something wrong when I
    created them...? Not sure how that's possible...but something is
    driving this! Any helpful hints from the masters online?

    Hi Teri
    It's been my experience that if you elect to create a link
    from inside the topic to a bookmark, and you choose the bookmark
    from the dialog, you end up with a link that simply has the hash
    and the bookmark (#Bookmark).
    Where you see the file name preceding the hash and the
    bookmark, odds are the link was created by the user clicking the
    bookmark in either the Project Manager or the Topic List and
    dragging from there to create the link. When links are created in
    that fashion (I'm addicted to creating links that way myself - it's
    like crack to me - if I knew what that was like LOL) RoboHelp
    creates the link with the file name (FileName.htm#Bookmark).
    Cheers... Rick

  • What are the folder/file names of PSE12 catalogs?

      I'm curious about what files/folders are created by PSE 12 when setting up the original catalog and then each subsequent catalog.  Also, what files/folders are created for the PSE backup and is there a default folder/file structure tied to the catalog - or is it wholely separate?

    LinusF wrote:
    I "know" about the Program Data ....catalogs/[my catalog] location.  Is there any file necessary to the catalog which is NOT there?
    The catalog folders contain everything that is necessary for the organizer. The only thing you might consider is to take a note of your preferences settings. The backup folders also contain everything necessary; the only difference is that it may take some time to rebuild the 'cache' files automatically after the restore.
    Put another way, I am moving many, many files off my current C: drive in order to install an SSD.  I want to make super sure that I catch everything PSE may have stashed here and there and get it out to "safety" before reformatting this disk.  Thanks for all the help you've been along the line.
    The backup and restore process is highly recommended in your situation, but generally it's not the only way to 'move' catalogs and media libraries. Let's say you have all your media files under a single master folder such as 'My photos', you can use the Folder view (left panel) to drag and drop on another external or internal drive. Your catalog is then updated for the new location.
    - advantage : you can check the transfer immediately
    - drawback : you must be patient...
    That's for transferring your media library, now you can also move your catalog folder, either manually or by using the catalog manager 'move' option.
    So, the backup/restore process is not the only way.
    If you want to keep only your Elements program on the SSD, I would not store the catalogs there, I'd store the catalogs in custom location in your old reformatted internal drive. You'll need an external drive for the backup. Alternatively, you could move library and catalogs to the external drive, and back to the old reformatted drive as explained above. You might even use the external drive for both purposes...

  • What is the  DBC file name forrmat

    Dear,
    I want to know what is the file format of DBC file,actually there is multiple dbc file on server and i have a problem,so pelase help me to select the orignal one.
    --thanks                                                                                                                                                                                                                                                                                                                                                                                   

    Thanks for reply,
    I got the file from the server, but while running page,it's showing error "oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility. (Could not lookup message because there is no database connection)",
    One other thingies there any command which can identify, either file is original or not.
    --thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What is the Executable file name of my new RXi report

    Hi friends,
    Im registering a new RXi report in oracle 11i. Can anyone pls tell me how can i identify the newly developed RXi Executable file name and its Execution method? Ive been searching for it for last several weeks but not found any. pls help me.
    Thanks in advance.
    LISAN

    Which module are you working in ? Pl see if these MOS Docs can help
    430075.1 - FAQ: RXi Reports (JGRX/RXJG, FARX/RXFA, APRX/RXAP, ARRX/RXAR)
    261318.1 - About RXi Executable Names
    HTH
    Srini

  • What is the preference file name?

    Hi,
    When I watch a video within Safari it works fine, but when I want to open the full screen version, all I get are horizontal lines.
    I have had the same problem with iPhoto, and Toad told me to delete the pref file, which worked. I deleted the Safari pref file, but nothing changed. Can someone tell me the name of the appropriate pref file to delete?
    Thanks,
    Klaus

    I tried this in both Safari and Firefox and had no problem in full screen mode, so there's something odd about your system that is causing this. It's a Flash video, so it's possible that it requires the latest version of Flash, which is 9.0.124. You can check your version here: <http://www.adobe.com/products/flash/about/>, and if you need to update, get the most recent version here: <http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash>.
    It's also possible that you have an Input Manager that is conflicting with the Flash plugin, and the only way to check this is to go to Users/username/Library and create a folder named InputManagers (Disabled) and move all the items in the InputManagers folder to that one, then restart Safari and see if the problem manifests itself. If not, then that's a sure sign it's one of those Input Managers. To find which one(s), you would have to add them back one at a time, restart Safari each time and test that video until you encounter the problem again and that will be your culprit.
    If that still doesn't work, you could always download the video directly by opening the Downloads window in Safari and pasting this URL into it; the download will start immediately: <http://video.spiegel.de/flash/32432420x315_VP6576.flv>. It's 4.7 MB in size.
    After that, you should download and install the Perian preference pane, which will give you the added functionality of being able to view Flash videos in QuickTime, since it doesn't natively support that format. Once that is done, you can open the video and play it at Double Size, which is equivalent to full screen size in an 800 x768 browser window.
    Mulder

  • Metagen is skipped sometimes complaining because all output files are up-to-date with respect to the input files

    Hi,
    In one of my dll (VS2010), the process Skipping target "MetaGen" because all output files are up-to-date with respect to the input files.
    it is at  random.  I have checked the time stamps of the dll and metagen.write.1.tlog both having the time stamp on the failed build.  But all files in release folder did not have the same time.  They are one hour earlier than the dll
    and the  metagen.write.1.tlog.
    On the good build  it said the input file is is newer than output file ".\Release\\metagen.write.1.tlog" and allfiles in the release folder have same time stamp.
    Any clue to solve this ?
    Regards,

    Hi,
    Based on your post, I am not very clear about your issue. I feel your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
     Could you please provide us more information so that we resolve your issue better?
    What type of project are you working with? C++ MFC project?
    How was the
    metagen.write.1.tlog file generated in your project?
    What error messages did you get?
    What is the 'input file'?
    If possible, please provide us a sample project to reproduce your issue.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to retain input file name in b2b

    Hi,
    I have requirement in the project where I need to flollow below steps
    1) pick up file -> transform into binary format -> push into JMS queue
    2) b2b channel listen to JMS queue -> transforms into text format -> creates .text file format.
    Every thing is working as expected however the issue is b2b is able to generate the file name is didn't match with the input file name though I have mentioned preserve file name option in b2b target channel.
    How can b2b generate/retain the file name which is same as picked up input file name by FTP adapter.
    Regards,
    Anjana

    Hi,
    Thanks. this issue has been resolved. If we set below proprties in bpel, b2b can retain same input file name.
    <copy>
    <from>concat("contentType:application/octet-stream;filename:",$varFileName )</from>
    <to>$varActionName</to>
    </copy>
    <bpelx:toProperty name="jca.jms.JMSProperty.ACTION_NAME"
    variable="varActionName"/>
    Regards,
    Anjana

  • What does PS use for a file browser now? I am used to using the file browser on CS1

    What does PS use for a file browser now? I am used to using the file browser on CS1

    Newer versions of Photoshop ships with Adobe Bridge for Organizing image files.  However your not required to use it.  You can also use LightRoom or system utilities like Windows File explorer and Mac Finder.  Photoshop itself uses System dialogs to access your file systems files.   When Photoshop display an Open or Save dialog to you in all probability its a Windows or Mac System dialog.  Photoshop versions may also have some internal Photoshop Dialogs programed by Adobe for accessing your systems file systems.

  • What is the best file converter for Panasonic HC-X900M camcorder        for use on Final Cut Pro X?

    What is the best file converter for Panasonic HC-X900M Camcorder Mts  files for use with Final Cut Pro?

    This camcorder records in several ways, including AVCHD2, mpeg4 iframe, and 3d, at least that seems to be the case from a quick reading of its specs.
    If you get the latest update for fcpx, it will handle video shot in 60P. That is 10.0.4
    Here is what Apple says it supports, and one version of the 900 seems to be supported.
    I think the Apple site is a little behind its own software update, as one advantage of the new update is that it handles 60P.
    Maybe I am missing something, but I wonder what would happen if you get the latest update for fcpx, and try your card again. I did find that fcpx now supports my sony dslr at 60P.
    Here is a thread with one person saying they can now use their 900.
    Hugh

  • What font is used for the menu of Illustrator CS5?

    What font is used for the menu of Illustrator CS5?
    I know how to change the default font, which is used to input characters.
    But, I do not know how to check the font used in the menu.
    Is it the font that is described in the following files?
    C:\Users\[UserName]\AppData\Roaming\Adobe\Adobe Illustrator CS5 Settings\ja_JP\AIPrefs
    If you know, please tell me how to check the configuration file and how to change the font that is used in the menu.

    If your using windows xp and applied the 12.02 update, then this is a known bug in
    the update effecting xp users and adobe is working on a fix.
    see this thread
    http://forums.adobe.com/thread/762392?tstart=30
    MTSTUNER

  • Structure of the input file for RMDATIND (standard material update program)

    Hi all !
    I need to find the structure of the input file used by the RMDATIND standard program. Is there only one structure for this file ? what should it contains ?
    Thanks a lot
    Regards,
    --Yohann

    Hi Yohann,
    Check this link...
    [RMDATIND Document|http://www.iconet-ltd.co.uk/mm.doc]
    Hope this would solve your issue.
    Regards
    Narin Nandivada

  • What are  the input parameters for Function Module

    Dear Experts,
    I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
    For that i want to write a Generic Datasource with Function Module.
    audat
    bukrs
    vkorg
    vtweg
    spart
    aurat
    auart
    netwr
    mwsbp
    kschl zedp(consition type)
    kschl zvat(condition type)
    ksch   zcst(condition type)
    matkl     material group
    Here what are the Input parameters for Function Module.
    Thanks in Advance.
    Srinivasan.

    Srinivasan-
    For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
    Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
    Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
    Let me know how it goes.
    -Bhushan.

Maybe you are looking for

  • My app store wont change back to sri lanka from the u.s store

    Hi, I recently got my new ipod from sri lanka. I've been downloading apps and so on. One day i click on an app it says that this app is not available in sri lankan store would you like to switch us store [this is from the ipod not the pc] and i said

  • BPEL DB Adapter issue

    i have the following issue with the db adapter in BPEL designer JDeveloper 10.1.2.0.2 I'm trying to read records from an gupta sqlbase database. I'm getting to the import tables wizard screen and i can select the table i want to query. However when i

  • Too many authenticated connections

    I've got a customer with a BT line, sending via mail.btinternet.com.  For the last month or two they've complained that they keep getting asked for their password.  I've checked out the customer's system and I can see that it's not a password problem

  • Aspect ratio devils

    Hi there...I am trying to export a (1440 x 1080) 16:9 video from FCP 4.5 but in the timeline it automatically transfers to 1280 x 1080. Please Help. Is it a preset preference? I have to output today!!

  • Error while Installing Diagnostic Agent

    Hi Experts, We are getting an error while installing Diagnostic Agent in Solman 7.1. Please find the attached Screen shot of error. Can you please suggest us what was our error... So that we can move forward. Thanks in Advance.. Regards, Krishna.M