Wd protocol adapter API for reading PCD URL of iview

Hi,
I want to retrive complete URL (including PCD) in web dynpro java application.
I am making use of WDProtocolAdapter but unable to get it.
Kindly advice me with correct code  for complete Url path.

Hi Pandit,
Refer the following link inorder to get the pcd path of iview in webdynpro:
How to get Web Dynpro iView pcd url from Web Dynpro application?
Regards,
Jithin

Similar Messages

  • Api for reading .cfg files

    Hello everyone,
    Once I saw an api for reading typical .cfg files, in which ## are comments, [xx] are labels... Now I need to use it but I don't remember the api any more.
    Can somebody tell me which class do I have to use?
    Thanks a lot

    Now I need
    to use it but I don't remember the api any more.http://java.sun.com/docs/
    There is nothing that I'm aware of in the api that has the same functionality as MFC GetPrivateProfileString(...)
    You could use a properties files like most other people, otherwise you are going to have to implement it yourself.

  • Java API for reading Excel Files.

    Hi,
    Can you please suggest me any api for reading excel files.
    Right now i am using jxl.jar for this purpose but i am searching for an open source java api better than this.
    Whether POI gives better than this ?
    Thanks,
    Amit Shah.

    Can you please suggest me any api for reading excel
    files.
    Right now i am using jxl.jar for this purpose
    but i am searching for an open source java api better
    than this.
    Whether POI gives better than this ?i don't know about jxl but poi has several features which an excel can contain and it has been vastly improved in the past few versions.

  • ORA-12560: TNS protocol adapter error for 11g

    I'm attempting to install Oracle 11g in my Windows 2008 Doamin machine.
    During the installation of database configuration assistant, I got the
    pop up error "ORA-12560: TNS protocol adapter error." I tried it
    twice and still failed. I have no idea what's going on. Any ideas?

    01034, 00000, "ORACLE not available"
    // *Cause: Oracle was not started up. Possible causes include the following:
    //         - The SGA requires more space than was allocated for it.
    //         - The operating-system variable pointing to the instance is
    //           improperly defined.
    // *Action: Refer to accompanying messages for possible causes and correct
    //          the problem mentioned in the other messages.
    //          If Oracle has been initialized, then on some operating systems,
    //          verify that Oracle was linked correctly. See the platform
    //          specific Oracle documentation.

  • API for reading/updating Lightroom metadata

    I've tried looking for documentation, and I can't find it, so...
    Is there an officially sanctioned mechanism for third party applications to read and edit Lightroom metadata? In particular, the keywords that have been assigned?
    My use case is as follows. I pull photos in to Lightroom, edit, adjust, add metadata, and so on. Then, for some of them, I export them to Flickr, using the Flickr Uploadr tool.
    Sometimes, based on comments on the photos, I may want to edit the metadata. I can do this, but I need to edit it in both places, Lightroom and Flickr.
    Flickr publishes an API for rummaging through photos, extracting metadata, and so on. So what I'd like to do is develop a tool that periodically looks at my photos on Flickr, compares the keywords it finds there with the keywords in Lightroom, and synchronises them. The Flickr side of that is fairly easy, but the Lightroom side doesn't appear to be documented.

    Hi Birla,
    try this:
    IResource res = ResourceFactory.getInstance().getResource(path,context);
    IPropertyName propName = new PropertyName("http://ars.com/xmlns/cm","Region");
    java.util.List values = new List();
    values.add("Asia");
    values.add("America");
    values.add("Muenster, Germany");
    IProperty property = new Property(propName, PropertyType.STRING, values);
    res.setProperty(property);
    Best regards,
    Michael

  • API FOR READING MICROSOFT WORD DOCUMENT FILE

    HELLO
    I need to know are there any api's to read a word document i.e a .doc file into a java program. If there r api where can i find them & how can i use them

    For Reading PDF documents, you can use PDFBox, for reading word documents, Apache's POI . But POI supports only Excel right now, Word will soon be supported

  • Installing Multimedia.api for Reader X

    I just downloaded Reader X from 9 and now there is no plugin for mutimedia.api.  How do I get this plug in?  Thanks Robert

    Legacy multimedia (sound and video not created using the Acrobat 9 or Acrobat X Flash-based tools) is potentially dangerous as it can be used to deploy malware. Legacy playback features are no longer trusted by default, so the plugin is not shown. If you open PDFs that contain  legacy multimedia will see the yellow Document Message Bar promoting you for a change in trust settings, though we advise people not to do so unless they are totally confident in the authenticity of the PDF.

  • Java API for reading/writing word/excell file

    Hello Friends,
    Is there any Java API available for Microsoft word and excell product?

    Hi,
    Start your search here
    http://jakarta.apache.org/poi

  • Alternative APIs for reading Zip files?

    Hi all.
    At the moment, our application handles zip files by copying the zip file to the temp directory and then creating a new ZipFile. However, the larger the zip file we encounter, the slower this copy becomes. We also need random access to the Zip file, so the usual workaround of using ZipInputStream is also slow, although slightly faster for random access than copying the entire file.
    I raised a bug requesting a better constructor for ZipFile, but it was turned down as they seemed to think I didn't want random access.
    But does anyone know of any alternative APIs which can access Zip files in a more random access fashion? I've discovered a few other alternative implementations of ZipFile, but all of them so far have had this issue of requiring a File.

    intensive. I am basically searching through zip
    files to find a file and then taking that inputstream
    for processing. I am basically looping through the
    zip file until i match the filename....pretty crazy.I think it is pretty I/O intensive...hence slower
    to see what I can do to increase performance. I am
    using the following parameters:
    -Xms512m -Xmx1024M -Xss16M -XX:ThreadStackSize=256
    -XX:MaxPermSize=256m
    Parameters look ok. I am not sure what -XX:ThreadStackSize will do as -Xss also sets the stack size? you can also try to pass -server and keep both Xms and Xmx to 1024 and see if it brings any improvement.
    -BJ

  • File Adapter Write: Howto read partnerLinkBinding "logical path"-property?

    A process writes a file to a fileserver, and further down the process I'd like to publish the path+filename of the written file to an external partnerLink.
    I'm looking for something similar to ora:getPreference(), but instead reading a spesific partnerLinkBinding property not just the preferences-section property of bpel.xml.
    alternative 1) From within the BPEL-process I configure a logical path, but I can't see any api for reading that value (my property "OutBoundFiles").
    The value is read and used by the jca:operation within the FileWriter, and I supply a static value for it in the bpel.xml, like in:
    <partnerLinkBinding name="OutboundFileWriter">
    <property name="wsdlLocation">FileWriter.wsdl</property>
    <property name="OutBoundFiles">\\fileserver\OutboundDir</property>
    </partnerLinkBinding>
    alternative 2) The FileWriter wsdl OutboundHeader_msg has the one-and-only element "fileName", which also contains what I'm looking for.
    But I can't see how to read this element either, probably because the BPEL-team don't expose the value, due to the fact that they don't support writing to the element (there is no support for writing files to a dynamic path in version 10.1.2).
    Current workaround:
    Currently I use a preference property in which I copy the "OutBoundFiles"-value, and read it runtime using ora:getPreference(). Not a beauty.

    alternative 3)
    One could use a simple copy rule, by reading the bpel.xml-file:
    <copy>
    <from expression="ora:doc( 'bpel.xml', '/BPELSuitcase/BPELProcess/partnerLinkBindings/partnerLinkBinding[ @name = &quot;OutboundFileWriter&quot; ]/property[ @name = &quot;OutBoundFbFiles&quot; ]') "/>
    <to variable="emailpayloadUNCPath"/>
    </copy>

  • Most popular api for modifying excel spreadsheets?

    I googled a bit and it seems like POI and jexcel are the most popular ? I'm interested in hearing your opinions... I've tried POI and I find it OK, but I wish I had more features like copying a row and "pasting/inserting" it into another row and copying formulas and having it modified as you "paste" it to another cell.
    edit:
    scratch jexcel off the list... it's not free :(
    Message was edited by:
    lapchern

    hi,
    POI is best
    The most popular API for manipulating Excel files is Apache POI (http://jakarta.apache.org/poi). This is an API for reading office-documents in general. For reading Excel there is the hssf subproject (http://jakarta.apache.org/poi/hssf). They also have a list of alternative projects that can be used for accessing Excel files (http://jakarta.apache.org/poi/hssf/alternatives.html)
    You can also read in the excel file through the jexcel api (http://www.andykhan.com/jexcelapi/)
    once you can read in the entire excel file into java, you can create your own Java object structure and go from there.
    some other
    http://www.download3k.com/Web-Authoring/Java-JavaScript-Editors/Download-SpreadsheetConverter-to-Java-JSP.html

  • Essbase: Api for Rules File

    Hi all,Is there any Api available (In Java, C or VB) to find out the SQL that was given as the data source input to a Data Load Rules File.I want know any workaround available to obtain the SQL from Rules file.Any help will be greatly appreciated.Thanks.

    There do not believe there is any published API for reading rules files (including the Java API, C API and VB APIs).Tim TowApplied OLAP, Inc

  • Javascript won't work - JavaScript for Reader Mobile API Reference (Android)

    I have created a Form with the new Adobe Acrobat Pro DC (trial version).
    The Javascript code just won't work on a mobile phone.
    Doc - JavaScript for Reader Mobile API Reference (Android this shows that what I want to do is supported.
    But not even the simplest command will work on my phone. (I am using Adobe Acrobat DC - PDF reader for Android)
    Any suggestions of what I could be doing wrong?
    Best,
    Menno

    A Doc.getField() should work.. Try small steps: Create a document with two fields (e.g. Text1 and Text2), then create a custom calculation script for Text2 that uses the following code:
    event.value = this.getField("Text1").value;
    Does this copy the data you enter in Text1 to Text2?
    Then, add a third field ("Text3") and a button with the following MouseUp JavaScript action:
    this.getField("Text3").value = this.getField("Text1").value;
    Does this work? It actually works for me. To save you some work, here is a link to the test file I've used: http://khkonsulting.com/files/AUC/AndroidTest.pdf

  • Adapter module to read excel file -java code required for PI 7.1

    Hi PI experts,
    I am working on PI 7.1 SP 08.
    I am trying to develope an adapter module to read excel file
    http://wiki.sdn.sap.com/wiki/display/ABAP/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns
    but here in this wiki , given java code is for pi 7.0 and it is using jar file from PI 7.0
    I tried with using corresponding PI 7.1 files
    com.sap.aii.af.lib.mod.jar:
    sap.comtcloggingjavaimpl.jar:
    com.sap.aii.af.svc_api.jar:
    com.sap.aii.af.cpa.svc_api.jar:
    com.sap.aii.af.ms.ifc_api.jar:
    jave program is not throwing any error in NWDS but After deploying file on server.
    i am getting this errot in communication channel
    2009-12-15 15:47:08 Information AO: Now calling the Convert Method to convert Excel to XML.
    2009-12-15 15:47:08 Error MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    since i am not a JAVA expert so i am unable to resolve this error
    if some one has already deployed this module for PI 7.1, then please provide me java code for PI 7.1
    Thanks
    sandeep sharma

    hi,
    please try this:
    obj = inputModuleData.getPrincipalData();
    msg = (Message) obj;
    amk = new MessageKey(msg.getMessageId(),msg.getMessageDirection());
    XMLPayload xpld = msg.getDocument();
    Workbook wb = Workbook.getWorkbook((InputStream) xpld.getInputStream());
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:"msgType" ""xmlns:ns0=\""nameSpace+"\">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++)
    xmldata = xmldata+"<Record>";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++)
    xmldata = xmldata"<"cellNames<i>.getContents()">"cells<i>.getContents()"</"cellNames<i>.getContents()+">";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata"</ns0:"msgType+">"; 
    wb.close();
    byte byt[] = xmldata.getBytes();
    xpld.setContent(byt);
    inputModuleData.setPrincipalData(msg);
    Thanks,
    Mayank

  • Using the file protocol to read a URL from a DataSocket Link (DSL) file

    Hey people,
    The text of the message subject is almost directly lifted from the
    LabVIEW help file. I'm currently a DataSocket server for communication
    between a laptop and a Compact FieldPoint unit. My application is
    currently functioning, but I'm searching for a way to easily change the
    IP of the server without having to recompile the VI into a startup.exe
    file.
    The help file says it is possible to create a file (.dsl extension)
    which contains the URL of the server, with the following format:-
    [InternetShortcut]
    URL=dstp://servername.com/tag
    I have created such a file, but the help file refers to reading the URL
    from the DSL file directly, which I'm not sure how to do. The examples
    use hard-coded strings as their reference URLs, so no help there, and
    as far as I can see the question has not been raised before on these
    boards.
    I am aware that I could probably use the File Open vis and manually
    read the information contained within the file, but then it wouldn't
    make sense to rename it to .dsl or to have any other text other than
    the URL contained within.
    Thanks for your replies.

    Hey Lost And Found,
    There is actually a great example on using .dsl files with DataSocket.  You can append "file:" to the beginning of the path of your .dsl file, and wire it directly into the "connection in" pin of the DS Read.  Check out the example here: http://digital.ni.com/public.nsf/websearch/FCC19AF27EFED9A5862569A500709C58?OpenDocument.  I think that it will provide everything you need and if not, just ask.
    Hope this helps!
    Megan B.
    National Instruments

Maybe you are looking for

  • Printing no longer works

    Hi, One of the G5 Macs that I look after had an issue with its filesystem, it brought the system down and so I had to start over again. To make things easier I cloned the disc to an external firewire drive, reformatted the computer's drive and reinst

  • How do I stop getting prompted about setting up or choosing a persona?

    I am setting up a computer system for my parents. They have very little experience of using computers, so I want everything to be as simple and predictable as possible. I want it to work (more or less) the same every time they switch it on. Things li

  • Changing images wrt to user link selection

    Hello, I am looking for the cleanest and quickest way to create a link that switches images in a specific location in a table. For example, I want the user to select a link and then a chart associated with the link is displayed. Any thoughts on the b

  • What does THIS pop-up mean?

    ========== Keychain Not Found A Keychain Cannot be found to store "Safari" Cancel Reset to Defaults (the two choices ) =================== I clicked "reset to defaults" and it said "are you sure you want to reset defaults) I said no LOL I'm afraid to

  • Mac not able to command Printer - Printer is able to command Mac

    The Mac cannot command the HP printer to print. Print is somehow not able to work by either clicking " print " or using file/print while in iphoto8 or any program for that matter. The Mac will recieve into iphoto a scanned image from the HP printer b