ISA FRAMEWORK API & JAVA SOURCES

Hello Experts,
I'm new to SAP CRM as Java Portal Developer.
Can you please help me find the Java API for SAP CRM ISA (Internet Sales)?
And also I would be glad if you could help me find the source code of ISA.
I already search but can't find it exactly.
Thank you very much in advance.
Jemaru

Hi Jemaru,
Follow below steps.
1) Log in to service market place.
2) Click on "Download" Tab
3) On Left side click on SAP Software Distribution Center -->Download > Support Packages and Patches> Entry By Application Group.
4) On Right side. Support Packages and Patches>SAP Application Components> SAP CRM> SAP CRM 2007> Entry by Component--> CRM Application Server Java
5) Click on "SAP SHARED JAVA COMPONENTS"
6) From Below screen click on "Download" tab and Download "SAPSHRJAVxx_x-xxxxxxxx.SCA" file.
7) Open "SAPSHRJAVxx_x-xxxxxxxx.SCA" file by "WINRAR" and unzip on your local laptop.
8) After unzip you will get several zip files under folder "BUILDARCHIVES"
9) Find "crmshrjavadoc" file inside folder "BUILDARCHIVES"
10) Unzip "crmshrjavadoc" file and you will get "javadoc.ppa" file
11) Rename "Javadoc.ppa" file to "Javadoc.zip"
12) Unzip "Javadoc.zip" file which we just rename in step 11.
13) you will get folder "Docs". This folder contain actual "javadoc.zip" file
14) Unzip above file and you will get Java API Documents for ISA 5.0 or ISA 6.0 or ISA 7.0 depends on "SAPSHRJAVxx_x-xxxxxxxx.SCA" version and SP level.
I just got ISA Java Doc by following above steps. It looks 14 step but once you download SCA file it will take only 2-3 minutes.
I am sure you will get Standard Java API for ISA just like ISA 4.0
Please let me know if you face any problem.
Also Visit this [ECmmerce 6.0 Java API needed|ECmmerce 6.0 Java API needed;
Let me know if you face any error or problem.
Regards.
Ecommerce Developer.

Similar Messages

  • ISA Framework: java.lang.StackOverflowError

    Hi
    When i search for product it shows me  5 products per page Now I say click on NEXT some time it show or otherwise displays error in CRM5.0 ISA B2B "ISA Framework: java.lang.StackOverflowError"
    Details:   No details available
    Give me suggition to resolve this issud

    Thanks for your response slava,
        In CBS  using IBM JRE 1.4.2.  with UNIX based environment for deploying or running the application , so there is no chance to build the application in CBS server, Remotely there is a server which is deploy the application.
       In NWDS we traid to use Sun jdk1.5.0_15 , jdk 1.4.2.12 and even with IBM 1.4.2 select as compliance level 1.4 but we are unable to solve our problem, so we are deploying the application in remote server, its giving successful deployment, but while running though portal link its giving below mentioned error.
    ISA Framework: java.lang.UnsupportedClassVersionError: (com/sap/wfm/action/Logon) bad major version at offset=6
      Here we using struts framework "STRUTS01_0-10003646.SCA" SCA file.
    Here my point is.....In CBS we are not build the application, and its only mentioned for deploy the applicaton, so where you need "JDK version used by CBS for build is different from the JDK version in the runtime" and moreover this CBS server is central server which is depend for multiple application, so we are unable to change the JRE version, if we change it will effect multiple applications.
    We got only  SCA file in CD and deployed in server its working, but while accessing through NWDS its getting problem, If it is JDK version problem why it is running, even its in IBM JRE 1.4.2 and developed application is in sun jdk 1.5.
      Give me the clear clarificaction where we need to change.
    Is only jdk verson problem ?
    or any SCA file version problem.
    or any configuration setting in server side.
    where we exactly lack in , Not provided proper version information to create a track ? or Not proparly configured the application in server with exact versions or what ?.
       Could you please clarify us, its very critical, waiting for your valuable reply...
    Thanks in advance.
    Gopi Naidu. B

  • Getting all the members (variables, methods AND method bodies) of a java source file

    For a project I want to programmatically get access to the members of java source file (member variables, methods etc) as well as to the source code of those members. My question is what is the best method for this? So far I have found the following methods:
    Use AST's provided by the Java Source API and Java Tree API, as discussed in the following posts:
    http://today.java.net/pub/a/today/2008/04/10/source-code-analysis-using-java-6-compiler-apis.html
    http://weblogs.java.net/blog/timboudreau/archive/2008/02/see_java_code_t.html
    http://netbeans.dzone.com/announcements/new-class-visualization-module
    This has the disadvantage that the classes actually have to be compilable. When I look at the Netbeans Navigator view however, it provides me with a nicely formatted UI list, regardless of the "compilable" state of the class.
    Thus I started looking at how to do this... The answer appears to be through the use of tools such as JavaCC: https://javacc.dev.java.net/
    ANTLR: http://www.antlr.org/
    which are lexers and parsers of source code. However, since the Navigator panel already does this, couldn't I use part of this code to get me the list of variables and methods in a source file? Does the Navigator API help in this regard?
    Another route seems to be through tools such as
    BeautyJ: http://beautyj.berlios.de/
    which run on top of JavaCC if I am correct, and which has the ability to provide a clean view on your java code (or an XML view). However, BeautyJ does not seem to be too actively developed, and is only j2se1.4 compatible.
    I hope someone can shed a light on the best way to go about what I want to achieve. Somebody already doing this?
    (I crossposted on the Netbeans forums too, hope this is OK...)

    I'm currently developing a LaTeX editor(MDI) and I do the same thing, but I don't know what exactly do you need.

  • How to read the Java source code (in Netbeans)

    I use OS X10.5.5, NetBeans 6.1 and JSE 6 on a 64 bit mac.
    When I downloaded NB6.1 it had JSE 5 as it's default (and only) java platform. I ran Software Update to get Java 6 from Apple, used the Java Prefrences utitlity to set JSE6 as default. In NB I added the JDK6 platform, registered the JDK6 javadocs and noticed that I also have the option of registering the Java source code.
    I have three questions:
    1) How do I make JDK6 the default in NetBeans. The JDK5 keeps being default after I did the steps above and I don't see anywhere to change that.
    2) How do I read the Java 6 source code? I can see sun provides [source code| http://download.java.net/jdk6/] for their supported platforms. I dont see Apple doing the same for its JDK port. What would I need to do to get to read the java SE6 sources? or is it actually hiding somewhere in the /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home hierarchy?
    3) Where does the JVM look for the binary code to run when I make a call to, say java.util.ArrayList or any other library. In my naivety I would have assumed it would be a .class file somewhere in the java Home folder, but I don't see anything like it.
    thanks in advance,
    chris

    This is taken from the help included with netbeans. In response to question 1.
    By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform
    for compilation, execution, and debugging. You can view your IDE's JDK version by choosing Help > About and clicking the
    Detail tab. The JDK version is listed in the Java field.
    You can run the IDE with a different JDK version by starting the IDE with the --jdkhome jdk-home-dir switch on the command line
    or in your IDE-HOME/etc/netbeans.conf file. For more information, see IDE Startup Parameters.
    In the IDE, you can register multiple Java platforms and attach Javadoc and source code to each platform. For example, if you
    want to work with the new features introduced in JDK 5.0, you would either run the IDE on JDK 5.0 or register JDK 5.0 as a
    platform and attach the source code and Javadoc to the platform.
    In  , you can switch the target JDK in the Project Properties dialog box. In  , you have to set the target JDK in the Ant script itself,
    then specify the source/binary format in the Project Properties dialog box.
    To register a new Java platform:
    Choose Tools > Java Platforms from the main window.
    Click New Platform and select the directory that contains the Java platform. Java platform directories are marked with a  
    in the file chooser.
    Use the Sources and Javadoc tabs to attach Javadoc documentation and source code for debugging to the platform.
    Click Close.
    To set the default Java platform for a standard project:
    Right-click the project's root node in the Projects window and choose Properties.
    In the Project Properties dialog box, select the Libraries node in the left pane.
    Choose the desired Java platform in the Java Platform combo box.
    Switching the target JDK for a standard project does the following:
    Offers the new target JDK's classes for code completion.
    If available, displays the target JDK's source code and Javadoc documentation.
    Uses the target JDK's executables (javac and java) to compile and execute your application.
    Compiles your source code against the target JDK's libraries.
    If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
    Then click the Add Platform button and navigate to the desired platform.
    To set the target Java platform for a free-form project:
    In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.
    Right-click the project's root node in the Projects window and choose Properties.
    In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.
    When you access Javadoc or source code for JDK classes, the IDE searches the Java platforms registered in the
    Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead.
    See Also
    Managing the Classpath
    Declaring the Classpath in a Free-Form Project
    Stepping Through Your Program
    Legal Notices

  • How to get Java source in applet stack trace to debug Java security manager

    How can I get line numbers for Java source in stack traces for my applet? I'm having a problem with my code-signing certificate. On one of my applets, I consistently get a NullPointerException inside the security dialog code in the JDK. As a result, either the "trust this applet" dialog never appears, or even though it appears, it defaults to untrusted because of the exception, so I can't access any local files (and that's a bit of a problem for an applet whose sole purpose is to upload files to our server). I unzipped src.zip in my JDK directory and set the debug flag for my Ant <javac> task as well as set debuglevel to "lines." Anything else? Here's the trace that I'm getting so far. See that after the NullPointerException it assumes that the user has denied permission. If I could read this Java source maybe I could figure out why it hates my code-signing certificate (jarsigner, BTW, never complains when I verify my jar).
    security: Blacklist file not found or revocation check is disabled
    security: Accessing keys and certificate in Mozilla user profile: null
    security: Loading Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    security: Loaded Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA has been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: Start checking trusted extension for this certificate
    security: Start comparing to jurisdiction list with this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    java.lang.NullPointerException
         at com.sun.deploy.ui.UIFactory.showSecurityDialog(Unknown Source)
         at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
         at com.sun.deploy.security.X509Util.showSecurityDialog(Unknown Source)
         at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.getTrustedCodeSources(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$700(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    security: User has denied the priviledges to the code
    security: Adding certificate in Deployment denied certificate store
    security: Added certificate in Deployment denied certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA has been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: Start checking trusted extension for this certificate
    security: Start comparing to jurisdiction list with this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment denied certificate store

    Rats, now that I look at the stack trace and compare to what's in the JDK srce.zip, it appears that most of this code is not part of the JDK source. I don't see any com/sun/deploy, etc.

  • Problem with creating JAVA Source. please help

    Dear all
    how are you.
    In fact I have made a simple java class that return a string which represents the screen size . for example 800/600 or 1024/768 or others
    but I face error ORA-29541 class string.string could not be resolved
    This what i made
    first i created my JAVA Source
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "ScreenProperty" AS
    import java.lang.Object;
    import java.awt.*;
    public class ScreenProperty
    int w;
    int h;
    public static String getScreenSize()
    w = Toolkit.getDefaultToolkit().getScreenSize().width;
    h = Toolkit.getDefaultToolkit().getScreenSize().height;
    return w+"/"+h;
    SQL>Operation 160 succeeded.
    this means the the java source created successfuly
    and I'm sure that my java code is correct
    then i created a fuction to call this java source as fellow
    SQL> create or replace function f_get_screen_size
    return varchar2
    as language java
    name 'ScreenProperty.getScreenSize() return java.lang.String';
    Function created.
    the I Issued this sql statement to return the result that should be varchar2 that represent the sceen size(1024/768)
    SQL> select f_get_screen_size from dual;
    ORA-29541 class string.string could not be resolved.
    I do not know what is the reason for this error
    and when i searched the documentation for this error i found
    ORA-29541 class string.string could not be resolved
    Cause: An attempt was made to execute a method in a Java class that had not been previously and cannot now be compiled or resolved successfully.
    Action: Adjust the call or make the class resolvable
    I need to know what is the problem.
    And is there another way to load this class other than making JAVA SOURCE
    please help

    before drawing hands of clock you could fill a circle/oval with certain color, then you'd have that kind of circle that has been filled as backgound.
    you may change those dots to be small lines for 12, 3, 6 and 6 o'clock and then have small dots represent 1, 2, 4, 5, 7, 8, 10 and 11 o'clock
    anyhow, you should study that code and see how you can modify it whitout breaking it but having it look different.
    better yet would be trying to understand how it works, what any line there means and then recreate your own... this way you would learn more....
    and if there are some methods or anything you don't understand, then look them up from API documentation
    good luck.

  • Access Java Proposals for a java source code programmatically

    Hi,
    Problem
    Programmatically get java proposals for a java source code (not byte code) via eclipse bundle
    Description
    I am developing one eclipse osgi bundle to correct java source code automatically. I am running osgi bundle inside eclipse itself [Version: Mars Release (4.5.0)]. I am able to get java project object and a class object inside it which I want to correct. Every time I try to collect java code proposals as I put one test file which can be corrected (like duplicate imports), I receive below error:
    Java code line
    JavaCorrectionProcessor.collectCorrections(context, new IProblemLocation[] { problem }, proposals);
    Error description
    !ENTRY org.eclipse.jdt.ui 4 2 2015-07-27 18:57:09.196
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
    !STACK 0
    java.lang.IllegalStateException: Workbench has not been created yet.
    at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:93)
    at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.install(ASTProvider.java:236)
    at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.<init>(ASTProvider.java:227)
    at org.eclipse.jdt.internal.ui.JavaPlugin.getASTProvider(JavaPlugin.java:741)
    at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:128)
    at org.eclipse.jdt.internal.ui.text.correction.AssistContext.getASTRoot(AssistContext.java:119)
    at org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.addUnusedMemberProposal(LocalCorrectionsSubProcessor.java:669)
    at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.process(QuickFixProcessor.java:530)
    at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.getCorrections(QuickFixProcessor.java:316)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionCollector.safeRun(JavaCorrectionProcessor.java:378)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.run(JavaCorrectionProcessor.java:339)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.process(JavaCorrectionProcessor.java:335)
    at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectCorrections(JavaCorrectionProcessor.java:468)

    Any code from org.eclipse.jdt.ui (or the non-API code in org.eclipse.jdt.internal.ui) is likely to require a running workbench. Only the code from org.eclipse.jdt.core is guaranteed to work headlessly.

  • Java sources for ui components, specially renderers

    Hello,
    I'm kind of lost in the Java Studio Creator libraries.
    In order to understand components functionality I need to see java sources.
    However, as I see, the included sources are not complete.
    E.g. they have
    com.sun.rave.web.ui.component package sources,
    but do not have
    com.sun.rave.web.ui.component.renderer - which is most interesting for me
    Where can I find complete sources?
    Also about versions. This Rave2.0 version is based on what jsf version? I can only guess that it's jsf1.1, is it correct?

    Java Studio Creator is free but not open source. We may be headed that way, but for now, what you see is what's available for examining source. You might find "API Specifications" helpful at http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/apis/
    Yes, Creator 2 is based on JSF 1.1.

  • Parsing Java Source Code

    HI!
    I am searching for an API to parse java source code, modify it (add new methods, change method names,....) and write it to a new file.
    any suggestions?
    mfg
    MK

    there is no such Java API

  • ADF not support Credential Store Framework API

    I have used Credential Store Framework API for securing the websevice. By using servlet and csf api i am able to access the web logic credential store but when i change my servlet code to adf managbean code there is access voilation error.
    java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=Elsevier,
    keyName=WebServices read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
    at
    During the configurzation of credential store i have done one entry in system-jazn-data.xml (present here domain_home\config\fmwconfig). Hence the below permissions were added:
    <grant>
         <grantee>
         <codesource>
         <url>file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/CredentialsStorePOC/-</url>
         </codesource>
         </grantee>
         <permissions>
         <permission>
         <class>oracle.security.jps.service.credstore.CredentialAccessPermission</class>
         <name>context=SYSTEM,mapName=Elsevier,keyName=WebServices</name>
         <actions>read,write,update,delete</actions>
         </permission>
         </permissions>
         </grant>
    My Doubt
    <url>file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/CredentialsStorePOC/-</url>
    might be differnent for ADF application as it working fine for servlet appliction
    REF:http://download.oracle.com/docs/cd/E15523_01/core.1111/e10043/devcsf.htm#BABEADIA

    You should refer to the latest documentation:
    http://download.oracle.com/docs/cd/E17904_01/core.1111/e10043/toc.htm
    Did you read the packaging requirements?
    Your cwallet.sso must be packaged in the META-INF of your EAR file (see http://download.oracle.com/docs/cd/E17904_01/core.1111/e10043/scenario.htm#CHDIGIDG)
    The chapter you are referring to is now chapter 23 (http://download.oracle.com/docs/cd/E17904_01/core.1111/e10043/devcsf.htm#BABEADIA).
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • DI API Java Connector

    Hello,
    Je recherche des exemples d'utilisation de l'API Java avec SAP Business One. En effet, les exemples fournis en VB.Net fonctionne correcteement, par contre, je n'arrive pas à effectuer une connexion en Java.
    Help me please !
    A+

    Hello Laurent,
    here's a bit of source code that should work; I hope it helps!
    Sorry, but it would take too long to reply in French
    Frank
    private ICompany m_cmp;
    int rc = 0;
    try
    // initializing the company object                 
      m_cmp = SBOCOMUtil.newCompany();
      m_cmp.setUseTrusted(false);// just as a sample
      m_cmp.setLanguage(SBOCOMConstants.BoSuppLangs_ln_English);
      m_cmp.setUserName("manager");
      m_cmp.setPassword("manager");
      m_cmp.setDBUserName("sa");
      m_cmp.setDBPassword("");
      m_cmp.setCompanyDB("SBODemo_US");
      m_cmp.setServer("(local)");
      rc = m_cmp.connect();
      if(rc == 0)
      else

  • How do I change Transfer Syntax for DICOM images using sample Java sources?

    Hi,
    I tested using Note:876534.1 Java API samples. It works fine when I put the "Implicit VR Little Endian" DICOM file.
    I could insert the DICOM file, also I could get the all DICOM tags correctly by SQL.
    But I could not get all DICOM tags when inserted "Explicit VR Little Endian" and "JPEG Lossy" DICOM file.
    Also I could not find how to change the Transfer Syntax to orddicom Java API.
    How do I change following simple java source for inserting different Transfer Syntax DICOM file?
    Connection conn = DriverManager.getConnection(args[0], args[1], args[2]);
    System.out.println("Got database connection");
    conn.setAutoCommit(false);
    Statement stmt = conn.createStatement();
    CallableStatement cs = null;
    cs = conn.prepareCall("begin ord_dicom.setDataModel(); end; ");
    cs.execute();
    cs.close();
    String rowInsertSQL = "insert into dicom_test (id, dcmobj) values (" + args[3] + ",ordsys.orddicom())";
    stmt.execute(rowInsertSQL);
    System.out.println("Inserted empty dicom object ...");
    String rowSelectSQL = "select dcmobj from dicom_test where id = " + args[3] + " for update";
    OracleResultSet rset = (OracleResultSet)stmt.executeQuery(rowSelectSQL);
    rset.next();
    OrdDicom dcmProxy = (OrdDicom)rset.getORAData("dcmobj", OrdDicom.getORADataFactory());
    rset.close();
    System.out.println("selected row for update...");
    File testFile = new File(args[4]);
    boolean success = dcmProxy.loadContent(testFile, true);
    dcmProxy.setProperties();
    if (success) {            
    String updateSQL = "update dicom_test set dcmobj=? where id=" + args[3];
    OraclePreparedStatement opstmt =
    (OraclePreparedStatement)conn.prepareStatement(updateSQL);
    opstmt.setORAData(1, dcmProxy);
    opstmt.execute();
    int contentLength = dcmProxy.getContentLength();
    String SOPInstanceUID = dcmProxy.getSOPInstanceUid();
    System.out.println("contentLength: " + contentLength);
    System.out.println("SOPInstanceUID: " + SOPInstanceUID);
    opstmt.close();
    Thanks,
    Tatsuya
    Edited by: user13490925 on 2011/01/31 1:48

    It would go like this
    1. TIFF + XML metadata => DICOM image file
    you can use the method ord_dicom.createDicomImage(src blob, metadata xmltype, dest blob) to create the DICOM image in a blob.
    2, then use the ORDDicom constructor ORDDIcom(data blob) to create an ORDDicom object
    3. then use the ORDDicom processCopy method to change the image properties.
    Alternatively you can change image properties on the input TIFF image (using ORDImage methods) then create the DICOM image. If you are happy with the image properties then you can skip step 3.
    Edited by: rabbott on Jun 22, 2009 12:41 PM

  • Licensing Framework for Java

    Hello,
    does anyone know where one can find a freely distributed licensing framework for java applications, or suggest any solution to unblock certain functionalities only for the users provided with a licence? (talking of experimental software that I developed, not minded for commerce at present status) .

    there are some java libraries that are free for non
    commercial use but require to purchase a license for
    commercial applications.yes there is. This is true also of non java software.
    There is also the GPL (GNU public license) which allows you to distribute the code, but only in an open source way.
    My question is : what if some one use this library in
    commercial app without purchasing licence ? how can
    the owner of the librairy control the use of his
    work. and if you use it for commercial purposes what
    will happen ?Then you have a lawsuit. The damaged party may seek compensation and potentially damages from the license violator. The license owner may also seek an injunction

  • Roles of a CRM user in ISA FrameWork

    Hello,
    How do I get the roles of a CRM user in ISA FrameWork ?
    Thanks & Regards

    Hi,
    I want to retrieve the CRM user's role in a JAVA Class (ISA FrameWork). How to do it ?
    Thanks & Regards

  • Any way to search for casts in java source code?

    Anyone know of a decent way to search your java source files to find all the casts?
    I ended up doing a simple text search for
         " = ("(quote marks not included) which works for my code because I am strict about writing my casts with spaces like
         String s = (String) iterator.next();Unfortunately, the above search has all kinds of problems with both false positives and negatives. It picks up lots of irrelevant lines like
         int index = (number > 0) ? 0 : 1;as well as misses casts that appear nested inside expressions like
         ((String) iter.next()).charAt(...)I suppose that one could do a regular expression search for any pair of open and close parens which bound non-blank text, but that would pick up even more non-cast expressions in typical java code.
    I think that the only way to properly do this is to have a tool which understands java syntax.
    Anyone know of an IDE which will do this? Does IntelliJ or Netbeans support this kind of search?
    In case you are wondering why I am interested in this, it is because I am refactoring some code to fully use generics, and searching for casts is one source of identifying candidates for genericity.

    cliffblob wrote:
    Better late than never?Yes!
    cliffblob wrote:
    ...The answer I found to ID unnecessary casts was, using Eclipse IDE, In compiler error and warning preferences to warn on unnecessary casts.Thanks for pointing IDEs out. I just opened IntelliJ, and going back to at least version 7.04 (maybe earlier) they have an inspection for "Redundant type cast".
    cliffblob wrote:
    I would still be interested to know if there is a way to identify casts in general in your source, perhaps now four years later there is a way?The only solutions that I can think of are either a complicated regex search, or you must use some tool like an IDE that understand Java syntax and can determine if a cast is happening.

Maybe you are looking for

  • Unable to capture the Idle time for BSP page

    Hi Experts, I want to capture the Idle time of my BSP page. If that is 5 mins then i have to display the pop up displaying the remaining time. Please let me know how to capture the IDLE TIME. not the time after the page is loaded. Any suggestion will

  • Yet another CD burn error (4280)

    It seems that the 4280 problem is fairly common. In my case, ever since Itunes was updated, I've had problems with trying to burn CDs. It would always stop and then say "unknown error-4280". I tried solutions that others have used, but it doesn't see

  • DVI-I or DVI-D?

    Greetings all. I have read posts in this forum suggesting that the DVI to ADC adapter has a DVI-D plug on it, meaning that I could plug my Mini-DVI to DVI adapter straight into it. However, on the Apple Store, the product is thus described: "DVI-I to

  • OWM and Training

    Is there any OWM Oracle University training (couldn't find any)? I ask this because the only "official" training I have had is what is tacked onto the Oracle Spatial class, but I really need something more for both myself (lead db developer) and our

  • Files I download through Firefox delete themselves

    Twice now I have downloaded files to work on through firefox. The first time I downloaded an excel file, worked on it for several hours, saved, and then found it was completely erased from my hard drive with no record that such a file existed. The se