How to create JAXB bindings in jdeveloper 11g for the portlet event payload

I have three projects in JDeveloper 11.1.1.6:
- PortletProducer - provides some portlets
- PortletUser - makes use of these portlets
- SomeData - provides serializable classes for portlets event payload
I configured SomePortlet in PortletProducer to send events of serializable type SomeDataClass (from SomeData project), but whenever i am trying to send event of this class, i am getting an exception:
oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: java.lang.IllegalArgumentException: Event [someEvent] value is of type [class somedata.SomeDataClass] which does not have a valid JAXB binding configured; configuration may be done in the WEB-INF/portlet.xml or WEB-INF/wlp-framework-common-config.xml files..;
But i have no idea how to perform such bindings in portlet.xml or wlp-framework-common-config.xml (the latter file is also missing in all three projects, while the former exists only in PortletProducer project).
I have a JAXB xsd file created with schemagen.sh (from a jaxb zip) for SomeDataClass, but what do i do with it in order to create a JAXB binding in JDeveloper?
Thanks.

Are you trying to expose an existing system inside of WCS?
If this is the case, you should investigate "External Applications":
http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10149/config_svcs_prod_extapp.htm#WCSUG6698
This is an out of the box way of embedding external systems, with seperate login pages etc. I think this will achieve what you are trying to do yourself. It even allows for parameterised URLs

Similar Messages

  • How to create a custom task in SRM for the standard task

    Hi Gurus,
    How to create a custom task in SRM for the standard task  eg: TS10407929
    regards,
    George.

    from PFTC itself. Same.

  • Creating a project in Flex Builder for the Hybrid Store sample Application

    Hi all,
    How to create a project in Flexbuilder for the hybrid store
    sample application.
    I downloaded the source code of hybridstore application,
    Now i have to create a project for it to run that application
    in my system,
    will you please tell me how to create a project for this
    sample.
    I have also read the readme.html file. but i could not follow
    exactly what they are saying.
    what i did is, I unzipped the source code into a folder
    hybridstore.
    I opened the flexbuilder : File -- new -- flexproject ( i
    have selected) then i have given name to my file (hybridstore) ,
    and set the path to the hybridstore folder where the source code
    exists.
    but it as created hybridstore.mxml file also.
    it is not working.
    will you please till me how to create project for this
    application.
    I have created project for other samples like restaurent
    finder, dashboard. they are working fine.
    I got problem with this sample only.
    Thanks in advance
    Regards
    Avanthika

    Hi,
    thanks for your reply,
    I have tried to open using file import, but still it is not
    working.
    in the readme file for this application , contains how to
    Creating a project in Flex Builder for the Hybrid Store
    application:
    Name your default application catalog.mxml.
    Prevent Flex Builder from generating an HTML wrapper: select
    Project > Properties. Select the Flex Compiler page, deselect
    the Generate HTML wrapper file option .
    Create a Run configuration for your project but deselect the
    Use defaults option and instead assign the Run setting to the
    hybridstore.html in your project's bin directory.
    To enable debugging of the Hybrid Store application you must
    create a copy of hybridstore.html. Open it in an editor (you can
    right-click on the file and select Open With > Text Editor).
    Find the line that says "src", "catalog" and change it to "src",
    "catalog-debug". Assign the Debug setting to this new HTML file.
    As i am new to flex , i could not know how to do this.
    please help me how to do this.
    regards
    Avanthika

  • How to connect sybase database in JDeveloper 11g using JConnect

    Hi
    How to connect sybase database in JDeveloper 11g using JConnect? Please help.

    User,
    It would help if you explained Sybase Jconnect instead of leaving us to google.
    At any rate, it appears you need to create a library definition in JDeveloper, add the appropriate JConnect JAR files to the library's classpath, and then add the library to your project.
    John

  • I am not able to create ESB project in Jdeveloper 11g

    I tried to create ESB project in Jdeveloper 11g and not finding.
    3.3.1 How to Create an ESB Project
    After you have created an application, create the ESB project that will contain the ESB services using Oracle JDeveloper ESB Designer.
    To create an ESB project:
    In the Applications Navigator, right-click the application to which you want to add a project and then choose New Project.
    The New Gallery opens.
    Select ESB Project under General Projects, and then click OK.

    Here is what i see in Jdeveloper help.
    Comment: Questions on ESB configuration with demo, or specific steps to recreate ESB components of the demo, are described in the SOA Quick Start or Tutorial. ESB info in this guide is more of an overview of the process. Note that ESB is installed with SOA suite and that ESB does not need separate configurations and uses connections defined for the SOA demo

  • How to create Authorization policy using OIM 11g API

    Hi,
    Could you please let me know how to create Authorization policy using OIM 11g API.
    Thanks

    Constructing A Policy Programmatically
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27154/cons_policy_prog.htm#CHDHACBF
    api ref for PolicyStore
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e22649/oracle/security/jps/service/policystore/PolicyStore.html#createApplicationPolicy_java_lang_String_
    something like below code to start with
    try {
    JpsContextFactory ctxFact;
    ctxFact = JpsContextFactory.getContextFactory();
    JpsContext ctx;
    ctx = ctxFact.getContext();
    PolicyStore ps = ctx.getServiceInstance(PolicyStore.class);
    if (ps == null) {
    // if no policy store instance configured in jps-config.xml
    System.out.println("no policy store instance configured");
    return;
    ApplicationPolicy ap = ps.createApplicationPolicy("Trading", "Trading
    Application","Trading Application.");
    } catch (JpsException e) {
    }

  • How to create web project in JDeveloper 11

    Hi. I've downloaded the base Java edition of JDev 11 (the one that's 55 MB) and am wondering how to create a web app; didn't need the ADF stuff. I created a WEB-INF folder via Windows Explorer in the project's folder but the app doesn't recognize it. How do you create a web project in this edition of JDev 11's base Java edition? It also doesn't seem to be an option when you choose New. Thanks.

    Web Project is an option in the Studio edition, not in the Java edition.

  • Best tutorial using open source technology with jdeveloper 11g for beginner

    Best tutorial based on Jdeveloper 11g myfaces, Spring , hibernate and oracle xe or mysql using tomcat server.
    Is there any tutorial like followed link. Using jdeveloper 11g.
    http://www.javaguicodexample.com/javawebjpajsfmysqldatabase12.html
    also like netbean tutorial in jdeveloper 11g.
    http://netbeans.org/kb/67/web/jastrologer-intro.html
    http://netbeans.org/kb/67/web/jastrologer-validate.html
    http://netbeans.org/kb/67/web/jastrologer-jsfformtags.html
    Jdeveloper 11g always go with wizard. I personally like visual jsf desinger of jdeveloper.
    But other thing i want to code. To understand properly.
    I am following following tutorial in jdeveloper 11g
    http://wowjava.wordpress.com/2010/01/21/jsf-database-application/
    Edited by: prafull on May 26, 2010 5:37 PM

    There isn't an end to end tutorial with the stack you are looking at, but:L
    You can start with this tutorial that uses EclipseLink for JPA to build the model layer:
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ejb/ejb.html
    Here is a little example of how you can use Trinidad components (open source) in JDeveloper 11g for visual JSF development:
    http://blogs.oracle.com/shay/2009/02/using_trinidad_in_jdeveloper_1.html
    using MySQL would just mean adding the MySQL JDBC driver to JDeveloper, and to the integrated WebLogic - like this:
    http://jobinesh.blogspot.com/2009/06/adf-with-mysql.html

  • How to create a custom layout set to display the KM folders...

    Could someone please tell me how to create a custom layout set to display the KM folders?
    Thanks,
    Sudha.

    Hi Sudha,
    Please check the following blogs whick will guide you step by step.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4123
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3071
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/c91b5610b65b4aa8204d09384d156b/frameset.htm
    If helps reward points
    cheers
    dev

  • How can I create a new E-mail address for the Marketing Manager

    Hullo,
    how can I create a new E-mail address for the Marketing Manager (i.e. marketing professional role in SAP CRM) please.
    That when you go and create a new E-mail campaign you need to choose an E-mail form in addition to the E-mail address of the Marketing Manager.
    Kind Regards.

    Hi Alhussien
    Add it to his Position in the Organisational Model. Transaction PPOMA_CRM.
    Under there address section is an option to populate the email address.
    Regards
    Arden

  • How to prevent JaxB creation of 2 Interfaces for each Element?

    hi,
    does any body know how to prevent JaxB creation of 2 Interfaces for each Element (The Content Interface and the element interface)?
    I want to configure JaxB to use only one Interface and only one implementation Class.
    Thank's,

    I am sorry I can not answer your question, I have got the same problem. Could you please email me to
    [email protected] when you know the answer, please.
    I have a question for you. When and complex type is validated, I get the object which contains the error. ( or objects ).
    However. How do know the position in the actual parent object. basically. Is there a way to know exactly the position of that attribute in that object. I need to store errors strings.
    The first problem derives from this one:
    It is not possible to execute validate function for a primitive attribute inside an structure.
    I would appreciate your help.
    Thanks.
    Gustavo.

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • How To Create A Technical And Business Systems For Web AS ABAP ???

    Hi Experts,
    How To Create A Technical And Business Systems For Web AS ABAP ???
    Please Let me Know All the Step-By-Step Process to Create ????
    Points Will be Given
    Regards
    Khanna

    Hi Sumit,
    When U Told the thing that first time to execute the RZ70 and All i Did this in XI System
    So I got An Entry for the Technical System for XI System.
    Now i Deleted that and Executed RZ70 in R/3.
    When I Executed RZ70, I got this Error.
    <b> "RFC Call failed: Error Opening an RFC Connection "</b>.
    Now I am Unable to see Any Technical System  Under Web As ABAP. It's Showing Empty Now.
    Please Let me know
    Regards
    Khanna

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

Maybe you are looking for