Depth of the CBC 'File must be on a project source path' - EPCO 11.1.1.5.0

Summary
I'm unable to use the first WSDL contract - > generation provided by EPCO when the source file is not at the root of the Service project.
MyProject / 'src' works very well.
MyProject / jumps ' src/main/java' <-this is the structure used by Maven WTP project. The WTP, Spring, Maven, EPCO combination would be a combo of Holy Grail for webservice scaffolding... no work around brilliant?
(... On the edge of my seat!)

Steps to reproduce
1. create a new Web project dynamic with a source folder "src/main/java' (instead of the default 'src').
2. Add WebLogic server/client, Java 5 Annotation processing of facets...
3. create a new WSDL (the default NewOperation scaffolding will suffice)
4. right click-> WebLogic Web Services WSDL file-> generate Web services
5. click on "Finish" to generate the service

Result: NullPointerException (route battery see below)

Alternative measures
1. follow steps 1-4 above
2 turn the box "Dungeon created by the Ant script" to force validation

Result: 'the file must be on a path to the project source.

Stack trace
java.lang.NullPointerException
at oracle.eclipse.tools.webservices.wsdlc.WsdlcArguments.getServiceImplementationIFile(WsdlcArguments.java:164)
at oracle.eclipse.tools.webservices.wsdlc.WsdlcAntScript.refreshList(WsdlcAntScript.java:37)
at oracle.eclipse.tools.webservices.ant.WlsAntScript.validateFileState(WlsAntScript.java:304)
at oracle.eclipse.tools.webservices.wsdlc.WsdlcAntScript.validateFileState(WsdlcAntScript.java:49)
at oracle.eclipse.tools.webservices.ant.WlsAntScript.execute(WlsAntScript.java:253)
to org.eclipse.ui.actions.WorkspaceModifyOperation$ 1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
to org.eclipse.jface.operation.ModalContext$ ModalContextThread.run (ModalContext.java:121)

You should be able to work around this problem with the following workaround:

-the project to build the path (properties |) Java Build Path | Source tab) add a temporary record of simple level, ex: tmp

-of wsld, script ant "wsdlc_build.xml" (Pick tmp under the source folder)
NOTE: deselect the option "Run Ant"

-in wsdlc_build.xml update destImplDir = "${basedir} / src/main/java.

-Right click on wsdlc_build.xml > run as > Ant Build...
> tab target, deselect fork_build and check 'building '.

> On the Classpath tab, you can add WL_HOME/server/lib/weblogic.jar

-run ant script

FYI: you may notice src\main\java double registration in the Project Explorer. This could be a WTP problem I will investigate and open a bug in eclipse.

HTH!

Tags: Java

Similar Questions

  • The paging file must be on SSD or HARD drive?

    * Original title: hard drive swap file

    The paging file must be on SSD? or HARD drive?

    Thank you

    I think that it is better to use the one we have the highest speed of read/write. In most cases, it would be the ssd. There plenty of room as you have good RAM. In my case it is 24 G, so it maybe is a consideration as well, if you are limited on space. Probably, it would not hurt to change it to one that you you do not for the moment and then see if it starts faster on the hibernation or stops faster. In fact, I have the file page disabled on my laptop to save space with a lot of other consequences that can't Hibernate.

  • Printing of the .pdf of the 2013 project file will stop when the name of the file must be written. Project 2013 crashes. Anyone know what the problem is between 2013 project and Adobe Acrobat 9?

    Printing of the .pdf of the 2013 project file will stop when the name of the file must be written. Project 2013 crashes. Anyone know what the problem is between 2013 project and Adobe Acrobat 9?

    The family of products Acrobat 9.x passed in mid-2013 "end of Support".
    Using Acrobat 9 of MS Project via PDFMaker stops with Office 2007.
    To 2013 Office support, you must use Acrobat XI (11.0.1) or newer.

    A good reference:
    https://helpx.Adobe.com/Acrobat/KB/compatible-Web-browsers-PDFMaker-applications.html

    Acrobat Pro and Standard DC are what are currently available for purchase.

    Be well...

  • OSB: How to read the xml file, which is in OSB project

    Hello

    We have a generic proxy (PG1) reporting and deals alerts, this proxy is called in the pipelines of proxies anothers (P1... PN) in several projects. Each client proxy (P1... PN) PN) before call proxy PG1, configures a variable with syntactic alert or report.

    We thought it would be a good idea to store the specifications for all the proxies of a project as an xml file, so that the proxy PG could read the xml file. This file will be in the OSB project.

    The questions are:
    -proxy can read a xml file that is in the OSB project?
    S ' Please, are all the documentation for this?

    Thank you

    Kind regards

    You can always do customization to work with the properties defined in a XML xquery. The key to this is to use the customization of reference instead of find and replace the customization, similar to the service account customizations.
    Keep your real estate to as properties_dev of env xquery specific xmls, properties_sit etc then apply customization of service proxy xquery reference reference specific correct env.

  • How to integrate the htm files translated into an existing project?

    I work with RoboHelp HTML 7.03 and have inherited a webhelp project that was created with an earlier version (RoboHelp for Word 5.0 or an earlier version). Even before I had the chance to get wet feet and having never used before RoboHelp, asked me to send the project for the translation into French. Not knowing the files to send, I've zipped all and sent it. Translation company returned files htm, hhc and perfect.

    Now, my problem is how can I get these translated files in my project so that I can generate a system of online help that I can give to my developers?

    I read the article by Ben Minson and have tried to follow him with the project, I found myself with that. No chance! I read also elsewhere where people just made copies of their project and just drop the files translated into place and place the English files. I have not tried because I know exactly how to copy the project: copy to a new location or create a new project and copy the specific files from the old project?

    I would greatly appreciate help or advice I can get on this problem.

    Thanks in advance,

    Bill

    htm, hhc, and perfect files is usually exactly what needs to be translated.

    If that's what they delivered...

    -Make a copy of the English help, with Windows Explorer and rename the root folder, so that you can clearly see it's French project.

    -Check that the files in a folder structure that matches the original. If this is the case, copy the htm, hhc files and copied perfect helps the project.

    -Open the updated with RoboHelp help project. Check the settings of the project, under the file menu and change the necessary help to the French language. Verify that the default output is what you want (probably WebHelp).

    -Generating assistance.

    That should do it.

  • How to integrate Antivirus with the AAU, whenever the user check the UCM file must scan it for any threat then only check it at the repository?

    Who, where and how the antivirus must be installed to reach our goal.

    Visit this link for the full implementation of your usecase:

    Oracle WebCenter 11 g with Oracle 11 API gateway g contained virus protection

  • Need the pdf file must be stored directly in the database with the help of jasper

    I use the package of integration of jasper... www.opal-consulting.de
    using apex 4 and am now able to generate the invoice pdf... with the help of jasper and store it in a database... Board.

    I need to generate the pdf in the background... without dispalying invoice in my screen...
    Without having to download on my computer... And store directly in the database table.
    *.. *

    Is this possible...
    All information is very appreicated.


    Here is my part existing code... Kindly Guide.


    DECLARE
    l_blob BLOB;
    l_mime_type VARCHAR2 (100);
    BLOB l_blob2;
    l_mime_type2 VARCHAR2 (100);
    MPort varchar2 (200);
    mrserver varchar2 (20);
    BEGIN
    Warn('fsubdno'||:P103_SUBSCRIBERDNO);
    commit;
    mrserver: = rserver();
    MPort: = ' http://'|| mrserver | ' / JasperReportsIntegration/report ';


    ------------------------------------------------------------------------
    -generate the report and return to BLOB
    ------------------------------------------------------------------------
    xlib_jasperreports.set_report_url (mport);
    Warn ('firststrikeeee');

    xlib_jasperreports.get_report
    (p_rep_name = > 'reinvx',)
    p_rep_format = > "pdf."
    p_data_source = > 'failures. "
    p_rep_locale = > 'de_DE ',.
    p_rep_encoding = > 'UTF - 8',
    p_additional_params = > ' & Psubscribe_no ='. : P103_SUBSCRIBER_NO | ' & Psubscribed_no ='. : P103_SUBSCRIBERDNO,.
    p_out_blob = > l_blob,
    p_out_mime_type = > l_mime_type
    );
    WPG_DOCLOAD.download_file (l_blob);
    Warn ('secondstrikeee');

    WPG_DOCLOAD.download_file (l_blob);
    BLOB_LOADB (MID (),: P103_SUBSCRIBER_NO, NULL, 'RENEWAL_INVOICE', 'RENEWALINV' |: P103_SUBSCRIBER_NO, L_MIME_TYPE, L_BLOB);
    ------------------------------------------------------------------------
    -free resources
    ------------------------------------------------------------------------
    DBMS_LOB.freeTemporary (l_blob);
    ------------------------------------------------------------------------
    -judgment of the APEX page
    ------------------------------------------------------------------------
    apex_application.g_unrecoverable_error: = TRUE;
    EXCEPTION
    WHILE OTHERS
    THEN
    xlog (SQLERRM, "PRC_GET_REPORT_TUNNEL", "ERROR");
    LIFT;
    END;

    Published by: susf on 16 July 2012 08:47

    Hello

    try to do a procedure from your original like this code:

    procedure make_pdf(p_subscriber_no in number, p_subscriberdno in number)
    is
       l_blob blob;
       l_mime_type varchar2 (100);
       l_blob2 blob;
       l_mime_type2 varchar2 (100);
       mport varchar2(200);
       mrserver varchar2(20);
    begin
       warn('fsubdno'||p_subscriberdno);
       commit;
       mrserver := rserver();
       mport := 'http://'||mrserver||'/jasperreportsintegration/report';
       -- generate the report and return in blob
       xlib_jasperreports.set_report_url (mport);
       warn('firststrikeeee');
    
       xlib_jasperreports.get_report
          (p_rep_name => 'reinvx',
          p_rep_format => 'pdf',
          p_data_source => 'chess',
          p_rep_locale => 'de_de',
          p_rep_encoding => 'utf-8',
          p_additional_params => '&Psubscribe_no='||p_subscriber_no||'&Psubscribed_no='||p_subscriberdno,
          p_out_blob => l_blob,
          p_out_mime_type => l_mime_type
          );
       blob_loadb (mid(),p_subscriber_no,null,'renewal_invoice','renewalinv'||p_subscriber_no,l_mime_type,l_blob);
       -- release resources
       dbms_lob.freetemporary (l_blob);
    exception
       when others
       then
          xlog ('prc_get_report_tunnel', sqlerrm, 'error');
          raise;
    end;
    

    Then, you can call this procedure in a database job that you create with an apex as this process:

    begin
      dbms_scheduler.create_job (
        job_name        => 'make_pdf_job',
        job_type        => 'PLSQL_BLOCK',
        job_action      => 'begin make_pdf(' || :P103_SUBSCRIBER_NO || ',' || :P103_SUBSCRIBERDNO|| ') end;',
        start_date      => systimestamp,
        repeat_interval => null,
        end_date        => null,
        enabled         => true,
        comments        => 'Make pdf job from Apex page 103.');
    end;
    

    Kind regards
    Erik-jan

  • Clarity on the JSX FILES as a Prelude Eclipse project

    Hello

    When I created a project of extension of prelude (say SamplePrelude) in Eclipse, I have two. JSX files. One is "Prelude.JSX" and the other is ssptzprelude.jsx.

    What is the difference between these two files.

    Please help me with this.

    I've never used Eclipse to create an extension. But the extension of the existing, it is usually a file 'Prelude.JSX '. And not "ssptzprelude.jsx". Can you just delete the file and check if it works?

  • The SWF file HTTPS traffic is visible without source Flex?

    I have a Flex application that uses HTTPService HTTPS URL (such as myService.url = "https://example.com/path/to/resource" ""). When I deploy this application but do not provide the source code, is there some way that a hypothetical attacker could find the URL or some other details without decompile SWF? In other words, a tool such as Fiddler or Charles Proxy could be used to intercept HTTPS traffic? (These tools can do for traffic from the browser but seem to fail for Flash Player, even if I install the self-signed certificate that these tools typically use a trust.)

    Thank you

    Borek

    Well, if it runs in a browser, FireBug in Firefox's 'see' and inform of all connections and as I saw there is a full URL.

  • Corrected the host file corrupted, now showing 2 host files in XP

    I have a corrupt host file and 2 host files have now for some reason any. What to do to fix this?

    After explaining all this several times, here are some notes:

    The hosts file is a read-only file, hidden system.  It is just a text file that you can manipulate with WordPad, Notepad or any text editor.  Before you modify the hosts file, make a copy of the current in case you need to restore the original.

    The hosts file is (or should be) a file read-only, which means that if change you it, you will not be able to save the changes until you remove the read only attribute of the file.

    You may be able to create a new one or reset your hosts with Microsoft Help file:

    http://support.Microsoft.com/kb/972034 (this does work as expected the last time I tried).

    If you use the Fix It from Microsoft, you will have no hosts file when you're done (which is not necessarily a bad thing) so you can just read and follow the instructions to find out how to fix it yourself.

    Some third-party software analysis tools (like Spybot) may add entries to the hosts file on purpose to block your browser from loading WWW websites completely or block ads from certain sites WWW.  They claim to have a list of sites that most of the people want to block and insert them into your file hosts for you.  You can always delete the entries in the hosts file manually if you wish.

    Another good option to block ads sites is to use Firefox with the Adblock Plus extension (it is updated regularly with new sites).  If you use that combination, you don't have to worry about your hosts file and these two together really do a good job.

    Malware can also add entries in the host file to redirect the browser to another site than the one you really want to visit WWW.

    For example, if you try to browse to www.google.com, you can find yourself on a WWW site that is inappropriate or simply an advertisement for a product you never heard and do not want.  Your browser will always be redirected away from www.google.com until correct you the hosts file.

    The malware can also modify your hosts file to block your browser to go to Web sites where you might find a solution for how to remove the malicious software.  The malware sometimes knows what you're going to try to find and remove, so it will prevent you to do so.

    If your hosts file has been manipulated by malware, edit the hosts file does not remove the malware.  You will still need to scan your system with software tools to make sure that the malware has entirely disappeared.

    Malware analysis tools can also remove the malicious software and leave the bad entries in the hosts file.  Analytical tools cannot tell if the entries in the file hosts were made on purpose or by malware you still may need to edit the file hosts manually in case of redirection of the browser once the malware has been removed.

    Some analytical tools will report changes to the hosts as a suspect file and allow you to review the changes and allow you to decide whether the changes are appropriate, and to take action.

    Sometimes, analytical tools cannot tell if the entries in the hosts file have been put there by malicious software or you put there on purpose so cannot do not report any problems with the hosts file.  This does not mean that the hosts file has not been adjusted by malicious software.

    A hosts file is not required for your browser to operate.  If you suspect a problem with the hosts file, you can rename the hosts file and test your browsing without it.

    Always reboot your system and the navigation test after making changes to the hosts file.

    To manipulate the hosts file, you need to make hidden files not hidden and remove the attribute only read the hosts file.

    In Explorer, navigate to the following folder (assuming that Windows is installed on your C drive):

    c:\Windows\system32\drivers\etc

    Click on tools. Of files, display options.  In advanced settings, enable (check) the box option for:

    Display the hidden files and folders

    Click OK.

    The hosts file has also no extension (for example, .exe or .doc) and it may be useful to also see the file extensions for all files in
    the folder.  While you adjust the display of folder options, bring up the file extensions.

    Click on tools, Options, view.  In advanced settings, clear (uncheck) the box:

    Hide extensions of known file types

    Click OK.

    Now the hosts file must be visible and you can also see the file extensions.

    Make a copy of the current hosts file and name the copy something he can remember so that you can find it later and cancel
    any change if the changes don't work or things get worse.

    The host file is usually a single reading, so to change it, you must remove the read-only attribute:

    Make a right-click the hosts file, properties, uncheck the box that says:

    Read-only

    Click OK.

    Now you can edit the hosts file with a text editor (Notepad, Wordpad).  Be sure to save the hosts file after any changes.

    You will need to decide what is in your hosts file.  The default hosts file has only one entry (and a lot of comments) so if you think that the hosts file are the part of your question, you can remove all but the default entry and save the file.

    Always reboot your system and the navigation test after making changes to the hosts file.

    You should make hosts read-only folder again when you are finished making changes.  Obviously some programs or malware do not pay attention to the attributes of a file read-only, but it is advisable for the host file to be unalterable.

    If you want to, reverse explore changes to hide system files and extensions of known file types.

    If you think your hosts file is irretrievably, replace the contents with the default values of Windows.

    The default for Windows XP hosts file looks like this:

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address must
    # be placed in the first column, followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    space #.
    #
    # In addition, comments (such as these) may be inserted on individual
    # lines or following the name of the machine indicated by a symbol "#".
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost

    There are places on the Internet to download information to your hosts file which is based on what other people think your hosts file must block or allow for your Internet browsing.  Sometimes that works very well, but you now need to know more on the manipulation of the hosts file now so that you can decide what's best for your environment.

    Here's some additional reading on how to manipulate your hosts file:

    http://www.MVPs.org/winhelp2002/hosts.htm

    This is a user-friendly tool with a graphical interface (GUI) to help you work on your hosts file:

    http://www.Funkytoad.com/index.php?option=com_content&ID=13

  • How to force the jad file to be regenerated for each version

    I use Eclipse with the BlackBerry plugin.  Whenever I build the project active BlackBerry (Alt + B), it seems that Eclipse rewrites the file jad (the timestamp on the changes to the file), but the contents of the jad file is not re-written!

    I use the version string in the BlackBerry project properties to contain the version of my program.   But I find that even if I change the version string in the Properties window (and I can verify that the value has changed by looking in the file jdp), when I build the active project of BlackBerry, the MIDlet-Version string in the jad file does not change.  Yet if I delete the jad file and rebuild the project BB, then the jad file is written with the correct version string.

    It would be really nice if the build has successfully written the jad file, but short, how can I automatically have the deleted jad file?  As a matter of procedure, I usually do a project to clean and build together, before you build the active project BB.  Is it possible to change the Eclipse-specific procedure to remove the old jad file?  Is there a solution other/better?

    In addition, RIM - the fact that you do not write correctly the version string for the jad is a BUG!

    Thanks for the reply, but no, this link was not helpful.  There is no what I already know and have already said, with one exception - the problem, they talked was in the JDE and they suggested using the plugin - BAD NEWS - the plugin has the same BUG.

    What I did to make it work, it is write a cmd file that removes the jad and a few other files and set the absolute path to the cmd in the field of pre-build of project properties.   NOTE that the commands of the del in the cmd file must all also the absolute path.  I tried initially have an order of cd's as the first line of the cmd file, but that has not changed the directory - all the following commands continued to be run from the directory where the file of jdw.  I also tried put an led with an absolute path command in the field of pre-build directly (rather than using a cmd file).  Any work the del command.

  • PC crashed during 6 start Lightroom. Now open habit. Can not find the lock file

    Hello.

    My PC stops inexplicably while Lightroom 6 began and then just rebooted. (Windows 7 i7 PC)

    Now Lightroom does not start and a "Catalog Adobe" said dialog box could not be opened because another application has already opened it.

    A quick search on the internet said the locking file must delete, but I'm not. An Adobe help page shows me:[username]\Pictures\Lightroom\Lightroom 5 Catalog.lrcat.lock C:\Users\

    First of all, I'm on LR6 and my start up programs are on a small SSD. So if I navigate on this hard drive, then program file Adobe\Adobe Lightroom I see many files, then a may list files. None gives me a clue to what is a lock file or look like lrcat.lock.

    I'm not very savy on a PC and would be grateful of urgent assistance. I tried to uninstall the program and then reinstall, but in vain.

    Thank you very much.

    Hi andys62004617,

    lock file is located in the exact location as well as your catalog.

    Search under Pictures\Lightroom\ Catalog.lock of Lightroom and delete (do not remove the .lrcat files because it's your main catalog)

  • JavaScript to open the PDF file

    Hi all. First time poster here. I need to open a PDF file from a javascript that I run using wscript.exe. I also need to fill out some fields in form. I will create the Javascript file on the fly from an application I'm developing. The development environment is a system based script that does not use javascript, but it doesn't have the ability to make calls from the shell.

    So my goal is to create a .js on the fly file, and then open a PDF form and fill it out. I have already all the javascript code needed to fill out the forms, but I can't for the life of me how to communicate with Acrobat or Reader itself in order to run javascript.

    I can and have created records of FDF and then open the file with the Adobe application and that works very well, but the PDF file must be crafted to open the FDF file from opening, and I want to avoid this extra step. I want to be able to fill out the form directly from my application.

    The development environment is NOT C based ot Java-based, otherwise it would be a simple matter of using the API prescribed for them.

    Any ideas?

    You do not have Acrobat execute JavaScript from a file, but you can ask that it executes JavaScript from a string. Do this, use one of the several APIs, not a command line or shell call. VB is probably the best language as it fits perfectly with JavaScript. Whatever you do, you will need the Acrobat SDK. And none of this will work with the free Adobe, only Acrobat Reader.  (I don't know how it would be easy if your environment is based on Java).

  • How to recover a database after you add a data since the last file backup.

    How to recover a database after you add a data file to a tablspace existing since the last user managed backup.

    PS: I am aware that the user managed backups are not used and RMAN is used these days.

    At the stage of the mount: select name from v$ datafile;
    The last entry indicates a file named /xxx/xxx/.../UNNAMEDXXX.dbf

    Now

    ALTER database create datafile ' / xxx/xxx/.../UNNAMEDXXX.dbf' as 'path_where_you_want_to_add_the_datafile ';

    The name of the data file must match the name that added in production

    This will create a data file to the required location.

    Once the file has been created, you can continue with recovery.

  • create a tablespace without specifying the path to the data file and the name

    Hello

    Is it possible to create a tablespace without specifying the name and the path of the data file.

    For example: just specify the name of the tablespace and the size of the data file, the data file must be created in a default location with the default name? Is this possible?

    user13364377 wrote:
    Hello

    Is it possible to create a tablespace without specifying the name and the path of the data file.

    For example: just specify the name of the tablespace and the size of the data file, the data file must be created in a default location with the default name? Is this possible?

    The use of the files managed by Oracle
    Internally, Oracle uses standard file system interfaces to create and delete files if necessary for the following data structures:

    * Tablespaces
    * Online redo logs
    * Control of files

    Through initialization parameters, you specify the directory of file system to use for a particular file type.
    EXAMPLE:
    The following parameters are included in the initialization parameter file:

    DB_CREATE_FILE_DEST = ' / u01/oradata/sample.
    DB_CREATE_ONLINE_LOG_DEST_1 = "/ u02/oradata/sample.
    DB_CREATE_ONLINE_LOG_DEST_2 = ' / u03/oradata/sample.

    The following statement is issued at the SQL prompt:

    SQL > CREATE a DATABASE sample.
    SQL > CREATE TABLESPACE tbs_2 DATAFILE SIZE 400 M;
    SQL > CREATE UNDO TABLESPACE undotbs_1;

    check the link for more information:
    http://download.Oracle.com/docs/CD/B10500_01/server.920/a96521/OMF.htm

Maybe you are looking for