Packages, namespaces in CXF

I use CXF WebService and I hava a trivial problem.
When I generate Client code from wsdl I get all of generated class in one package.
How can I get hierarchical structure of generated classes?
Before I generate this wsdl from annotated java server code.
In CXF I use default jax-ws and jaxb
I tried various jax-ws annotations but without result.

I read this documentation to get familiar with XML DTD,
but when I tried to do what I mentioned above, I didn't
find answer for that.

Similar Messages

  • Issue with mail package - namespace

    Hi All
    I am trying to use mail package in my receiver mail adapter.
    The mandatory elements for using mail package are:
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
    <Subject>Hello</Subject>
    <From>sender email</From>
    <To>receiveremail</To>
    <Content>This is a mail</Content>
    </ns:Mail>
    How can i get the above specified namespace? How can i override my existing namespace with this new one?
    As i am using message mapping, I spicified message type's 'XML Namespace' field as "http://sap.com/xi/XI/Mail/30".
    But even this doesnt help.
    Thanks
    Chandra

    I am also trying to use the namespace.  All seems to be working but I do not get the e-mail message sent to me.  This what shows in my Technical routing payload.  (FYI had to replace the "at" sign with "-" for this posting due to the limits for the forum software.)
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
      <subject>824 test</subject>
      <from>edi-na.modine.com</from>
      <to>s.m.posnanski-na.modine.com</to>
      <reply_to>edi_support-na.modine.com</reply_to>
      <content_Type>text/plain</content_Type>
      <content>Hello</content>
      </ns:Mail>
    I am usingXSL as an attachment and have the floowing defined in Module.
    Processing Sequence
    localejbs/AF_Modules/MessageTransformBean
       CHAN
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    email
    Module Configuration.
    CHAN      Transform.ContentDisposition      attachment.filename="file.html"
    CHAN      Transform.ContentType      text/html;charset=utf-8
    This works fine when not using "Mail Package".  I want to use mail package to be able to have a dynamic subject line for the e-mail.
    Thanks.
    Scott

  • Draft proposal: Namespaces and CSS

    Hey all,
    This is a draft proposal for how we'll update CSS support to handle
    disambiguating classes via namespace. Feedback appreciated here for now so
    when we get to the formal mini-spec we can rush it through.
    Keeping in mind that most folks have indicated they don't use Type selectors
    much in CSS...
    - Namespace qualification is now required for type selectors in CSS style
    declarations.
    - Gumbo will use the CSS3 suggested syntax for declaring namespaces and
    prefixing type selectors. For the most common component namespace the
    default namespace can be used (ignore the actual namespace url value):
    @namespace "http://ns.adobe.com/flex/spark";
    Button { color: #990000; }
    Otherwise, prefixes can be specified for each namespace:
    @namespace "http://ns.adobe.com/flex/spark";
    @namespace cx "com.mycompany.*";
    Button { color: #990000; }
    cx|MyFancyButton { color: #000099; }
    - The namespace mappings that are currently used to map MXML tags to
    ActionScript class names will also apply to CSS3 type selectors. These
    mappings draw information from configured manifests in flex-config.xml,
    swcs' catalog.xml files, and local package namespaces (e.g. how in MXML you
    use xmlns:c="com.mycompany.*" to scope the package name for your custom
    component). Note that namespace/prefix mappings defined in MXML do not
    apply to the enclosing CSS.
    - Type selectors that are either not qualified by a namespace or do not
    resolve to an ActionScript class linked into the Application cause a warning
    at compile time.
    - The version compatibility flag forces the compiler to ignore type selector
    prefixes. This allows Flex 3 applications to continue to use type selectors
    without namespaces.
    - The runtime will only match against fully qualified class names going
    forward. When the compatibility version flag is set for Flex 3 or earlier,
    it only matches against local names.
    - When updating from Flex3, applications will either have to run in
    compatibility mode, or qualify their CSS type selectors using namespaces. We
    continue to discourage type selectors anywhere but the root application
    file, and a warning will be given if type selectors are used outside of the
    root application.

    Is modifying the default namespace per file allowed or will it always be
    the spark namespace?
    Scenario 1.
    Styles1.css
    @namespace "http://ns.adobe.com/flex/spark";
    Button { color: #990000; }
    Styles2.css
    @namespace "com.effectiveui.controls.*";
    SearchButton { color: #990000; }
    Scenario 2.
    File com/effectiveui/controls/SearchButton.mxml
      @namespace "com.effectiveui.controls.*";
    SearchButton { color: #990000; }
    Are these valid?
    Are class selectors scoped to the default/custom namespace and then just
    ignored by the style manager implementation, or are they always compiled
    into the global space?
    Do you expect Flex Builder 4 will provide autocompletion and namespace
    insertion when defining type selectors in css files?
    Sean Christmann
    Matt Chotin wrote:
    > A new discussion was started by Matt Chotin in
    >
    > Developers --
    > Draft proposal: Namespaces and CSS
    >
    > Hey all,
    >
    > This is a draft proposal for how we'll update CSS support to handle
    > disambiguating classes via namespace. Feedback appreciated here for now so
    > when we get to the formal mini-spec we can rush it through.
    >
    > ---------
    >
    > Keeping in mind that most folks have indicated they don't use Type selectors
    > much in CSS...
    >
    > - Namespace qualification is now required for type selectors in CSS style
    > declarations.
    > - Gumbo will use the CSS3 suggested syntax for declaring namespaces and
    > prefixing type selectors. For the most common component namespace the
    > default namespace can be used (ignore the actual namespace url value):
    >
    > > @namespace "http://ns.adobe.com/flex/spark";
    > Button { color: #990000; }
    >
    >
    > Otherwise, prefixes can be specified for each namespace:
    >
    > > @namespace "http://ns.adobe.com/flex/spark";
    > @namespace cx "com.mycompany.*";
    >
    > Button { color: #990000; }
    > cx|MyFancyButton { color: #000099; }
    >
    >
    > - The namespace mappings that are currently used to map MXML tags to
    > ActionScript class names will also apply to CSS3 type selectors. These
    > mappings draw information from configured manifests in flex-config.xml,
    > swcs' catalog.xml files, and local package namespaces (e.g. how in MXML you
    > use xmlns:c="com.mycompany.*" to scope the package name for your custom
    > component). Note that namespace/prefix mappings defined in MXML do not
    > apply to the enclosing CSS.
    >
    > - Type selectors that are either not qualified by a namespace or do not
    > resolve to an ActionScript class linked into the Application cause a warning
    > at compile time.
    >
    > - The version compatibility flag forces the compiler to ignore type selector
    > prefixes. This allows Flex 3 applications to continue to use type selectors
    > without namespaces.
    >
    > - The runtime will only match against fully qualified class names going
    > forward. When the compatibility version flag is set for Flex 3 or earlier,
    > it only matches against local names.
    >
    > - When updating from Flex3, applications will either have to run in
    > compatibility mode, or qualify their CSS type selectors using namespaces. We
    > continue to discourage type selectors anywhere but the root application
    > file, and a warning will be given if type selectors are used outside of the
    > root application.
    >
    >
    >
    > ------------------------------------------------------
    > View/reply at
    > Replies by email are OK.
    > Use the unsubscribe form at
    to cancel your email subscription.
    > .
    >
    >

  • Customer Object PROG can be assigned to which package?

    i am a new guy in abap ,it's my first program,in it's attribute ,when i choose a package ,it pop-up error info-"Customer Object PROG cannot be assigned to package ***"
    who can help me?
    Customer Object PROG can be assigned to which package?
    tks in advanced !

    in da field for package, write Z* or write Y* and take F4.
    from da list u get, choose an appropriate package.
    Customer objects can be palced in customer packages( namespace Y or Z).
    if u dont get any package beginining wit Y or Z u'll have to create a package using tcode SE80.
    plz reward points if dis helps

  • Flash Builder 4.5 + AIR 3.0 RC1 does not output modules to correct location

    Hello
    I'm having some trouble with Flash Builder 4.5 and Flex SDK 4.5.1.21328 with AIR 3.0 RC1. Flash Builder does not appear to compile modules into the location set in the "Edit module" dialog.
    The screenshots below show that the output path of a module is set to a specific folder, yet Flash Builder compiles the module into the default sub-folder.
    #1. Project properties showing application modules
    #2. Dialog showing the path to the module. Not the "Output SWF" location. The default location is the same as the package namespaces, eg: "d6/v3/banners/Banners.swf". After removing the path the module should compile into the output folder (set to bin/debug), however as the next screenshot shows, the module still compiles into the default sub-folder.
    #3. The module is compiled into a sub-folder of the output folder, instead of into the "root" of the output folder.
    #4. The output folder contains only the main application, with a sub-folder for the module.
    #5. Project pproperties showing the output folder.
    There is a workaround - move the module source file into the "Default package" in the package explorer.

    I experienced this problem today, and kind of "solved" it. There may be an underlying bug, though.
    My project compiled fine last Thursday, but I opened it up on Monday (unchanged) and this error showed up in several files. I tried quitting and restarting Flash Builder to no avail. I could not replicate the problem in a new project.
    For me, each occurence of the error was at a private function definition, so I thought I would try changing "private" to "public" on one of the functions. The error immediately went away in all 3 locations (not just the one I edited). I then changed it back to "private" with no error.
    I hope that will help the Adobe team track down the problem.

  • Directory structure for a J2SE+J2EE project: suggestions are very welcome

    Hi, I have to start coding and organizing the CVS tree of an already mature project which is J2SE. This J2SE project can be described as a "core engine" for something else, and is a quite large project, and up to now has only a command line User Interface. I organized the dir structure as this:
    /build.xml
    /src/
    /src/java/<package>/...../*.java
    /src/demo/<package/...../*.java
    /src/test/<package>/....../*.java
    when I ant compile, all the .classes will be done in the "build" directory (reflecting the structure in the "src" dir):
    /build/
    /build/java/<package>/....../*.class
    /build/demo/<package/...../*.class
    /build/test/<package>/..../*.class
    I am happy with this, but now comes the issue: a web interface to use this core engine (it will have the same package namespace) is in developing progess, so I have to put somewhere the *.jsp, the WEB-INF dir with web.xml and servlet sources: how would you do this? And where would you let Ant put the compiled servlet classes?
    I can modify the previous directory structure to accomodate the J2EE part, this is really not a problem!
    Thanks to who can suggest me a clean solution
    Alessio

    Create a web-inf folder at the same level of src and
    jsp folder inside src
    i mean
    /build.xml
    /src/
    /src/java/<package>/...../*.java
    /src/demo/<package/...../*.java
    /src/test/<package>/....../*.java
    /src/jsp
    /web-infSo, would you put in /src/jsp only the *.jsp?
    And what in /WEB-INF ? What woud you put there? Would you do something like:
    /WEB-INF/web.xml
    /WEB-INF/src/<package>/..../<my_servlets_and_j2ee_stuff>.java
    /WEB-INF/classes/<package>/..../<my_servlets_and_j2ee_stuff>.java
    In this manner sources and classes are in the same tree, it does not seem very clean to me, expecially if you consider that probably I must have a "test" directory to unit test some j2ee stuff (as for the j2se stuff in "src"): how would you do that?
    Is this directory structure anyway what you meant or not?
    alessio

  • System settings does not allow changes to be made to object

    Hi,
              In one of my test system, when i tried to change the object  its displaying following error message.
    System settings does not allow changes to made to the object.
    I have checked the settings in se03, regarding modification objects of software components and namespace those are in state of modifiable for this namespace object.
      I would like to know, how to change the object in the namespace.
    Regards
    Srikanth

    Hi,
    In SE06, in addtion to system status and component status, check the namespace status too.
    It would be better if you know the namespace of the object you are trying to modify. Set it to modifiable and retry.
    To find namespace, open the object in SE80 and check the attributes. It would show assigned package, namespace, component etc.
    Regards,
    Srikishan

  • Can I develop externally in netbeans referencing JCAPS 5.1.2 OTDs?

    I am trying to port some old eGate 4.5.3 code into Sun JCAPS 5.1.2. I have developed a user defined OTD and have been able to unmarshall data successfully inside eDesigner. The original developer had import statements that brought in the old etd definitions to some utility classes developed in netbeans. The import statement looks like this: import com.lmco.ecs.etd.zCustomerContract.bapevbak.BAPE_VBAK; The old etd defined a record with fields in it. Can I import the otd created under Sun JCAPS in a similar manner in netbeans? Or am I stuck with eDesigner? How do I download the jar file or reference the repository so I can import the otd class?
    Thank you for your help.
    Chris.
    Edited by: hcmason1 on Mar 27, 2009 9:47 AM

    I am working with some of the jar files I exported from the ear file. The class I ported uses an OTD that was created from an xsd schema. The CMEHelper class I create has a constructor that takes the OTD and a boolean as parameters. I am able to create an object locally inside netbeans. However, when I try and import the jar file back into the eDesigner from the dist directory of netbeans, eDesigner can't "See" the constructor with the parameters. Have you ever experienced this? Could it be that different java compiler versions are mangling the names? When I run javap against CMEHelper.class on my computer it can understand the clas = Compiled from "CMEHelper.java"
    public class com.lmco.ecs.cme.CMEHelper extends java.lang.Object{....  The signature of the Constructor is detected =     public com.lmco.ecs.cme.CMEHelper(xsd.CME_CME_534859835.CME,boolean);  I have netbeans building the class using D:\j2sdk1.4.2_13\bin\javac I'm pretty sure...Now that I have removed the fastjavac reference from eDesigner, maybe it's getting the old 1.3.1 compiler I also have for the eGate 4.5.3 stuff I maintain...I was able to reference the OTD by importing CME_CME200904081331580577.jar as a jar file in netbeans.  I also had to import some of the xml jar files such as com.stc.otd.xsdimpl.jar.  Maybe this is a result of packages namespace rules?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • To create a java class in Web dynpro

    Hi,
    I want to create a java class which can be used in multiple views. Where will i create it and how will i access it?
    Can i create the class in Comp controller's imeplementation between "begin others"----
    "end"?
    Any help?
    regards,
    Sujesh

    Hi,
      If you create the class within the begin others"----
    "end" section, this class will not be accessible by any other class.
      You can create a class in
    Project/src/packages/<namespace>/<your component>/<create a new subdirectory>/Test.java.
    This will be accessible to all other classes. Just make sure the first line of your java file is the proper package declaration. So in this case the 1st line dhould be:
    package <namespace>.<your component>.<subdirectory name>;
    Regards,
    Satyajit.

  • Call Function from PLSQL--ORA-31013 : Invalid XPATH expressioon

    I tried the following SQL statement. when I called function,it giving error.
    select *
    from v$version;
    1
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    2
    PL/SQL Release 10.2.0.3.0 - Production
    3
    CORE              10.2.0.3.0
    Production
    4
    TNS for Linux: Version 10.2.0.3.0 - Production
    5
    NLSRTL Version 10.2.0.3.0 - Production
    function READ_SYSTEM_RESPONSE(PARAM IN CLOB)
      RETURN NUMBER
      AS
        l_namespace varchar2(1000):='xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader PackageProxy.xsd"
                                    xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
                                    xmlns:ef="http://www.efatura.gov.tr/package-namespace"
                                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"';
        x  XMLTYPE
          := XMLTYPE('<?xml version="1.0" encoding="UTF-8"?>
                        <sh:StandardBusinessDocument xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader PackageProxy.xsd"
                          xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
                          xmlns:ef="http://www.efatura.gov.tr/package-namespace"
                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <sh:StandardBusinessDocumentHeader>
                    <sh:HeaderVersion>1.0</sh:HeaderVersion>
                    </sh:StandardBusinessDocumentHeader>
                    </sh:StandardBusinessDocument>');
        CURSOR ana IS
              SELECT 1--EXTRACTVALUE(VALUE (p),'/sh:StandardBusinessDocumentHeader/sh:HeaderVersion',l_namespace) AS IMZA
              FROM TABLE(XMLSEQUENCE (EXTRACT (x,'/sh:StandardBusinessDocument',l_namespace))) p;
        BEGIN
        FOR r IN ana
        loop
        dbms_output.put_line('- - - - - - -');
        end loop;
        RETURN 1;
        EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line(sqlerrm);
          RETURN 0;
        END;

    odie_63 wrote:
    Remove this from the l_namespace string, it has nothing to do in there, it's not a namespace declaration :
    xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader PackageProxy.xsd
    As a general rule, just declare the namespace(s) - default or prefixes - you need to resolve the XPath expression.
    Once you correct that part, you'll discover that your query returns NULL.
    That's because the XPath doesn't point to any node.
    Try this instead :
    SELECT EXTRACTVALUE(
            VALUE (p)
          , '/sh:StandardBusinessDocument/sh:StandardBusinessDocumentHeader/sh:HeaderVersion'
          , l_namespace
          ) AS IMZA
    FROM TABLE(
          XMLSEQUENCE(
            EXTRACT (x, '/sh:StandardBusinessDocument', l_namespace)
        ) p
    Thanks odie_63,You're right. I removed " xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader PackageProxy.xsd" and It is working!

  • QNAME Class

    My class path:
    bla bla...;D:\bea70\weblogic700\server\lib\webserviceclient.jar
    Yet when I try compile the sample WebService example from(http://dev2dev.bea.com/managed_content/direct/webservice/index.html)
    (SwA (SOAP with Attachments) example:) the client.java is the only file that will
    not compile. I have set my CLASSPATH to incude the webserviceclient.jar.
    ERROR:
    D:\bea70\weblogic700\samples\server\src\examples\filetransfer>javac Client.java
    Client.java:12: cannot resolve symbol
    symbol : class QName
    location: package namespace
    import javax.xml.rpc.namespace.QName;

    Hi
    The package of the QName class been changed. It should be
    javax.xml.namespace.QName.
    we will update the example on dev2dev.
    Thanks for finding it out
    Ajay
    Ivan Sager <[email protected]> wrote in message
    news:3d46fc0a$[email protected]..
    >
    My class path:
    bla bla...;D:\bea70\weblogic700\server\lib\webserviceclient.jar
    Yet when I try compile the sample WebService examplefrom(http://dev2dev.bea.com/managed_content/direct/webservice/index.html)
    (SwA (SOAP with Attachments) example:) the client.java is the only filethat will
    not compile. I have set my CLASSPATH to incude the webserviceclient.jar.
    ERROR:
    D:\bea70\weblogic700\samples\server\src\examples\filetransfer>javacClient.java
    Client.java:12: cannot resolve symbol
    symbol : class QName
    location: package namespace
    import javax.xml.rpc.namespace.QName;

  • Draft Proposal: How to drop the Fx Prefix

    A draft proposal has been posted to the Flex Open Source Wiki documenting how we will adjust the packages, namespaces, and class names in Gumbo to allow us to drop the Fx class prefixes.  Please read and add your comments here:
    http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix
    Note that this page does not cover the necessary changes to CSS, which are documented on the forums at
    http://www.adobeforums.com/webx/.59b802c9
    Looking forward to your comments and suggestions,
    Ely.

    Hi Uri..
    Yes, thats what i have read but i still have ten temp tables with same prefix and different session code at the end . I am sure there are no open/active sessions tied to them .want to know if there is a bug with SQL server 2005 SP2 version  ?
    I am executing the stored proc using SQL Agent job so when it fails does it end the session ? if not how do i do it ?
    if i add the below query to the proc does it drop rest of the old temp tables ?
    IF EXISTS (
    SELECT *
    FROM sys.tables
    WHERE name LIKE '#temp%')
    DROP TABLE #temp
    Thanks, Sri The journey is what brings us happiness not the destination―Dan Millman

  • FLVPlayback / Custom NCManager Problems

    I have been trying for days to write my own custom NCManager
    class that allows us to connect to a Limelight stream. We have to
    issue a NetCOnnect.call() that has the command "FCSubscribe" and
    the stream name. I've written a 100% custom player
    (www.god.tv/stream) (have to register!) but what I want to to
    resolve that player with the video-on-demand player
    (www.god.tv/god) into a single Flash project.
    I want to allow our Graphics guys (aka Flash developers) to
    be able to use the standard Adobe FLVPlayback components and skins
    and also be able to p lay back files, streaming content and
    Limelight content. To this end I thought that writing a custom
    NCManager class would be the way to go.
    I have 99.9% succeeded: my class gets the connectToURL(),
    connects to Limelight, subscribes and all is well but I am really
    really stuck now on how to tell the FLVPlayback component that it
    can start playing back now that the stream is connected.
    What really is stumping me is that my project is AS3 yet the
    FLVPlayback and VideoPlayer parts appear to be AS2 and I cannot
    call the rtmpStatusInfo() function on the VideoPlayer part to tell
    it that it is good to go.
    I am so close I can taste it: If I create a NetStream object
    and play() it, I can hear the content to I know that if I could
    only get the FLVPlayback / VideoPlayer dynamic duo to playback then
    the job would be done.
    I have attached the code, warts and all in the hope that
    either somebody has done this before or can tell me what I have
    misunderstood about the internal state-machine / FSM logistics that
    VideoPlayer et al implement.
    By reading the source code and my debugging statements I can
    see that I have maneuvered it towards the ultimate goal of playback
    but I don't know how to make that final step.
    Thanks in advance,
    Sean Charles.
    PS: I *know* that reconnect() is non-functional but if I
    uncomment the call all it does is go around the loop again; the
    real problem is I cannot tell the VideoPlayer that it can play (via
    rtmpStatusInfo) the data etc
    PPS: The meta-data related stuff *only* gets called if I
    uncomment the NetStream code; this was to check that I had a valid
    playback stream, which I do at that point.

    I was able to successfully make this work for our company's Adobe Flash video player using Flex Builder 3 running the Flex 3.3 SDK with the latest version of FLVPlayback 2.5.
    Here is the custom NCManager class I created:
    package com.companyname {
        use namespace flvplayback_internal;
        import fl.video.*;
        import flash.net.NetConnection;
        public class NCManagerLimelight extends NCManager {
            public function NCManagerLimelight() {
                super();
            override flvplayback_internal function onConnected(p_nc:NetConnection, p_bw:Number):void {
                super.onConnected(p_nc, p_bw);
                this.netConnection.client = com.companyname.ConnectClientLimelight;
                this.netConnection.call("FCSubscribe", null, this.streamName);
    As you can see, it references a custom ConnectClient class I extended, which follows:
    package com.companyname {
        use namespace flvplayback_internal;
        import fl.video.*;
        import flash.net.NetConnection;
        public class ConnectClientLimelight extends ConnectClient {
            public function ConnectClientLimelight(owner:NCManager, nc:NetConnection, connIndex:uint=0) {
                super(owner, nc);
            public function onFCSubscribe(info:Object):void {
                // do nothing
            public function onFCUnsubscribe(info:Object):void {
                // do nothing
    The above class really does nothing except prevent the debug errors it would throw if onFCSubscribe was not defined.  Finally, you put it all together by placing those two files (named NCManagerLimelight.as and ConnectClientLimelight.as respectively) in a folder structure that matches your package namespace off of the src folder for your Flex project.  In the above code, I used com.companyname, so you would want to place the two files in a folder located at src/com/companyname in your Flex project.
    Be sure to import the NCManagerLimelight class in your own source code by doing the following:
    import com.companyname.NCManagerLimelight;
    Then, right before you instantiate your FLVPlayback (where isLive is set to true for a live show) do the following to make your new NCManager class the default class for all video players:
    VideoPlayer.iNCManagerClass = NCManagerLimelight;
    Lastly, after you instantiate your FLVPlayback instance, you need to make sure it's isLive and autoPlay properties are both true.  For example:
    flvPlaybackInstance.autoPlay = true;
    flvPlaybackInstance.isLive = true;
    I hope this helps!
    Regards,
    Sean Smith

  • Webdynpro Model reimport instead of delete

    according to the tutorial given
    i have created java beans and import the javabeans into webdynpro
    after sometimes, i add some new java class
    for instance
    previous
    InventoryCommandBean.java
    WarehouseCommandBean.java
    after
    InventoryCommandBean.java
    WarehouseCommandBean.java
    BOMCommandBean.java
    webdynpro
    Model
    previously InventoryCommandBean.java , warehouseCommandBean.java is inside webdynpro model, now i need to reimport instead of delete, what can i do.

    Hallo Stefan,
    look at my WebLog on<a href="/people/bertram.ganz/blog/2005/10/10/how-to-reimport-web-service-models-in-web-dynpro-for-java To Reimport Web Service Models in Web Dynpro for Java</a>
    Then read my comment on applying this re-import workaround for the JavaBean-model:
    <i>Principally speaking "yes". But: there is a special difference which has to be considered. The Java-Bean model is based on a set of model-entities and a set of related model classes which are located in other packages (Java Bean model class packages) then the model-entities package. Model-entities are the metamodel-representations of the imported Java Bean model class.
    Consequently it is not sufficient to make all model-entities within the model package namespace writable (readOnly=false). Additionally all related JavaBean model classes in a separate namespace must explicitly set writable.
    Nevertheless there are no proxy classes which have to be deleted manually. Based on the above description the delete-operation will eliminate all those files which belong to the model.</i>
    Regards, Bertram

  • [Android] Getting onActivityResult and onStart/onPause/.... events from AIR activity [solution]

    Hi,
    I struggled for a while with this issue and finally found a solution. I haven't seen it posted anywhere so I thought I would share it here.
    In ANE extension's native java project, we include runtimeClasses.jar from AIR's lib folder (AIR\lib\android\lib), along with FlashRuntimeExtension.jar. This gives us access to AIR's AndroidActivityWrapper class.
    Since some interfaces in runtimeClasses are defined as protected, we need to make them accessible to our extension. So we create two interfaces in com.adobe.air package namespace:
    ActivityResultCallback.java
    package com.adobe.air;
    import com.adobe.air.AndroidActivityWrapper;
    public abstract interface ActivityResultCallback extends AndroidActivityWrapper.ActivityResultCallback
    StateChangeCallback.java
    package com.adobe.air;
    import com.adobe.air.AndroidActivityWrapper;
    public abstract interface StateChangeCallback extends AndroidActivityWrapper.StateChangeCallback
    We can now register some callbacks in our extension:
    ExtensionContext.java
    package com.company.extension;
    import java.util.HashMap;
    import java.util.Map;
    import android.content.Intent;
    import android.content.res.Configuration;
    import com.adobe.air.ActivityResultCallback;
    import com.adobe.air.AndroidActivityWrapper;
    import com.adobe.air.AndroidActivityWrapper.ActivityState;
    import com.adobe.air.StateChangeCallback;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREFunction;
    public class ExtensionContext extends FREContext implements ActivityResultCallback, StateChangeCallback
        private AndroidActivityWrapper aaw;
        public ExtensionContext() {
            aaw = AndroidActivityWrapper.GetAndroidActivityWrapper();
            aaw.addActivityResultListener( this );
            aaw.addActivityStateChangeListner( this );
        @Override
        public void onActivityResult(int requestCode, int resultCode, Intent intent ) {
        @Override
        public void onActivityStateChanged( ActivityState state ) {
            switch ( state ) {
                case STARTED:
                case RESTARTED:
                case RESUMED:
                case PAUSED:
                case STOPPED:
                case DESTROYED:
        @Override
        public void onConfigurationChanged(Configuration paramConfiguration) {
        @Override
        public Map<String, FREFunction> getFunctions() {
            Map<String, FREFunction> functionMap = new HashMap<String, FREFunction>();
            return functionMap;
        @Override
        public void dispose() {
            if (aaw!=null) {
                aaw.removeActivityResultListener( this );
                aaw.removeActivityStateChangeListner( this );
                aaw = null;
    I hope this helps anyone.

    Finally I had to remove onActivityOnResult implementation because in FB 4.7 the ANE worked fine on debug but I was not able to get in run on release version . I tried even adding the runtimeClasses.jar manually to the ANE package but it simply did not work. See below error from adb logcat
    I/NativeAlert(14030): initialize
    I/dalvikvm(14030): Failed resolving Lcom/adobe/air/ActivityResultCallback; interface 76 'Lcom/adobe/air/AndroidActivityWrapper$ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/adobe/air/ActivityResultCallback;' failed
    I/dalvikvm(14030): Failed resolving Lcom/delcasda/contactsANEext/selectContacts; interface 75 'Lcom/adobe/air/ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/delcasda/contactsANEext/selectContacts;' failed
    E/dalvikvm(14030): Could not find class 'com.delcasda.contactsANEext.selectContacts', referenced from method com.delcasda.contactsANEext.ContactANEContext.getFunctions
    W/dalvikvm(14030): VFY: unable to resolve new-instance 128 (Lcom/delcasda/contactsANEext/selectContacts;) in Lcom/delcasda/contactsANEext/ContactANEContext;
    D/dalvikvm(14030): VFY: replacing opcode 0x22 at 0x004d
    I/dalvikvm(14030): Failed resolving Lcom/adobe/air/ActivityResultCallback; interface 76 'Lcom/adobe/air/AndroidActivityWrapper$ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/adobe/air/ActivityResultCallback;' failed
    I/dalvikvm(14030): Failed resolving Lcom/delcasda/contactsANEext/selectContacts; interface 75 'Lcom/adobe/air/ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/delcasda/contactsANEext/selectContacts;' failed
    D/dalvikvm(14030): DexOpt: unable to opt direct call 0x01c1 at 0x4f in Lcom/delcasda/contactsANEext/ContactANEContext;.getFunctions
    W/System.err(14030): java.lang.NoClassDefFoundError: com.delcasda.contactsANEext.selectContacts
    W/System.err(14030):    at com.delcasda.contactsANEext.ContactANEContext.getFunctions(ContactANEContext.java:41)
    W/System.err(14030):    at com.adobe.fre.FREContext.VisitFunctions(FREContext.java:134)
    W/System.err(14030):    at com.adobe.air.customHandler.callTimeoutFunction(Native Method)
    W/System.err(14030):    at com.adobe.air.customHandler.callTimeoutFunction(Native Method)
    W/System.err(14030):    at com.adobe.air.customHandler.callTimeoutFunction(Native Method)
    W/System.err(14030):    at com.adobe.air.customHandler.handleMessage(customHandler.java:22)
    W/System.err(14030):    at android.os.Handler.dispatchMessage(Handler.java:99)
    W/System.err(14030):    at android.os.Looper.loop(Looper.java:137)
    W/System.err(14030):    at android.app.ActivityThread.main(ActivityThread.java:5455)
    W/System.err(14030):    at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err(14030):    at java.lang.reflect.Method.invoke(Method.java:525)
    W/System.err(14030):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
    W/System.err(14030):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    W/System.err(14030):    at dalvik.system.NativeStart.main(Native Method)

Maybe you are looking for