How to use "keytool" generated certificates in B2B

Hi,
I have generated few certificate stores(files containing private key and trust certificate) in ".jks" format and exported client certificate from them in ".der" format using "keytool" commands in java. Now I want to use them for SSL authentication.
Is there any possible way of doing this ?
I tried to open these keystores in Wallet Manager but it did not accept those keystores. Even I tried to create a keystore with name "ewallet.pk12" (in PKCS12 format) but wallet manager did not accept it's password.
Please provide a solution if it exists.
Thanks in advance.
Regards,
Anuj Dwivedi

Hi,
If you are generating key/certficates may be you could make the "keytool" to generate the keystore in PKCS12 format. This format can be opened using Oracle Wallet Manager. Here's the command,
keytool -genkey -keyalg "RSA" -keystore ewallet.p12 -storepass welcome1 -storetype PKCS12
The above command would create a wallet in the current directory and the same can be opened in the "Oracle wallet manager".
Other Approach:
If you want to export just certificates alone from "JKS" format keystore and add it to the ewallet.p12 as an trusted entry, you can very well do that.
One thing note here, make sure keys are generated using algorithm "RSA". Sample commands below,
1. keytool -genkey -keyalg RSA -keystore test.jks
2. keytool -export -file test.crt -keystore test.jks
3. You could import the certifcate "test.crt" created in the previous step to ewallet.p12 using "Oracle wallet manager".
Regards,
Sinkar
[From Ramesh Team]

Similar Messages

  • How to use self-signed certificate to verify others certificate?

    the self-signed certificate and keys acts as CA like VeriSign
    alias =SelfSignCA
    keystore = SelfSignLib
    certificate = SelfSign.cer
    certificate to be verify
    alias = companyCA
    certificate = companyLib
    csr file = company.csr
    how to use keytool to verify/sign the company certificate?thank you.

    Well, this might not be much help, but for 10g, on AIX, docID 1171558.1 describes how to create a new certificate.
    Not sure how relevant it will be for 11g, sorry :(

  • How to use self-signed Certificate or No-Check-Certificate in Browser ?

    Folks,
    Hello. I am running Oracle Database 11gR1 with Operaing System Oracle Linux 5. But Enterprise Manager Console cannot display in Browser. I do it in this way:
    [user@localhost bin]$ ./emctl start dbconsole
    The command returns the output:
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ... ...
    I open the link https://localhost.localdomain:1158/em/console/aboutApplication in browser, this message comes up:
    The connection to localhost.localdomain: 1158 cannot be established.
    [user@localhost bin]$ ./emctl status dbconsole
    The command returns this message: not running.
    [user@localhost bin]$ wget https://localhost.localdomain:1158/em
    The command returns the output:
    10:48:08 https://localhost.localdomain:1158/em
    Resolving localhost.localdomain... 127.0.0.1
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    ERROR: cannot verify localhost.localdomain's certificate, issued by `/DC=com/C=US/ST=CA/L=EnterpriseManager on localhost.localdomain/O=EnterpriseManager on localhost.localdomain/OU=EnterpriseManager on localhost.localdomain/CN=localhost.localdomain/[email protected]':
    Self-signed certificate encountered.
    To connect to localhost.localdomain insecurely, use `--no-check-certificate'.
    Unable to establish SSL connection.
    A long time ago when I installed Database Server Oracle 11gR1 into my computer, https://localhost.localdomain:1158/em in Browser comes up this message:
    Website certified by an Unknown Authority. Examine Certificate...
    I select Accept this certificate permanently. Then https://localhost.localdomain:1158/em/console/logon/logon in Browser displays successfully.
    But after shut down Operating System Oracle Linux 5 and reopen the OS, https://localhost.localdomain:1158/em/console/logon/logon in Browser returns a blank screen with nothing, and no more message comes up to accept Certificate.
    My browser Mozilla Firefox, dbconsole, and Database Server 11gR1 are in the same physical machine.I have checked Mozilla Firefox in the following way:
    Edit Menu > Preferences > Advanced > Security > View Certificates > Certificate Manager > Web Sites and Authorities
    In web sites tab, there is only one Certificate Name: Enterprise Manager on localhost.localdomain
    In Authorities tab, there are a few names as indicated in the above output of wget.
    My question is: How to use self-signed certificate and no-check-certificate in Mozilla Firefox for EM console to display ?
    Thanks.

    Neither problem nor solution do involve Oracle DB
    root cause of problem & fix is 100% external, detached, & isolated from Oracle DB.
    This thread is OFF TOPIC for this forum.

  • EREC - How to use link generated by application group?

    How to use link generated by application group?

    Hello Vishal,
    You provide the link eg. in a list and candidates just have to click on that if they want to apply.
    Regards
    Nicole

  • How To Use Client Side Certificate to access the SOAP service

    HI,
    I am client side and need to access a remote SOAP server side using a certificate.
    I don't know how to add the certificate in my Java code, although I can get it using X509Certificate. The following is my code.
    Thanks for any help
    public class Dash911 {
    public static void main(String args[]) throws IOException {
    try {
         //I have a Cert class that generate the cert          
    X509Certificate certificate = (new Cert()).getCertificate();
    String targetURI= "http://schemas.ecs.telefinity.com/webservices/postal/";
    String methodName = "FindStreet";
    String encodingStyleURI = Constants.NS_URI_SOAP_ENC;
    Vector params = new Vector();
         String[] names = {"Westcorp", "35805"};
         params.addElement(new Parameter("names", names.getClass(), names, null));
         String endpointURL = "https://prototype.test.telefinity.com/integrationprovisioning/postal.asmx";
         makeCall(targetURI, methodName, encodingStyleURI, null, params, endpointURL);
         } catch (Throwable t) {
         }//main          
    Thanks a lot

    Keystore or Truststore may be rigtht the same file, the matter is how you use it
    at each time: if you need to authenticate yourself (no matter wether you are a
    server or a client), you will have to initiate your SSLcontext with such file
    managed by TrustManager. On the other hand, you just do same but
    indicating your file is shall be managed by a KeyManager.

  • How to use Self Signed certificate with SSLServerSocket?

    Hello to all.
    I'm trying to build a simple client/server system wich uses SSLSocket to exchange data. (JavaSE 6)
    The server must have it's own certificate, clients don't need one.
    I started with this
    http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore
    To generate key for the server and a self signed certificate.
    To sum it up:
         Create a new keystore and self-signed certificate with corresponding public/private keys.
    keytool -genkeypair -alias mytest -keyalg RSA -validity 7 -keystore /scratch/stores/server.jks
         Export and examine the self-signed certificate.
    keytool -export -alias mytest -keystore /scratch/stores/server.jks -rfc -file server.cer
         Import the certificate into a new truststore.
    keytool -import -alias mytest -file server.cer -keystore /scratch/stores/client.jksThen in my server code I do
    System.setProperty("javax.net.ssl.keyStore", "/scratch/stores/server.jks");
    System.setProperty("javax.net.ssl.keyStorePassword", "123456");
    SSLServerSocketFactory sf = sslContext.getServerSocketFactory();
    SSLServerSocket sslServerSocket = (SSLServerSocket)sf.createServerSocket( port );
    Socket s = sslServerSocket.accept();I am basically missing some point because I get a "javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled." when I try to run the server.
    Can it be a problem with the certificate? When using -validity <days> in keytool the certificate gets self-signed, so it should work if I'm not wrong.
    I have also tried this solution
    serverKeyStore = KeyStore.getInstance( "JKS" );
    serverKeyStore.load( new FileInputStream("/scratch/stores/server.jks" ),
         "123456".toCharArray() );
    tmf = TrustManagerFactory.getInstance( "SunX509" );
    tmf.init( serverKeyStore );
    sslContext = SSLContext.getInstance( "TLS" );
    sslContext.init( null, tmf.getTrustManagers(),secureRandom );
    SSLServerSocketFactory sf = sslContext.getServerSocketFactory();
    SSLServerSocket ss = (SSLServerSocket)sf.createServerSocket( port );and still it doesn't work.
    So what am I missing?

    You were right. I corrected the mistakes in the server code, now it's
         private SSLServerSocket setupSSLServerSocket(){
              try {
                   SSLContext sslContext = SSLContext.getInstance( "TLS" );
                   KeyManagerFactory km = KeyManagerFactory.getInstance("SunX509");
                   KeyStore ks = KeyStore.getInstance("JKS");
                   ks.load(new FileInputStream(_KEYSTORE), _KEYSTORE_PASSWORD.toCharArray());
                   km.init(ks, _KEYSTORE_PASSWORD.toCharArray());
                    * Da usare con un truststore se serve autenticazione dei client
                    * TrustManagerFactory tm = TrustManagerFactory.getInstance("SunX509");
                   tm.init(ks);*/
                   sslContext.init(km.getKeyManagers(), null, null);
                   SSLServerSocketFactory f = sslContext.getServerSocketFactory();
                   SSLServerSocket ss = (SSLServerSocket) f.createServerSocket(_PORT);
                   return ss;
              } catch (UnrecoverableKeyException e) {
                   e.printStackTrace();
              } catch (KeyManagementException e) {
                   e.printStackTrace();
              } catch (NoSuchAlgorithmException e) {
                   e.printStackTrace();
              } catch (KeyStoreException e) {
                   e.printStackTrace();
              } catch (CertificateException e) {
                   e.printStackTrace();
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              return null;
         }and on the client code
    private SSLSocket setupSSLClientSocket(){
         try {
              SSLContext sslContext = SSLContext.getInstance( "TLS" );
              /* SERVER
              KeyManagerFactory km = KeyManagerFactory.getInstance("SunX509");
              km.init(ks, _KEYSTORE_PASSWORD.toCharArray());
              KeyStore clientks = KeyStore.getInstance("JKS");
              clientks.load(new FileInputStream(_TRUSTSTORE), _TRUSTSTORE_PASS.toCharArray());
              TrustManagerFactory tm = TrustManagerFactory.getInstance("SunX509");
              tm.init(clientks);
              sslContext.init(null, tm.getTrustManagers(), null);
              SSLSocketFactory f = sslContext.getSocketFactory();
              SSLSocket sslSocket = (SSLSocket) f.createSocket("localhost", _PORT);
              return sslSocket;
         } catch (KeyManagementException e) {
              e.printStackTrace();
         } catch (NoSuchAlgorithmException e) {
              e.printStackTrace();
         } catch (KeyStoreException e) {
              e.printStackTrace();
         } catch (CertificateException e) {
              e.printStackTrace();
         } catch (FileNotFoundException e) {
              e.printStackTrace();
         } catch (IOException e) {
              e.printStackTrace();
         return null;
    }and added a System.out.println(sslSocket); after every incoming message (server side) and SSL is now fully working!
    So my mistakes were:
    [] Incorrect setup done by code
    [] Incorrect and insufficient println() of socket status
    Now that everything works, I've deleted all this manual setup and just use the system properties. (They MUST be set before getting the Factory)
    SERVER SIDE:
    System.setProperty("javax.net.ssl.keyStore", _KEYSTORE);
    System.setProperty("javax.net.ssl.keyStorePassword", KEYSTOREPASSWORD);
    SSLServerSocketFactory f = (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
    SSLServerSocket sslServerSocket = (SSLServerSocket) f.createServerSocket(_PORT);
    CLIENT SIDE:
    System.setProperty("javax.net.ssl.trustStore", "/scratch/stores/client.jks");
    System.setProperty("javax.net.ssl.trustStorePassword", "client");
    SSLSocketFactory f = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket sslSocket = (SSLSocket) f.createSocket(_HOST, _PORT);
    And everything is working as expected. Thank you!
    I hope my code will help someone else in the future.

  • How to use a ".generate" file in JDeveloper 11g ?

    hi
    Using JDeveloper 11g (11.1.1.0.1) I created a Database Diagram and dropped both SCOTT.EMP and SCOTT.DEPT tables on it, creating Offline Database Objects.
    After that I used the "Generate..." option from the right-click menu on the SCOTT Offline Database Source in JDeveloper, to generate a SQL script.
    Step 6 of 6 allowed me to "Save settings for reuse", resulting in a ".generate" file (see GenerateSQLFromDatabaseObjectsStep6Of6.png).
    question
    How should I be able to reuse such a ".generate" file, the right-click menu does not have a "Generate" option (like JDeveloper 10g has) or something similar, see GenerateSQLRightClickMenuForGenerateFile.png.
    many thanks
    Jan Vervecken

    Thanks for your reply Susan.
    You were not able to access it via metalink as it was categorized as an internal bug rather than a production version bug. Since it has now been fixed it is unlikely that I can get it changed to allow it to be seen via metalink.about "unlikely", see also ...
    ... Steve Muench : "Re: Request for "WHERE  -   IN" Combination with Bind Variables."
    ... Keimpe Bronkhorst : "Re: Generics : compiler option : unchecked conversion warnings"
    ... Brian Duff : "Re: Surround With Try/Catch : comments issue"
    ... Frank Nimphius : "Re: Jdev 11g: Warnings in structure window for jspx (makeCurrent)"
    But there is probably an explanation.
    regards
    Jan

  • How to use PDF generator installed on dedicated machine

    Hi!
    According to Adobe official recommendation I have installed PDF generator on dedicated machine, separed from rest of LiveCycle modules. But now I don't know how to use such a PDF generator from my LC processes. Obviously I may use webservice component and call PDF generator using SOAP. But that is not elegant. I searched in adminui for some URL or IP address settings, but found nothing.
    And what to do when I have more then one PDF generator server? Probably I need some sort of load balancing. Is LC ES capable of work in such configuration?
    Thanks for some ideas.
    --- Jaroslav

    There is possible to specify PDF generator location in file repository:///assembler.properties . So I created the file:
    serverType=JBoss
    protocol=soap
    endPoint=http://192.168.2.1:8080
    username=administrator
    password=password
    and put it to repository root. Unfortunetally nothing happened. I restared server also but no effect. Do you have some experience with configuring server location in LiveCycle?
    --- Jaroslav

  • Keytool generated certificate

    I have just configured SSL on tomcat and I am wondering if the certificate generated by the keytool command (the one that ships with the j2sdk1.4.2_X) is as good as a certificate from Verisign.
    I am willing to accept the fact that users must add the certificate to their list of trusted certificates - but I am curious about the following:
    1) Is the connection to the server (are the packets that are transfering from client to web server) just as secure as if the certificate were signed by Verisign.
    2) Is there any real difference between the two certificates other than the fact that user must add the certificate to the list of trusted certificates since it's not signed by verisign?
    Thanks,
    Jim

    Keytool can generate a certificate that can be similar in terms of security as a verisign certificate. Thus the answers for your questions are yes and no respectively.
    Both deal with X.509 certificates. A little bit of research on X.509 and what verisign uses (for example the pvt key size, X.509 version number and relevant certificate fields) can yield helpful.
    GS

  • How to use JPublisher generated package in JSP

    I am finding difficulty in using JDeveloper genereted (Using JPublisher) package ( from PL?SQL packages of Oracle) using in JSP . can any body help
    Prashant

    Can you be more specific on what you are doing and what problem you are facing.
    You can refer JPublisher documentation here.
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96658/toc.htm
    JPub help with Jdeveloper
    http://otn.oracle.com/jdeveloper/help/
    Go to using SQL in Java Programs ->Accessing Oracle Objects and PL/SQL Packages using Java
    Also you can see how JPub generated classes can be used in SQLJandJPublisherSample at following url. You can apply similar concept for JSPs.
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/9i_sqlj/9i_sqlj.html
    Chandar

  • How to use JAXB generated classes with SOAP

    hello,
    I have a library of JAXB generated classes for my web service. There is a Java class for each web method defined in my schema. For example, my getLocation method is mapped to GetLocation.class.
    However my web service is SOAP based, so I am having to manually strip off the SOAP elements to be able to unmarshall the getLocation xml to a GetLocation class.
    I am noticing a disconnect between JAXB and other Java SOAP and RPC libraries. Does anyone know how to create a JAXB class for SOAP Envelopes and Bodys? Does anyone have any ideas how to incorporate the existing Java web service libraries with JAXB?
    Thanks in advance.

    Have you found a method to integrate SAAJ and JAXB? Or
    is better to use SAAJ only ?If I had to choose I'd go with SAAJ. It seems to me that's theoretically possible to use JAXB classes with SAAJ but I imagine if it is possible it would be a big pain in the ass.

  • How to use Theme generator?

    Hi All,
    My iViews are displaying the table icon instead of the actual table with grid (as what we see in R/3). I sent a message to OSS and they asked me to regenerate the theme under Portal Display -> ITS theme generator. They also advise to clear the browser cache.
    My question is which theme should I generate? Which login should I use to in the username and password fields? I tried a few times to generate but it keep gives the following error message.
    http://epprd.mycompany.com.my:50400/irj/portalsap_generate/!?sap-user=administrator&sap-password=abc123&language=en&webTransactionType=EWT
    At the same time as I can see there are many upload after I choose a theme, do I need to upload any graphics? How can I generate a theme and clear my cache?
    Thanks
    Regards,
    Bryan

    Hi,
    First you have to create a new Theme using Theme Editor....Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/c67c91923a11d5b57d006094b9451c/frameset.htm
    Second use portal user & password...more info, refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/af/807f72a20d11d5b580006094b9451c/frameset.htm
    Regards,
    Senthil K

  • How to use Designer Generator in JHS 10.1.3

    I have migrated a sample form using JHS 10.1.2 on Jdev 10.1.2.
    Now I am trying to do the same on Jdev 10.1.3 using JHS 10.1.3.
    But I could not locate Designer Generator which will locate Modules of Repository of Oracle Designer, How should i do this?
    Also, What is the equivalent connection in Jdev 10.1.3 for WorkArea Connection?
    Note: I have successfully created a sample JSF-ADF BC project using the BC components generated from the HR Schema using the Wizard.
    Kind Regards
    Srihari

    Hi Steven,
    Thanks for your response.
    I tried it in the same way, but while generating application, it is throwing the following errors:
    JAG-00001.0 [ init ] Invalid property in application structure file. XML processing logged the following errors:
    JAG-XML : <Line 22, Column 48>: XML-24538: (Error) Can not find definition for element 'Service'
    Unable to validate service
    This error is thrown during "Validating Application Definition using XSD."
    Also, when I set the xmlns attribute of Service Tag Element to "http://www.oracle.com/jheadstart/applicationStructure", it is throwing different errors as few attributes were not expected.
    Kind Regards
    Srihari

  • How to use the generated SQL of "Recommendation"

    Dear Experts,
    I am using KXEN recommendation function. After trained the model, I expose the result in form of HANA SQL. However, I am really have no idea how to make this SQL runnable because there are some subqueries like:
    FROM $Dataset "SPACEIN"
      LEFT OUTER JOIN (SELECT * FROM  WHERE "GRAPH_NAME" = 'Transactions') "PRODUCTS" ON ("PRODUCTS"."KXNODEFIRST" = "SPACEIN".MemberID)
      LEFT OUTER JOIN (SELECT * FROM  WHERE "GRAPH_NAME" = 'Product') "RULES" ON ("PRODUCTS"."KXNODESECOND" = "RULES"."KXNODESECOND")
      LEFT OUTER JOIN (SELECT * FROM  WHERE "GRAPH_NAME" = 'Transactions') "NOTIN" ON ("RULES"."KXNODESECOND_2" = "NOTIN"."KXNODESECOND") AND ("NOTIN"."KXNODEFIRST" = "SPACEIN".MemberID)
    Please pay attention to the red parts. While $Dataset, I assume it should be the data source which is used to train the model, but how to handle the "GRAPH" parts(the next 3 subqueries)? There are something missing after "FROM" clause, what should I fill in here? why the XKEN will generate sucn incomplete codes?
    Thanks for your help!

    Hi Richard,
    To apply a recommendation model, you first need to save your model in your database. (saving the model in the database for such models and for what you want to do is mandatory).
    Once you saved it, you will see many tables starting with "Kx" : KxInfos, KxLinks, KxNodes...
    These tables contains information on the nodes available in the data used, on the links between products.
    Now, if you generate the SQL code for Hana, the name of your KxLinks table should now be used in the SQL code.
    When prompted for $Dataset and $Key, you should specify in place of $Dataset the name of the table on which you want to apply your model. In place of $Key, you should enter the name of the key of this table (e.g. UserId).
    In my case $Dataset =>KAR_UniqueCustomers and $Key=>UserID
    My generated code looks like this :
    FROM KAR_UniqueCustomers "SPACEIN"
    LEFT OUTER JOIN (SELECT * FROM KxLinks1 WHERE "GRAPH_NAME" = 'Transactions') "PRODUCTS" ON ("PRODUCTS"."KXNODEFIRST" = "SPACEIN".UserID)
    LEFT OUTER JOIN (SELECT * FROM KxLinks1 WHERE "GRAPH_NAME" = 'ItemPurchased') "RULES" ON ("PRODUCTS"."KXNODESECOND" = "RULES"."KXNODESECOND")
    Note that your application table must contain:
    - A column with the same name as your users identifier in the training dataset. It contains the list of distinct users (stricly 1 row for each customer id)
    - A column with the same name as your products name in the training dataset. It can contain the name of the same product for all customers.
    I hope you'll make it work !
    Armelle

  • Would like instructions on how to use the generator

    Help,
    I have been assigned the task of creating DTDs for our project.
    I have had no previous exposure to JAVA or XML or any other
    projects relating to the web. I have read some material and
    think I have come up with a DTD (enclosed below). I am trying to
    parse it and validate it but am unsure of how to accomplish
    this.
    Any Help anyone can give me would be greatly appreciated.
    Bill Kennedy
    DTD:
    <?XML version='1.0' standalone='no' ?>
    <!DOCUMENT Cargo_Declaration[!ELEMENT
    ITN(Goods_Status,International_Transaction_Number,
    ITN_Version_Number,Message_Type_Code,International_Transaction_Ty
    pe?,
    Declaration_Type_Code?,Process_Indicator_Code?,Message_Reference_
    Nbr?,
    Acknowledgement_Indicator?,Filed_Date_Time?,Received_Date_Time?,F
    iler?,Shipper?,
    Broker?,Importer?,Exporter?,Cargo_Notify_Party_Name?,Cargo_Notify
    PartyPhone?,
    Hazardous_Material_Indicator?,Accounting_Date?,Elected_Entry_Date
    Estimated_Departure_Date?,Duty_Calc_Requested_Indicator?,Port_Of_
    Accounting?,
    Port_Of_US_Export?,Total_Declared_Customs_Value?,Bond_Type_Code?,
    Surety_Company?,
    Customs_Entry_Number?,Trader_Reference_Number?,Probill_Number?,Re
    lease_Date?,
    Electronic_Signature?,Line_Item*,Goods_Notice*,ITN_Revenue*,Inter
    mediate_Country*,
    Filed_ITN*)>
    <!ELEMENT Goods_Notice (#PCDATA)>
    <!ELEMENT International_Transaction_Number (#PCDATA)>
    <!ELEMENT ITN_Version_Number (#PCDATA)>
    <!ELEMENT Message_Type_Code (#PCDATA)>
    <!ELEMENT International_Transaction_Type (#PCDATA)>
    <!ELEMENT Declaration_Type_Code (#PCDATA)>
    <!ELEMENT Process_Indicator_Code (#PCDATA)>
    <!ELEMENT Message_Reference_Number (#PCDATA)>
    <!ELEMENT Acknowledgement_Indicator (#PCDATA)>
    <!ELEMENT Filed_Date_Time (#PCDATA)>
    <!ELEMENT Received_Date_Time (#PCDATA)>
    <!ELEMENT Filer (#PCDATA)>
    <!ELEMENT Shipper (#PCDATA)>
    <!ELEMENT Broker (#PCDATA)>
    <!ELEMENT Importer (#PCDATA)>
    <!ELEMENT Exporter (#PCDATA)>
    <!ELEMENT Cargo_Notify_Party_Name (#PCDATA)>
    <!ELEMENT Cargo_Notify_Party_Phone (#PCDATA)>
    <!ELEMENT Hazardous_Material_Indicator (#PCDATA)>
    <!ELEMENT Accounting_Date (#PCDATA)>
    <!ELEMENT Elected_Entry_Date (#PCDATA)>
    <!ELEMENT Estimated_Departure_Date (#PCDATA)>
    <!ELEMENT Duty_Calc_Requested_Indicator (#PCDATA)>
    <!ELEMENT Port_Of_Accounting (#PCDATA)>
    <!ELEMENT Port_Of_US_Export (#PCDATA)>
    <!ELEMENT Total_Declared_Customs_Value (#PCDATA)>
    <!ELEMENT Bond_Type_Code (#PCDATA)>
    <!ELEMENT Surety_Company (#PCDATA)>
    <!ELEMENT Customs_Entry_Number (#PCDATA)>
    <!ELEMENT Trader_Reference_Number (#PCDATA)>
    <!ELEMENT Probill_Number (#PCDATA)>
    <!ELEMENT Release_Date (#PCDATA)>
    <!ELEMENT Electronic_Signature (#PCDATA)>
    <!ELEMENT
    Line_Item(LI_Instance_Id,LI_Line_Number,LI_Controlling_Commrcl_Do
    c?,
    LI_Controlling_Commrl_Doc_Type?,LI_Commodity_Description?,LI_Coun
    try_Final_Destination?,
    LI_Country_Of_Origin?,LI_Country_Of_Production_FDA?,LI_Country_Of
    _Export?,
    LI_State_Prov_Final_Destination?,LI_State_Prov_Of_Origin?,LI_Stat
    e_Prov_Of_Export?,
    LI_Foreign_Trade_Zone?,LI_Deliver_To_Party?,LI_Intermed_Deliver_T
    o_Party?,
    LI_Producer_Manufacturer?,LI_Agency_Spnsoring_Cargo?,LI_Purchaser
    _Buyer?,
    LI_Seller_Vendor?,LI_Relationship_Indicator?,LI_Foreign_Military_
    Sales_Ind?,
    LI_Basis_Of_Appraisement_Code?,LI_Currency_Code?,LI_Unit_Price_Am
    ount?,
    LI_Export_Value?,LI_Declared_Customs_Value_Amt?,LI_Gross_Weight?,
    LI_Gross_Weight_Unit_Of_Msr?,LI_Unit_Qty1?,LI_Unit_Of_Measure1?,L
    I_Addl_Qty_Indicator?,
    LI_Part_Number?,LI_Serial_Number?,LI_Lot_Number?,LI_Batch_Number?
    ,LI_VIN?,
    LI_Addl_Id_Indicator?,LI_Product_Code?,LI_Product_Code_FDA?,LI_Ma
    ke?,LI_Model?,
    LI_Model_Year?,LI_Brand_Name?,LI_Conform_Criteria_Code?,LI_Can_He
    ight?,LI_Can_Width?,
    LI_Can_Length?,LI_Hazardous_Material_Code?,LI_Storage_Status_Code
    LI_Safeguard_Handling_Instuctns?,LI_Request_Exam_Location?,LI_Act
    ual_Exam_Location?,
    LI_Export_Control_Classifctn_Nbr?,LI_Percent_Active_Ingredient?,
    LI_Prime_Contract_Number?,LI_Terms_Of_Payment_Code?,LI_Terms_Of_D
    elivery_Code?,
    LI_Verification_Quantity?,LI_Verification_Unit_Of_Measure?,LI_Cha
    nge_Reason_Code?,
    Line_Identifier*,Line_Revenue*,Line_Quantity*,Tariff+,Line_Border
    Status*,FiledLine*)>
    <!ELEMENT LI_Instance_Id (#PCDATA)>
    <!ELEMENT LI_Line_Number (#PCDATA)>
    <!ELEMENT LI_Controlling_Commrcl_Doc (#PCDATA)>
    <!ELEMENT LI_Controlling_Commrl_Doc_Type (#PCDATA)>
    <!ELEMENT LI_Commodity_Description (#PCDATA)>
    <!ELEMENT LI_Country_Final_Destination (#PCDATA)>
    <!ELEMENT LI_Country_Of_Origin (#PCDATA)>
    <!ELEMENT LI_Country_Of_Production_FDA (#PCDATA)>
    <!ELEMENT LI_Country_Of_Export (#PCDATA)>
    <!ELEMENT LI_State_Prov_Final_Destination (#PCDATA)>
    <!ELEMENT LI_State_Province_Of_Origin (#PCDATA)>
    <!ELEMENT LI_State_Province_Of_Export (#PCDATA)>
    <!ELEMENT LI_Foreign_Trade_Zone (#PCDATA)>
    <!ELEMENT LI_Deliver_To_Party (#PCDATA)>
    <!ELEMENT LI_Intermed_Deliver_To_Party (#PCDATA)>
    <!ELEMENT LI_Producer_Manufacturer (#PCDATA)>
    <!ELEMENT LI_Agency_Sponsoring_Cargo (#PCDATA)>
    <!ELEMENT LI_Purchaser_Buyer (#PCDATA)>
    <!ELEMENT LI_Seller_Vendor (#PCDATA)>
    <!ELEMENT LI_Relationship_Indicator (#PCDATA)>
    <!ELEMENT LI_Foreign_Military_Sales_Ind (#PCDATA)>
    <!ELEMENT LI_Basis_Of_Appraisement_Code (#PCDATA)>
    <!ELEMENT LI_Currency_Code (#PCDATA)>
    <!ELEMENT LI_Unit_Price_Amount (#PCDATA)>
    <!ELEMENT LI_Export_Value (#PCDATA)>
    <!ELEMENT LI_Declared_Customs_Value (#PCDATA)>
    <!ELEMENT LI_Gross_Weight (#PCDATA)>
    <!ELEMENT LI_Gross_Wgt_Unit_Of_Msr (#PCDATA)>
    <!ELEMENT LI_Unit_Qty1 (#PCDATA)>
    <!ELEMENT LI_Unit_Of_Measure1 (#PCDATA)>
    <!ELEMENT LI_Addl_Qty_Indicator (#PCDATA)>
    <!ELEMENT LI_Part_Number (#PCDATA)>
    <!ELEMENT LI_Serial_Number (#PCDATA)>
    <!ELEMENT LI_Lot_Number (#PCDATA)>
    <!ELEMENT LI_Batch_Number (#PCDATA)>
    <!ELEMENT LI_VIN (#PCDATA)>
    <!ELEMENT LI_Addl_ID_Indicator (#PCDATA)>
    <!ELEMENT LI_Product_Code (#PCDATA)>
    <!ELEMENT LI_Product_Code_FDA (#PCDATA)>
    <!ELEMENT LI_Make (#PCDATA)>
    <!ELEMENT LI_Model (#PCDATA)>
    <!ELEMENT LI_Model_Year (#PCDATA)>
    <!ELEMENT LI_Brand_Name (#PCDATA)>
    <!ELEMENT LI_Conform_Criteria_Code (#PCDATA)>
    <!ELEMENT LI_Can_Height (#PCDATA)>
    <!ELEMENT LI_Can_Width (#PCDATA)>
    <!ELEMENT LI_Can_Length (#PCDATA)>
    <!ELEMENT LI_Hazardous_Material_Code (#PCDATA)>
    <!ELEMENT LI_Storage_Status_Code (#PCDATA)>
    <!ELEMENT LI_Safeguard_Handling_Intructions (#PCDATA)>
    <!ELEMENT LI_Request_Exam_Location (#PCDATA)>
    <!ELEMENT LI_Export_Control_Classifctn_Nbr (#PCDATA)>
    <!ELEMENT LI_Percent_Active_Ingredient (#PCDATA)>
    <!ELEMENT LI_Prime_Contract_Number (#PCDATA)>
    <!ELEMENT LI_Terms_Of_Payment_Code (#PCDATA)>
    <!ELEMENT LI_Terms_Of_Delivery_Code (#PCDATA)>
    <!ELEMENT LI_Verification_Quantity (#PCDATA)>
    <!ELEMENT LI_Verification_Unit_Measure (#PCDATA)>
    <!ELEMENT LI_Change_Reason_Code (#PCDATA)>
    <!ELEMENT Line_Identifier(L_I_Id_Number,L_I_Unique_ID)>
    <!ELEMENT L_I_ID_Number (#PCDATA)>
    <!ELEMENT L_I_Unique_ID (#PCDATA)>
    <!ELEMENT
    Line_Revenue(LR_Category_Code,LR_Category_Type_Code,LR_Amount?,LR
    UnitQuantity?,
    LR_Unit_Of_Measure?)>
    <!ELEMENT LR_Category_Code (#PCDATA)>
    <!ELEMENT LR_Category_Type_Code (#PCDATA)>
    <!ELEMENT LR_Amount (#PCDATA)>
    <!ELEMENT LR_Unit_Quantity (#PCDATA)>
    <!ELEMENT LR_Unit_Of_Measure (#PCDATA)>
    <!ELEMENT
    Line_Quantity(LQ_Sequence_Number,LQ_Unit_Quantity?,LQ_Unit_Of_Mea
    sure?)>
    <!ELEMENT LQ_Sequence_Number (#PCDATA)>
    <!ELEMENT LQ_Unit_Quantity (#PCDATA)>
    <!ELEMENT LQ_Unit_Of_Measure (#PCDATA)>
    <!ELEMENT
    Tariff(T_Tariff_Number,T_Sequence_Number?,T_Duty_Amount?,T_Unit_Q
    uantity1?,
    T_Unit_Of_Measure1?,T_Unit_Quantity2?,T_Unit_Of_Measure2?,T_Unit_
    Quantity3?,
    T_Unit_Of_Measure3?,T_Add_Amount?,T_Cvd_Amount?,T_Add_Case_Number
    T_Cvd_Case_Number?,T_Add_Cvd_Bond_Indicator?,T_Surety_Code?,
    T_Add_Specific_Deposit_Value?,T_Textile_Category_Number?T_Exempti
    on_Claim_Code?,
    T_Reconciliation_Reason_Code?,Line_License*)>
    <!ELEMENT T_Tariff_Number (#PCDATA)>
    <!ELEMENT T_Sequence_Number (#PCDATA)>
    <!ELEMENT T_Duty_Amount (#PCDATA)>
    <!ELEMENT T_Unit_Quantity1 (#PCDATA)>
    <!ELEMENT T_Unit_Of_Measure1 (#PCDATA)>
    <!ELEMENT T_Unit_Quantity2 (#PCDATA)>
    <!ELEMENT T_Unit_Of_Measure2 (#PCDATA)>
    <!ELEMENT T_Unit_Quantity3 (#PCDATA)>
    <!ELEMENT T_Unit_Of_Measure3 (#PCDATA)>
    <!ELEMENT T_Add_Amount (#PCDATA)>
    <!ELEMENT T_Cvd_Amount (#PCDATA)>
    <!ELEMENT T_Add_Case_Number (#PCDATA)>
    <!ELEMENT T_Cvd_Case_Number (#PCDATA)>
    <!ELEMENT T_Add_Cvd_Bond_Indicator (#PCDATA)>
    <!ELEMENT T_Surety_Code (#PCDATA)>
    <!ELEMENT T_Add_Specific_Deposit_Value (#PCDATA)>
    <!ELEMENT T_Cvd_Specific_Deposit_Value (#PCDATA)>
    <!ELEMENT T_Textile_Category_Number (#PCDATA)>
    <!ELEMENT T_Exemption_Claim_Code (#PCDATA)>
    <!ELEMENT T_Reconciliation_Reason_Code (#PCDATA)>
    <!ELEMENT
    Line_License(LL_License_Number,LL_Number_Type_Code,LL_Responsible
    _Agency,
    LL_VISA_Country?,LL_Unit_Quantity?,LL_Unit_Of_Measure?,LL_Unit_Va
    lue?)>
    <!ELEMENT LL_License_Number (#PCDATA)>
    <!ELEMENT LL_Number_Type_Code (#PCDATA)>
    <!ELEMENT LL_Respnsible_Agency (#PCDATA)>
    <!ELEMENT LL_VISA_Country (#PCDATA)>
    <!ELEMENT LL_Unit_Quantity (#PCDATA)>
    <!ELEMENT LL_Unit_Of_Measure (#PCDATA)>
    <!ELEMENT LL_Unit_Value (#PCDATA)>
    <!ELEMENT
    Line_Border_Status(LBS_Status,LBS_Status_Datetime,LBS_Status_Sour
    ce,LBS_Agency_Code?,
    LBS_Inspection_Timestamp?,LBS_Inspector_ID?,LBS_Inspector_Action_
    Code?,
    LBS_Inspection_Description?,LBS_Notify_Trade_Indicator?)>
    <!ELEMENT LBS_Status (#PCDATA)>
    <!ELEMENT LBS_Status_Datetime (#PCDATA)>
    <!ELEMENT LBS_Status_Source (#PCDATA)>
    <!ELEMENT LBS_Agency_Code (#PCDATA)>
    <!ELEMENT LBS_Inspection_Timestamp (#PCDATA)>
    <!ELEMENT LBS_Inspector_ID (#PCDATA)>
    <!ELEMENT LBS_Inspector_Action_Code (#PCDATA)>
    <!ELEMENT LBS_Inspection_Description (#PCDATA)>
    <!ELEMENT LBS_Notify_Trade_Indicator (#PCDATA)>
    <!ELEMENT
    Filed_Line(FL_Consignee?,FL_Manufacturer?,FL_Consignee_Name?,FL_C
    onsignee_Addr1?,
    FL_Consignee_Addr2?,FL_Consignee_City?,FL_Consignee_State?,FL_Con
    signee_Zip?,
    FL_Add_Cvd_Surety?,FL_FDA_Country_Of_Production?,FL_FDA_Manufactu
    rer?,
    FL_FDA_Shipper?,FL_FDA_Consignee?,FL_FDA_Line_Value?)>
    <!ELEMENT FL_Consignee (#PCDATA)>
    <!ELEMENT FL_Manufacturer (#PCDATA)>
    <!ELEMENT FL_Consignee_Name (#PCDATA)>
    <!ELEMENT FL_Consignee_Addr1 (#PCDATA)>
    <!ELEMENT FL_Consignee_Addr2 (#PCDATA)>
    <!ELEMENT FL_Consignee_City (#PCDATA)>
    <!ELEMENT FL_Consignee_State (#PCDATA)>
    <!ELEMENT FL_Consignee_Zip (#PCDATA)>
    <!ELEMENT FL_Add_Cvd_Surety (#PCDATA)>
    <!ELEMENT FL_FDA_Country_Of_Production (#PCDATA)>
    <!ELEMENT FL_FDA_Manufacturer (#PCDATA)>
    <!ELEMENT FL_FDA_Shipper (#PCDATA)>
    <!ELEMENT FL_FDA_Consignee (#PCDATA)>
    <!ELEMENT FL_FDA_Line_Value (#PCDATA)>
    <!ELEMENT
    Goods_Notice(GN_Sequence_Number,GN_Datetime_Recipient?,GN_Sender?
    GN_Notice_Type?,GN_Controlling_Commercial_Document?,
    GN_Line_Number?,GN_Border_Status?,GN_Text?)>
    <!ELEMENT GN_Sequence_Number (#PCDATA)>
    <!ELEMENT GN_Datetime (#PCDATA)>
    <!ELEMENT GN_Sender (#PCDATA)>
    <!ELEMENT GN_Notice_Type (#PCDATA)>
    <!ELEMENT GN_Controlling_Commercial_Document (#PCDATA)>
    <!ELEMENT GN_Line_Number (#PCDATA)>
    <!ELEMENT GN_Border_Status (#PCDATA)>
    <!ELEMENT GN_Text (#PCDATA)>
    <!ELEMENT
    ITN_Revenue(IR_Category_Code,IR_Category_Type_Code,IR_Controlling
    CommercialDocument?,
    IR_Amount?,IR_Unit_Of_Measure?)>
    <!ELEMENT IR_Category_Code (#PCDATA)>
    <!ELEMENT IR_Category_Type_Code (#PCDATA)>
    <!ELEMENT IR_Controlling_Commercial_Document (#PCDATA)>
    <!ELEMENT IR_Amount (#PCDATA)>
    <!ELEMENT IR_Unit_Of_Measure (#PCDATA)>
    <!ELEMENT Intermediate_Country(IC_Country_Code)>
    <!ELEMENT IC_Country_Code (#PCDATA)>
    <!ELEMENT
    Filed_ITN(FI_Entry_Filer?,FI_District_Port_Of_Entry?,FI_Importer_
    Number?,
    FI_Surety_Code?,FI_Ultimate_Consignee?,FI_Shipper?,
    FI_District_Port_Of_Unloading?,FI_Foreign_Trade_Zone?,FI_Carrier_
    Code?,
    FI_Shipping_Qty?,FI_Shipping_Qty_Unit_Of_Measure?,FI_Date_Of_Impo
    rtation?,
    FI_Port_Of_Foreign_Loading?,FI_General_Order_Number?)>
    <!ELEMENT FI_Entry_Filer (#PCDATA)>
    <!ELEMENT FI_District_Port_Of_Entry (#PCDATA)>
    <!ELEMENT FI_Importer_Number (#PCDATA)>
    <!ELEMENT FI_Surety_Code (#PCDATA)>
    <!ELEMENT FI_Ultimate_Consignee (#PCDATA)>
    <!ELEMENT FI_Shipper (#PCDATA)>
    <!ELEMENT FI_District_Port_Of_Unloading (#PCDATA)>
    <!ELEMENT FI_Foreign_Trade_Zone (#PCDATA)>
    <!ELEMENT FI_Carrier_Code (#PCDATA)>
    <!ELEMENT FI_Shipping_Quantity (#PCDATA)>
    <!ELEMENT FI_Shipping_Qty_Unit_Of_Measure (#PCDATA)>
    <!ELEMENT FI_Date_Of_Importation (#PCDATA)>
    <!ELEMENT FI_Port_Of_Foreign_Loading (#PCDATA)>
    <!ELEMENT FI_General_Order_Number (#PCDATA)>]>
    null

    Bill Kennedy (guest) wrote:
    : Help,
    : I have been assigned the task of creating DTDs for our
    project.
    : I have had no previous exposure to JAVA or XML or any other
    : projects relating to the web. I have read some material and
    : think I have come up with a DTD (enclosed below). I am trying
    to
    : parse it and validate it but am unsure of how to accomplish
    : this.
    : Any Help anyone can give me would be greatly appreciated.
    : Bill Kennedy
    Generally you want to parse and validate XML document instances
    against your DTD. The XML Class Generator creates classes based
    upon an input DTD that can be used to create these document
    instances.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

Maybe you are looking for

  • How do I avoid error message when saving combined files?

    I combined about 350 .pdf files into a single .pdf file using Acrobat 8 Pro.  Total file size is about 3.5GB.  I can assemble them in a correct order but saving them results in the following error message:  "The document could not be saved.  A file I

  • Can't drag-and-drop into applications folder

    Just got a new iMac last week, my old ibook finally died. I'm trying to install firefox in the imac and i can't. It downloads fine, I can open up the .dmg file, but then I can't drag the icon into the applications folder. I can drag it, but nothing h

  • Accounting document reversal

    Hi I am trying to cancell a billing document for which the accounting document is cleared. I can understand we need to reverse the clearing document.so i request for a help in understanding this  process with Tcode (how to do this ? ) thanks in advan

  • Role migrate issue

    When I migrate some Roles from portal nw04 to nw04s, the roles have issue. The issue is when I assign these role into some user, the role doesn't work. My solution is I go to Content Administrator>xxx role>Change ID then the role is working for user.

  • Probleme with Self defined info struc

    Hi All, We have Create some Self define Info structure Like ;-- S061 Location and Planning --->S501 if we campare standard info structure with self defined info structure ..screen layoutis  are not same .. 1.Means *Characteristics Restriction * Funct