Generating User_id using SYS_GUID()

Hi,
I am using JDev 11g Release2. I have created a trigger using the following sql script.
create or replace TRIGGER trig1
BEFORE INSERT
ON user1
FOR EACH ROW
DECLARE
v_user_id VARCHAR2(64) := NULL;
BEGIN
IF :NEW.user_id IS NULL
THEN
SELECT sys_guid() INTO v_user_id FROM DUAL;
:NEW.user_id := v_user_id;
END IF;
END;
This trigger is working fine when I am trying to perform an insert operation on the database level. However, when I am trying to insert through the form(View object), it is asking for the id to be entered manually.
Can anyone help me with this?
Thanks & Regards,
Suganya.

Thanks Jabr,
But in my case i have one VO named UserUserProfileVO which contains both UserEO and UserProfileEO.When i try to create the new user information through that UserUserProfileVO it is throwing the following exception
(oracle.jbo.DMLConstraintException) JBO-26048: Constraint "USER_PROFILE_FK1" is violated during post operation "Insert" using SQL statement "BEGIN INSERT INTO USER_PROFILE(USER_PROFILE_ID,USER_ID,FIRST_NAME,LAST_NAME) VALUES (:1,:2,:3,:4,:5) RETURNING USER_ID INTO :6; END;".

Similar Messages

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • Generating reports using RWServlet.class(Patch-12)

    Sir,
    We have configured the Apache Tomcat-3.2.2 to be the servlet engine for generating reports using oracle.reports.rwcgi.RWServlet. Earlier we have been using, Patch-2. We have created many keys(cgicmd.dat) for the different reports that are there with the mostly needed report parameters(including PARAMFORM=YES). We call the report in the browser giving the URL "http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet?<key_name>". Now, the report page that gets generated is the parameter form. In the HTML source of this page, the form-submitting action is pointing correctly to URL "http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet.....". The parameter values are entered and the form submitted. The generated report is perfect..
    Some days before, Patch-10 was installed. The RWServlet.class that comes along with this was copied to the oracle/reports/rwcgi folder in Tomcat. Now, when the same steps(calling report) as done before were done, the report is not getting generated, giving the output for no page found. The HTML source of the parameter form shows the form-submitting-action URL as "http://<machine_name>/servlet/oracle.reports.rwcgi.RWServlet.." omitting the "oraclereports" that was there earlier.
    Now, we have installed Patch-12, copied the new RWServlet.class. For this case also, the same problem is now encountered. Now, have we have to do any additional configuration somewhere? The page that is generated, on giving the URL ""http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet/showenv?server=Rep60_MACHINENAME" is showing the SCRIPT_NAME as "/servlet/oracle.reports.rwcgi.RWServlet". Is it something to do with this? We tried putting SCRIPT_NAME as a user environment variable, and also by giving SET SCRIPT_NAME=/oraclereports. Still, the problem persists. Doesn't the HttpServletRequest class have some method that returns the SCRIPT_NAME, i.e, the path where the execution is being done? How could different versions of the same class oracle.reports.rwcgi.RWServlet deployed with the same settings on the Tomcat servlet engine behave differently? Please help us on how to solve this problem..
    Thank you,
    Regards..
    Ranjith

    Hi,
    Is there some way, i.e., by doing some Tomcat setting changes, that the RWServlet of Patch-10/12 can be made to work like RWServlet of Patch-2(with normal settings)? Please help..
    Thank you,
    Regards..
    Ranjith

  • How do I configure a counter to generate pulses using DAQmx?

    How do I configure a counter to generate pulses using DAQmx?
    Is says in the DAQmx C reference help
    "CtrnInternalOutput—The signal at this internal terminal is where the pulsed or toggled output of the counter appears. The output of a counter pulses or toggles when the counter reaches terminal count. When counting down, the counter reaches terminal count when the count reaches zero. When counting up, the counter reaches terminal count when the counter rolls over. To configure the counter to toggle or generate pulses, use the Export Signal function/VI with Counter Output Event as the signal name."
    I've tried this but can't get it to work, I may have the parameters wrong or something. The DAQmxExportSignal() function is very unintuitive to me. Here is my counter config code...
    int ret = 0;
    ret = DAQmxCreateTask("",&task_);
    errorMsg(ret);
    if (ret != 0)
    throw ret;
    // Configure the counter
    ret = DAQmxCreateCOPulseChanTicks( task_, "Dev1/ctr0", "", "/Dev1/PFI8", DAQmx_Val_Low, 0, divider, divider );
    errorMsg(ret);
    ret = DAQmxCfgImplicitTiming( task_, DAQmx_Val_ContSamps, 1000 );
    errorMsg(ret);
    // Change to pulse mode
    ret = DAQmxExportSignal( task_, DAQmx_Val_CounterOutputEvent, "/Dev1/Ctr0InternalOutput" );
    errorMsg(ret);
    // Start the counter
    ret = DAQmxStartTask(task_);
    errorMsg(ret);
    The above code works fine, in toggle mode, if I just comment out the DAQmxExportSignal() part.
    HELP!!!
    Stefan

    The problem is due to the DAQmxExportSignal call.  By default, when you create a counter output pulse train task, the driver will automatically set the output of the counter to toggle when the count for each high ticks and low ticks expire.  The driver also automatically routes the signal present at Ctr0InternalOutput terminal (the output of the counter internal to the device) to the Ctr0Out terminal (the I/O pin available externally).  Using the line
     ret = DAQmxExportSignal( task_, DAQmx_Val_CounterOutputEvent, "/Dev1/Ctr0InternalOutput" );
    will tell the driver to tristate the Ctr0Out terminal and not output the signal to the external I/O pin.  Using the DAQmxExportSignal function is generally only useful if you want to route the signal to some other terminal internal to the board without having the output show up on the external connector, route the signal to some other external pin other than the default pin, or if you want to have the output show up at multiple locations. 
    If you want to change the output behavior from toggle to pulse, you need to use the DAQmxSetExportedCtrOutEventOutputBehavior function.  However, this is generally only useful if all you care about are edges (not the duty cycle of the pulse train), and you want to generate higher frequency signals.  For example, with a 20 MHz timebase as the source of your counter, you can only generate a 5 MHz pulse train by default.  This is because the minimum value for the low and high ticks parameter is 2 (20 MHz / 4 = 5 MHz).  By changing the output behavior form toggle to pulse, you can generate a pulse train at 10 MHz since the output is now pulsing instead of toggling.  However, the width of each pulse is not programmable so you will no longer have a 50% duty cycle signal.  I don't remember exactly what the width of each pulse is, but I believe it's in the neighborhood of 50 - 100 nanoseconds in width.  I hope this information helps.

  • Problem while generating PDF using iText

    Hi:
    I have generated PDF using iText, where i have written all code in sequential flow.
    <code>
    com.lowagie.text.Document document = new com.lowagie.text.Document(PageSize.A4, 55, 5, 20, 20);
    OutputStream outputstream = response.getOutputStream();
    PdfWriter.getInstance(document,outputstream);
    </code>
    And i have added all fields in the document.
    But my problem is how to display total pagecount on all pages e.g.1\20 (because i have generated PDF sequentially)
    Also i want to add watermark on all pages.
    So, can any body help me to solve this problem?
    Thank You,
    Balaji

    sabre150 wrote:
    Maybe http://itext-general.2136553.n4.nabble.com/
    Nice pron link in there :/

  • Errors generating reoprs using jasperReports in dwr

    I am generating reports using jasperReports in dwr .i am getting these errors
    Errors were encountered when compiling report expressions class file:
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:4: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:5: package net.sf.jasperreports.engine.fill does not exist
    import net.sf.jasperreports.engine.fill.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:13: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:15: package net.sf.jasperreports.engine.data does not exist
    import net.sf.jasperreports.engine.data.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:21: cannot find symbol
    symbol: class JREvaluator
    public class item_1195287830437_658743 extends JREvaluator
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:28: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_LOCALE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:29: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:30: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_TIME_ZONE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:31: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_MAX_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:32: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_SCRIPTLET = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:33: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:34: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_CONNECTION = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:35: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:36: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_URL_HANDLER_FACTORY = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:37: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:38: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:39: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:40: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_rate = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:41: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_item_id = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:42: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_name = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:43: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_manf_company = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:44: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_PAGE_NUMBER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:45: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_COLUMN_NUMBER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:46: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_REPORT_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:47: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_PAGE_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:48: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_COLUMN_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:71: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:72: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:73: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_TIME_ZONE = (JRFillParameter)pm.get("REPORT_TIME_ZONE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:74: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:75: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:76: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:77: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:78: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:79: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_URL_HANDLER_FACTORY = (JRFillParameter)pm.get("REPORT_URL_HANDLER_FACTORY");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:80: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:81: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:82: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:91: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_rate = (JRFillField)fm.get("rate");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:92: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_item_id = (JRFillField)fm.get("item_id");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:93: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_name = (JRFillField)fm.get("name");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:94: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_manf_company = (JRFillField)fm.get("manf_company");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:103: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:104: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:105: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:106: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:107: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");
    please help me this regard

    Hi Steven,
    The results of trying this generated the same DCOM error again at the early hours of this morning as it's always done.
    The exact error generated from the server is listed below:
    Event Type: Error
    Event Source: DCOM
    Event Category: None
    Event ID: 10016
    Date:  3/12/2014
    Time:  4:31:30 AM
    User:  NT AUTHORITY\NETWORK SERVICE
    Computer: HAL-SPS
    Description:
    The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
    {61738644-F196-11D0-9953-00C04FD919C1}
     to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20).  This security permission can be modified using the Component Services administrative tool.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Given this machine isn't on the domain and we have to log into it as local administrator, the local administrator account has been granted local launch and local activation permissions under IIS WAMREG admin on the server.
    Was this the correct account, or should I have granted permissions to another account?
    SB.

  • To generate PDF using BI APIs and loadjava utility

    Hi All,
    I am trying to generate PDF using BI APIs(FOProcessor etc).
    I have generated XML data through the PL/SQl procedure and storing it in a file. This file is loacted in database tier.
    The APIs is used through a simple java program which is application tier. To test the process, I had to manually provide the XML file to the java class in order to generate PDF and it does generate.
    Now the issue is I need to load the java class to the database so that everything gets automated(loadjava utlility).
    when i try to do it, it give no class found error.
    Do I need to load the referenced classes in the java file , that is, FOProcessor,RTFProcessor,FOUtility,jdbc.driver.OracleDriver as well?
    If the above is not possible, is it possible to reference a file in database tier from application tier so that i can use the XML file as input the java class in application tier.
    thanks,
    Srik

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • Is the license terms allow you to generate pages using Wizzard Business Catalyst and publish them on other servers. As the export side and run?

    Is the license terms allow you to generate pages using Wizzard Business Catalyst and publish them on other servers. As the export side and run?

    Our iPads work just fine behind a firewall and the Lightspeed filtering solution in an education environment.  If your proxy solution cannot be configured to support IOS maybe you should be looking at another vendor.  Products such as 8e6 and Lightspeed can be deployed without the use of a traditional proxy set up.
    http://www.m86security.com/products/web_security/m86-web-filtering-reporting-sui te-deployment.asp
    http://www.lightspeedsystems.com/products/Web-Filter.aspx

  • How to use wscompile to generate code using a WSDL file?

    I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
    it says that wscompile can generate code using a WSDL file..:
    <quote>
    Table 11-3 wscompile Options
    -import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
    </quote>
    and the wscompile software says this:
    <quote>
    C:\>wscompile
    -import : generate interfaces and value types only
    </quote>
    can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
    Thanks

    I'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
    I issued the following command:
    wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
    But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
    warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
    warning: Service "EmployeeDatabase" does not contain any usable ports
    the config.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl name="EmployeeDBService"
    location="EmployeeDB.wsdl"
    packageName="com.sun.xml.rpc.xml.EmployeeDB">
    </wsdl>
    </configuration>

  • How to generate and use Matlab(R2007) .dll's in Labview

    Is there a step-by-step example on how to generate and use Matlab(R2007)  .dll's in Labview.
    Our experimenal hardware is LabView-controlled and we want to pass
    images/2d intensity arrays to a more complex matlab program that will
    return an array of extracted data which we want to use in LabView again.
    Thank you
    Carsten

    I recommend having a wrapper created around the matlab dll that converts the datatypes for you. There is a lot of fooling around with pointers involved which is very difficult in LabVIEW. btw, this got much more complicated after Matlab 7. Essentially, you need to convert your inputs into mxArrays, and then add those mxArrays to an mxArray list that you pass by pointer into the matlab dll. You also need to create a mxArray list for the outputs from the dll which you will need to extract your data out of before converting it back into a LabVIEW supported datatype. It's a big hassle. We do this pretty often, but we have created a c library that handles all the conversions, so it is feasible for us. Unfortunately, I can't share the library, but hopefully this information will help you get where you want to be.
    Like I said, it would be easier if you can just get a c developer to write a wrapper for you to keep it simple in LabVIEW. Alternatively, you might try getting your m-code to work in Mathscript.
    Chris

  • I need to generate barcodes using Illustrator software. How can I do this?

    I need to generate barcodes using Illustrator software. How can I do this?

    AI has no specific provision for a barcode/ QR code generator. you simply use a barcode font and type it like any other text.
    Mylenium

  • Transport Query generated program using SQ01

    Dear All,
    Please let me know how to transport a query generated program using SQ01. I have created a program from SQ01 query creation and assign a tcode to this program. When the program was generated there was no request create so how to make a request to transport this generated program to PRD.
    Thanks in advance.

    Hi,
    for query transport (export/import or download/upload (which I prefer because it can be done between different SAP systems where no transport mechanism exists)) go to SQ02 and tick the button that looks like a car.
    The t-code assignment (and maybe the the T-code is added in an area menu using SE43) needs to be transported seperately (if you use downlaod/upload as this does not create a transport request.
    best regards, Christian

  • How to modify VC generated app using webdynpro

    hi all
           I am trying to modify VC generated source using webdynpro, basically trying to find out if it is possible or not.
           I complied a sample application using webdynpro compiler in VC and deployed in the portal server, then i downloaded the genrated zip file from portal server, but to find that the structure is not webdynpro compatible.
          i would like to know is this the correct approach?or is there any other way if it is possible to do so.
    thanks
    praveen

    Modifying Visual Composer using webdynpro is generally not something you can do. You can include webdynpro UI elements and components within a Visual Composer model by using eventing. I give an example here for a BI web application UI element and Visual Composer. This can very easily be extended to webdynpro.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a40f2f7-0c01-0010-d69f-c6317c5165cd

  • Generating XML using oracle10g (plsql)

    Hi,
    I have to generate XML using plsql, please somebody help me in this.
    Query is as below.
    First I need to select few columns COL1,COL2 AND COL3 from table let say TEMP1 on the basis of PK_ID.
    this selected columns should be in XML document which I need to return as OUT parameter.
    Now on the basis of COL1 fetched in the above query from TEMP table
    I need to fetch all the columns COL4,COL5 AND COL6 from its child table let say TEMP2 on the basis of COL1.
    Please suggest.

    SQL> select  dbms_xmlgen.getxml('select * from emp where deptno = 10')
      2    from  dual
      3  /
    DBMS_XMLGEN.GETXML('SELECT*FROMEMPWHEREDEPTNO=10')
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
      <EMPNO>7782</EMPNO>
      <ENAME>CLARK</ENAME>
      <JOB>MANAGER</JOB>
      <MGR>7839</MGR>
      <HIREDATE>09-JUN-81</HIREDATE>
      <SAL>2450</SAL>
      <DEPTNO>10</DEPTNO>
    </ROW>
    DBMS_XMLGEN.GETXML('SELECT*FROMEMPWHEREDEPTNO=10')
    <ROW>
      <EMPNO>7839</EMPNO>
      <ENAME>KING</ENAME>
      <JOB>PRESIDENT</JOB>
      <HIREDATE>17-NOV-81</HIREDATE>
      <SAL>5000</SAL>
      <DEPTNO>10</DEPTNO>
    </ROW>
    <ROW>
      <EMPNO>7934</EMPNO>
      <ENAME>MILLER</ENAME>
    DBMS_XMLGEN.GETXML('SELECT*FROMEMPWHEREDEPTNO=10')
      <JOB>CLERK</JOB>
      <MGR>7782</MGR>
      <HIREDATE>23-JAN-82</HIREDATE>
      <SAL>1300</SAL>
      <DEPTNO>10</DEPTNO>
    </ROW>
    </ROWSET>
    SQL> SY.

  • How to append the declaration tags to generated xml using Xquery

    Hi,
      How to append the declaration tags to generated xml using Xquery.generated XML is like
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Here I want to append the <?xml version="1.0" encoding="ISO-8859-1"?> and the result xml should be
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Can anybody help to do this.
    Thanks
    Mani

    First assign this element to a temp variable
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Now in XQuery expression create a new variable
    <?xml version="1.0" encoding="ISO-8859-1"?>
    $temp

Maybe you are looking for

  • 23" Apple Cinema Display and accurate color?

    I use a dual 2.3GHz Power Mac G5 along with a 23" Apple Cinema Display fro graphic design work. I used to use a Pantone Color calibration device when I was using third-party monitors with my Macs. Now that I have the Cinema Display, I haven't bothere

  • NoClassDefFoundError durin ejbc

    Hi, I'm getting this error while running ejbc on one of our app jars. The class for which this error occurs is in the app jar itself. Can any one help me to figure out why this is happenning? The command line is similar to the following java -Dweblog

  • Report executing in background

    Hi All, I am able to run the report in background. But the problem is i am not able to see the output in the desired way. I have set the back ground job in se38 transaction. then i am going to SM37 and selecting the job and going to spool but i am no

  • IPsec tunnel to a windows 2008 R2 server

    I have an application that uses FTP to a win2k8r2 server. I'd like to setup an IPSEC tunnel to the windows server to encapsulate this traffic. I've configured IPSEC in Solaris before, but not in LINUX. The implementation eludes me. I've searched onli

  • How to add cursors on polar plot

    I want to add cursors on polar plot just like the XY graph has. I am new to LabVIEW and want to be able to move those cursors by mouse movements and get the respective Angle and Magnetude values. Since the polar plot is a picture I am unable to do th