ANE wrappers?

Why is it too much to ask Adobe to provide ANE wrappers for popular Native APIs like GameCircle to AIR developers? Is there some legal reason Adobe can't provide these to the user base?

Hi,
Yeah I think you're right, the whole point of enabling native extensions was so that they could rely on the community to provide access to the 100's of native libraries that are available. We're not even just talking standard iOS/Android SDK functionality, but any third party library as well. Parse, Facebook, TestFlight etc..
If you're interested in a game services extension, we're trying to get a new cross-platform version together: Game Services AIR Native Extension by distriqt — Kickstarter

Similar Messages

  • ArrayList and wrappers

    Can an ArrayList contain different types of objects from the same class?
    I know that it must be an object but can one be of type String and another be of type int?
    I am reading information from a file that looks something like this:
    Sam
    Jones
    21
    Tim
    Hendricks
    15
    I have written the following method:
    ArrayList list = new ArrayList();
    String fname;
    try
      BufferedReader br = new BufferedReader(new FileReader("student.txt"));
      while ((fname = br.readLine()) != null)
             String lname=br.readLine();
         int age= br.readLine();
         br.readLine(); //FOR THE BLANK LINE
         list.add(new Student(fname, lname, age));
      br.close();
    catch(IOException e)
      System.err.println(e.getMessage());
      System.exit(0);
    }If I declare age as type String the method and other methods work great, but I need to make it of type int.
    I have read up about wrappers and I think that is what I am suppose to use for the int but no matter what I do, I get tonnes of error messages.
    Any help would be appreciated.

    A better way would be to build a class for your data packet.
    class Thing {
      public final String name;
      public final int age;
      public Thing(String name, int age) {
        this.name = name;
        this.age = age;
    public class SomeClass {
      public static void main(String[] args) {
        List list = new ArrayList();
        list.add(new Thing("Jill",10));
        list.add(new Thing("John",20));
        list.add(new Thing("Janet",30));
        list.add(new Thing("Jeremy",40));
    }Then you can simply get your values back with
    for(Iterator iterator = list.iterator(); iterator.hasNext(); ) {
      Thing thing = (Thing) iterator.next();
      System.out.println("Name: "+thing.name);
      System.out.println("Age: "+thing.age);
    }Or something like that...
    Talden

  • Problem with ANE in Captive Runtime

    Hi,
    this is my first post to the community so I am not really sure if this is the right forum ... i hope so.
    I built an ANE for Android based on the zbar library to scan bar- and qr-codes ... it works pretty fine in debug mode and also works great when I release the app using it with the "Shared Runtime" option.
    But I need the captive runtime as our customer wants the app to be as easy as possible for the users and so an additional download of the AIR-Runtime (if its not installed) is not the way we want it to be.
    I really hope someone can help me out and point me to the right direction what could be wrong with the ANE.
    Basically it is just one function called from ActionScript to the native code and this one starts an activity with a camera view and the zbar listener. When it recognizes the bar/qr code the activity dispatches the status event to ActionScript and exits.
    When i build the app with captive runtime nothing happens when i hit the button which should start the native code ... as i dont have flash builder debug information available within the release build i really dont know what the problem is. Also general android LogCat doesnt report any error.
    As i stated before, with the shared runtime and in debug-mode everything works as expected and the content of the bar/qr code is returned correctly.
    That's why I think the error must be somewhere in the as3 code - but i have no clue where ... i read something about external linkage of the ANE but dont really understand what was meant and if this could be the problem.
    Please help, thanks in advance ... and if this is the wrong forum for that topic please point me to the right one.

    Hi Carlos,
    1) Cross check the below :
    a)Ensure that the required JDK is being used in the client system
    b)Try clearing the Web Start cache and try downloading again.
    c)Start>Programs>Java Web Start>File>Preferences>Advanced>Clear Folder
    2) XI TST  Check  whethere you have enough TABLE  space.
    3)Refresh the Cache :
    a)Start transaction SXI_CACHE.
    b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
    And also try this :
    Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
    However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Regards
    Agasthuri Doss

  • Problem Create ANE,ArgumentError: Error #3500: The extension context does not have a method with the name

    I little confuse about build ANE, I already follow all the direction, but the error always #3500 when I try to call the ANE.
    I create ANE using java android.
    The tools I use : Flash Builder running on Win-64 win.7. I think I must straight to the point, here what i made it first step by step;
    1. I create the JAVA application first, with package senigo.extension.android then I create 3 file, Sample.java, SampleContext.java, PassTextFunction.java
    Sample.Java Source Code
    package senigo.extension.android;
    import android.util.Log;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREExtension;
    public class Sample implements FREExtension {
      @Override
      public FREContext createContext(String arg0) {
      // TODO Auto-generated method stub
      Log.i("Sample", "createContext");
      return new SampleContext();
      @Override
      public void dispose() {
      // TODO Auto-generated method stub
      Log.i("Sample", "Dispose");
      @Override
      public void initialize() {
      // TODO Auto-generated method stub
      Log.i("Sample", "Initialize");
    SampleContext.Java Source Code
    package senigo.extension.android;
    import java.util.HashMap;
    import java.util.Map;
    import android.util.Log;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREFunction;
    public class SampleContext extends FREContext {
      public SampleContext()
      Log.i("SampleContext", "constructor");
      @Override
      public void dispose() {
      // TODO Auto-generated method stub
      Log.i("SampleContext", "dispose");
      @Override
      public Map<String, FREFunction> getFunctions() {
      // TODO Auto-generated method stub
      Log.i("SampleContext", "getFunctions");
      Map<String, FREFunction> functionMap = new HashMap<String, FREFunction>();
      functionMap.put("passText", new PassTextFunction());
      return functionMap;
    PassTextFunction.Java Source Code
    package senigo.extension.android;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREExtension;
    import com.adobe.fre.FREFunction;
    import com.adobe.fre.FREObject;
    public class PassTextFunction implements FREFunction {
      @Override
      public FREObject call(FREContext arg0, FREObject[] arg1) {
      // TODO Auto-generated method stub
      FREObject result = null;
      try{
      result =  FREObject.newObject("Hello World");
      }catch(Exception e)
      return result;
    after all the file I create the jar file using click right on the tree view >> Export >> Jar File >> Sample.Jar (i already create jar file that just contain the src folder and after i frustrated, i create .jar file contain all the whole project folder but still didn't work out).
    Ok, After that I create project Flex Library Project, That's contain the actionscript to call the native and the extension.xml, here the code.
    Test.as Source Code, FYI : i already create public function and the static function the error still same #3500.
    package senigo.extension.android
      import flash.external.ExtensionContext;
      public class test
      private static var extContext:ExtensionContext = null;
      public function test()
      trace ("Test Constructor");
      if (!extContext)
      initExtension();
      public static function get passText():String
      trace ("Test Pass Text");
      if (!extContext)
      initExtension();
      return extContext.call("passText") as String;
      private static function initExtension():void
      trace ("Vibration Constructor: Create an extension context");
      extContext = ExtensionContext.createExtensionContext("senigo.extension.android", null);
    extension.xml source code
    FYI: in Flex when i put the Native Extension, they said must have Windows-x86 so I already create 3 ANE, that just contain Android-ARM , Contain Android-ARM and Default, Contain Android-ARM,Default and Windows-x86 but the error still same. I didn't got it where is the error.
    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
      <id>senigo.extension.android</id>
      <versionNumber>1.0.0</versionNumber>
      <platforms>
      <platform name="Android-ARM">
      <applicationDeployment>
      <nativeLibrary>Sample.jar</nativeLibrary>
      <initializer>senigo.extension.android.Sample</initializer>
      <finalizer>senigo.extension.android.Sample</finalizer>
      </applicationDeployment>
      </platform>
      <!-- <platform name="Windows-x86">
      <applicationDeployment>
      <nativeLibrary>sample.jar</nativeLibrary>
      <initializer>senigo.extension.android.Sample</initializer>
      <finalizer>senigo.extension.android.Sample</finalizer>
      </applicationDeployment>
      </platform>
      -->
       <platform name="default">
    <applicationDeployment/>
    </platform>
      </platforms>
    </extension>
    After I create it, I copy the .swc file and extension file sample with the Sample.jar file.
    I extract the .swc file, copy the library.swf to folder Android-ARM,Default,Windows-86 and I create build.bat that contain the command like this
    adt -package  -storetype PKCS12 -keystore senigo.p12 -storepass l10nk1ng -target ane senigo.extension.android.ane extension.xml -swc AndroidLib.swc -platform Android-ARM -C ./Android-ARM/ . -platform default -C ./default/ .
    the I put the ane to Flex mobile project that I created:
    I run it but got error #3500, I really confuse?? what's wrong with my code? is there something I wrong or I Miss it?
    Please any one help me.. and when is already ane file can I debug it in Flex Mobile Project? I wanna looks the log.i code that i wrote but i confuse how to looking up in flash builder.
    at the end, I wanna said Sorry if my english not very goods, and thanks, because wanna see my problem and thank you very much if You can gave me a solution's

    Alex Rekish wrote:
    Why you comment Windows-x86 in your extension.xml ?
    I think that is a problem. You launch your application on Windows but ANE haven't got Windows-x86 implementation (also you don't include it while packaging). So your application use default implementation. But default implementation don't use any native code and cannot use ExtensionContext. And you got error.
    If you don't need Windows-x86 native implementation than you need implement default implementation that different than Android-ARM. You don't need to use ExtensionContext in default implementation.
    Thanks for you answer Alex Rekish, Sorry I didn't screen shoot all about the extension.xml. I comment it because the latest ANE that I build is contain Android-ARM and default. so I commented. but I already try it using just ANE that's just contain Android-ARM, with Android-ARM and windows-x86,and Android-ARM, and default, and Android-ARM,default,Windows-x86 the error still the same.
    here the screen shoot, I embeded the ane that's i contain Windows-x86
    in action script test.as I didn't change it anythings, I just play it on extension.xml to build the ane. is there any mistake over there? I interact with your answer that "If you don't need Windows-x86 native implementation than you need implement default implementation that different than Android-ARM. You don't need to use ExtensionContext in default implementation." I didn't need to user ExtensionContext? is means? in the actionscript? or in extension.xml? can you explained

  • "application descriptor not found" when trying to create .ane file

    I have been trying to create a very simple native extention for the better part of a week now and I just can't seem to figure it out.
    Using tutorials and guides from the following sources:
    http://www.adobe.com/devnet/air/articles/extending-air.html
    http://www.adobe.com/content/dam/Adobe/en/devnet/devices/pdfs/DevelopingActionScriptExtens ionsForAdobeAIR.pdf
    http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/
    I managed to get up to the point where I need to create the ane file, but I am getting "application descriptor not found".
    So, here is the detailed explanation of everything I have done to date. Can someone tell me where I have gone wrong?
    1. On the mac, I created an xcode project, using the iBattery example code from the link above, I managed to create static library .a file. I am not going to discount the possiblity that there are many errors still in this file, but I am going to assume for the moment that my current problem is not related to any issues in this static library.
    2. Copied the static library "DaveExtention.a" to my PC where I have flash CS5.5 installed (yes, I know there is a typo in the name)
    3. In my app folder, I created a lib folder that now contains the following files:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension.fla
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension-app.xml
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\DaveExtension.as
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\BatteryStateEnum.as
    I set my project to compile an swc into the build folder and simply put the following code into my project:
    import com.extensions.DaveExtension.BatteryStateEnum;
    import com.extensions.DaveExtension.DaveExtension;
    var ext:DaveExtension = new DaveExtension;
    var batterystate:BatteryStateEnum;
    stop();
    I then publish the swc.
    4. Once the swc is created in the build folder, I copy the libDaveExtention.a to the build folder and create the extension.xml file, which looks like this:
    <extension xmlns="http://ns.adobe.com/air/extension/2.5">
      <id>com.extensions.DaveExtension</id>
      <versionNumber>1</versionNumber>
      <platforms>
        <platform name="iPhone-ARM">
            <applicationDeployment>
                <nativeLibrary>libDaveExtention.a</nativeLibrary>
                <initializer>ExtInitializer</initializer>
                <finalizer>ExtFinalizer</finalizer>
            </applicationDeployment>
        </platform>
      </platforms>
    </extension>
    5. I make a copy of the swc file and rename it to .zip... I then extract library.swf from it and delete the zip. My build folder now looks like this:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\DaveExtension.swc
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\extension.xml
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\libDaveExtention.a
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\library.swf
    6. I downloaded the flex 4.5.1.21328 sdk and the Air 3.0 sdk, which I copied into the flex sdk folder (which is located in "D:\SDKs\flex_sdk_4.5.1.21328")
    7. In my build folder, I create a simple batch file called buildane.bat with the following command:
    D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    8. I then open a command prompt to my build folder and run buildane.bat and this is my output:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>buildane.bat
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    application descriptor not found
    No matter what I try, I can't get passed this.
    Can anyone tell me what I am doing wrong?

    >>D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    Either its a typo or by mistake you wrote adl in yout bat file. Change it to adt since that is the file that will package your ane. adl is just used for debugging/running on Desktop.
    Hope this helps. let me know how it goes.
    Thanks,
    Meet

  • How To Create Object Wrappers

    Hi there,
    I would like to implement some better and custom error handling in some of the business objects.  Objects such as the Recordset and Documents can have a tendency to 'die' on a line that errors and I would like to create wrappers for these classes so I can handle them using common methods.
    I have tried to create new classes inheriting from RecordsetClass and DocumentsClass and everything compiles fine but produces COM errors as soon as I try to access them at runtime.  Are we just out of luck trying to enhance these classes?  Is our only option to write a one-off wrapper that simply handles the SBO object type internally in our new class?
    It would seem very beneficial to be able to extend these objects in order to implement common methods and business rules.  Has anyone been successful at doing this?
    Here is my class declaration that fails when I try to access it at runtime:
    using System;
    using System.Runtime.InteropServices;
    using SAPbobsCOM;
    namespace NMO.SAP.Shared
        /// <summary>
        /// PLS Wrapper for the SAP Documents object
        /// </summary>
        public class SBODocuments : DocumentsClass
            private SAPbobsCOM.Company sboCompany;
            public SBODocuments(SAPbobsCOM.Company company)
                this.sboCompany = company;
            /// <summary>
            /// New implementation of the Add method returning true or false
            /// </summary>
            /// <returns>True or false</returns>
            public new Boolean Add()
                Boolean retVal = true;
                try
                    // Add method returns 0 if successful
                    if (base.Add() != 0)
                        retVal = false;
                        SBOErrorHandler.HandleSAPError(this.sboCompany);
                catch (COMException cex)
                    retVal = false;
                    SBOErrorHandler.HandleSAPError(this.sboCompany, cex);
                catch (Exception ex)
                    retVal = false;
                    SBOErrorHandler.HandleSAPError(this.sboCompany, ex);
                return retVal;
    Thanks very much,
    David

    David,
    A good aproach would be to convert .COM objects to .NET
    This application <a href="http://www.aurigma.com/Products/COMtoNET/">COMtoNET</a>
    Will generate all the C# Code needed to convert COM objects to .NET, and then you'll be able to catch any event, error and so on.

  • How to send datas properly to Google Analytics (ANE-Google-Analytics)

    Hello,
    I meet a problem when I'm using the native extension created by Alessandro Bianco : ANE-Google-Analytics. I tested this code many times, in the context of AIR mobile application, but I tested it without any success to add new datas to Google Analytic history. I'm really connected to internet properly.
    Moreover I think that I've made my functions as required by the author : Can you look at my code below to detect some errors to communicate with Google Analytics ?
    <s:TabbedViewNavigatorApplication
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        creationComplete="creationCompleteHandler(event)"
    >
        import eu.alebianco.air.extensions.analytics.Analytics;
        import eu.alebianco.air.extensions.analytics.api.ITracker;
        import flash.utils.clearInterval;
        import flash.utils.setInterval;
        import flash.utils.setTimeout;
        public var ganalytics:Analytics;
        public var gtracker:ITracker;
        protected var i:int = 1; // Debug
        protected static const ANALYTICS_ID = "My UA code is here";
        protected function creationCompleteHandler(event:Event):void
            // I launch the tracker :
            ganalytics  = Analytics.getInstance();
            ganalytics.dispatchInterval = 5; // Interval for connecting : 5 seconds
            // I begin to use the tracker :
            GtrackerSessionUsing("RecordingView","HomeView",true);
         * GtrackerConnecting
         * @description : Open connection to Google Analytics, and create instance for a tracker
         * @argument : actionName = "RecordView" or "RecordEvent"
         * @argument : valueName = Name of the view or name of the event to record
        public function GtrackerSessionUsing(actionName:String, valueName:String, createConnection:Boolean=false):void
            gtracker = ganalytics.getTracker(ANALYTICS_ID);
            gtracker.startNewSession();
            if(etablirConnexion==true)
                // Tracking des views :
                var compteur:int = 0;
                var intervalGtrackerCnxOuvrir:uint = setInterval(function():void{
                    counter++;
                    trace("gtracker ="+gtracker);
                    if(counter==50){ // Try to connect - only - 50 times
                        trace("GoogleTracker fails to connect !");
                        clearInterval(intervalGtrackerCnxOuvrir);
                    else if(gtracker!=null){
                        trace("GoogleTracker success to connect !");
                        GTrackerRecordAction("EnregistrerView","HomeView");
                        clearInterval(intervalGtrackerCnxOuvrir);
                    else{
                        trace("Trying to connect to GoogleTracker... (itérate #"+counter+")");
                        gtracker = ganalytics.getTracker(ANALYTICS_ID);
                        gtracker.startNewSession();
                },5000); // All 10 seconds : iterate a new connection test
        protected function GTrackerRecordAction(actionName:String, valueName:String)
         * @description : Use the tracker of the Google Analytics connected account, all of Views can call this function with this model of code: parentApplication.GTrackerRecordAction(...)
         * @argument : actionName = "RecordView" or "RecordEvent"
         * @argument : valueName = Name of the view or name of the event to record
            if(gtracker!=null)
                switch(actionName){
                    case "RecordView":
                    trace("GoogleTracker : gtracker.buildView("+valueName+").track()");
                    gtracker.buildView(valueName).track();
                    break;
                    case "RecordEvent":
                    switch(valueName){
                        case "event1":
                            gtracker.buildEvent("click", "button").withLabel("play").withValue(10).track();
                        break;
                        case "event2":
                            gtracker.buildEvent("click", "button").withLabel("stop").track();
                        break;
                        case "event3":
                            gtracker.buildEvent("app", "quit").track();
                        break;
                    break;
    Best regards.

    Youtch,
         I'm not sure exactly what your issue is, but I was unable to connect and looked at your code, modifying it for my purposes and it fixed my code. Hopefully it can help fix yours.
         I did notice one thing as I went through, however:
    You use
       var compteur:int = 0;
                var intervalGtrackerCnxOuvrir:uint = setInterval(function():void{
                    counter++;
    The compteur does not match the counter variable. It appears a problem with Franglais is the issue here.
    In the event it may help, here is the code I used:
    In my creationComplete function:
    GoogleAnalytics.initialize("UA-47303719-1");
    Here is the code in my app.xml
    <extensions>
            <extensionID>eu.alebianco.air.extensions.analytics.NativeGATracker</extensionID>
        </extensions>
    And here is the class I created to use the ANE:
    package ANE.NativeGATracker{
         import flash.utils.clearInterval;
         import flash.utils.setInterval;
         import eu.alebianco.air.extensions.analytics.Analytics;
         import eu.alebianco.air.extensions.analytics.api.ITracker;
         public class GoogleAnalytics{
              static private var _analytics:Analytics;
              static private var _tracker:ITracker;
              static private var _supported:Boolean;
               * There is no need to instantiate this class
              public function GoogleAnalytics(){
              * Initialize the GoogleAnalytics object.. or return false, if Analytics isn't supported
              static public function initialize(ANALYTICS_ID:String):Boolean{
                   if(Analytics.isSupported()){
                        _analytics  = Analytics.getInstance();
                        _analytics.dispatchInterval  = 5;
                        establishTracker(ANALYTICS_ID);
                        _supported   = true;
                   }else{
                         _supported  = false;
                   return _supported;
              * Establish the tracker connection
              * @description: establishes the tracker connection... reattempt every 10 seconds, up to 50 times
              static private function establishTracker(ANALYTICS_ID:String):void{
                   _tracker  = _analytics.getTracker(ANALYTICS_ID);
                   _tracker.startNewSession();
                   var counter:int    = 0;
                   var establishInterval:uint  = setInterval(function():void{
                        counter++;
                        trace("Google Analytics tracker = " + _tracker);
                        if(_tracker != null){
                             trace("GoogleAnalytics tracker connected!");
                             _tracker.buildView("Launch").track();
                             _tracker.buildView("Home").track();
                             clearInterval(establishInterval);
                       }else if(counter == 50){
                             trace("GoogleAnalytics failed to connect.");
                             clearInterval(establishInterval);
                       }else{
                             trace("Trying to connect to Google Analytics... attempt #" + counter);
                             _tracker  = _analytics.getTracker(ANALYTICS_ID);
                             _tracker.startNewSession();
                   }, 5000);
             * Analytics object
              static public function get analytics():Analytics{
                   return GoogleAnalytics._analytics;
              * Tracker object
              static public function get tracker():ITracker{
                   return GoogleAnalytics._tracker;
              * Returns true if analytics are supported, but false if they are not. Check this before any use of the tracker or analytics objects
              static public function get supported():Boolean{
                   return GoogleAnalytics._supported;

  • EJB 3.0 Web Services - Custom Request/Response Wrappers

    Hi All,
    I'm having an issue using Document Literal Wrapped web services with EJB 3.0. I have declared a service endpoint interface(SEI) in one jar file, along with custom wrapper classes for the requests and responses. The wrappers have the XML content customized a bit (different type names, etc.), but should be compatible with the @RequestWrapper and @ResponseWrapper annotations. The implementation is in an EJB jar file that includes the jar with the SEI in it. My issue is that the wrapper classes I declared are not being used, and instead new ones are being generated. Is it even possible for it to use supplied wrappers, or does it have to generate its own (and if so, is it in any way possible to specify the XML types it generates). I've tested this with wsgen, and I get the same result (new wrapper classes, the ones I supplied ignored) as when I deploy it. Here is the output from wsgen:
    Note: ap round: 1
    [ProcessedMethods Interface: com.company.IngestorService]
    [should process method: ingestProductDirectory hasWebMethods: false ]
    [endpointReferencesInterface: true]
    [declaring class has WebSevice: true]
    [returning: true]
    [WrapperGen - method: ingestProductDirectory(java.lang.String,java.lang.String)]
    [method.getDeclaringType(): com.company.IngestorService]
    [requestWrapper: com.company.IngestProductDirectoryRequest]
    [should process method: datatypes hasWebMethods: false ]
    [endpointReferencesInterface: true]
    [declaring class has WebSevice: true]
    [returning: true]
    [WrapperGen - method: datatypes()]
    [method.getDeclaringType(): com.company.IngestorService]
    [requestWrapper: com.company.DatatypesRequest]
    com\company\DatatypesRequest.java
    com\company\DatatypesResponse.java
    com\company\IngestProductDirectoryRequest.java
    com\company\IngestProductDirectoryResponse.java
    Note: ap round: 2
    I note that is says "hasWebMethods: false". Could that be an issue? Could it not be seeing my methods as web methods. The SEI and the implementation class are in different jar files and different packages. Could this be an issue?
    Here is the web service interface:
    @WebService(
    name = "IngestorService",
    targetNamespace = "http://company.com/"
    @SOAPBinding(
    style = SOAPBinding.Style.DOCUMENT,
    parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
    public interface IngestorService
    @WebMethod(
    action = "http://company.com/ingestProductDirectory"
    @WebResult(
    name = "response",
    targetNamespace = ""
    @RequestWrapper(
    className = "com.company.IngestProductDirectoryRequest"
    @ResponseWrapper(
    className = "com.company.IngestProductDirectoryResponse"
    public void ingestProductDirectory(
    @WebParam(
    name = "sourceDirectory",
    targetNamespace = ""
    String sourceDirectory,
    @WebParam(
    name = "datatype",
    targetNamespace = ""
    String datatype);
    @WebMethod(
    operationName = "datatypes",
    action = "http://company.com/datatypes"
    @WebResult(
    name = "datatypes",
    targetNamespace = ""
    @RequestWrapper(
    localName = "DatatypesRequest",
    className = "com.company.DatatypesRequest"
    @ResponseWrapper(
    localName = "DatatypesResponse",
    className = "com.company.DatatypesResponse"
    public List datatypes();
    Here are the datatype request and response wrappers:
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(
    name = "DatatypesRequest"
    public class DatatypesRequest
    DatatypesResponse.java:
    @XmlAccessorType(XmlAccessType.PROPERTY)
    @XmlType(
    name = "DatatypesResponse",
    propOrder =
    "datatypes"
    public class DatatypesResponse
    private List<String> _datatypes;
    @XmlElementWrapper(
    name = "datatypes",
    required = true,
    nillable = false
    @XmlElement(
    name = "datatype",
    required = false
    public List<String> getDatatypes() {
    if (_datatypes == null) {
    _datatypes = new ArrayList<String>();
    return _datatypes;
    Any help would be greatly appreciated. Thanks.

    I have been trying to do the same... and it seems to be impossible... (or completly undocumented).
    It seems that OC4J 10.3.x is ... no exactly fully EJB3/J2EE5 compliant...
    Or something like that:
    http://blogs.infosupport.com/berte/archive/2005/09/09/1117.aspx
    IMHO... OC4J 10.3.x is still a preview for OC4J 11...
    OC4J 10.3.x is kind of a J2EE4/5 hybrid... if you start digging in the documentation, you will find out that the only
    way to have WS-Security is going back to J2EE4 http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html
    (of course, I hope you probe me wrong)
    Message was edited by:
    luxspes

  • Bus Error: 10 while packaging a Flash Builder 4.6 application containing a native extension (ANE)

    I get this error:
    ld: warning: -ios_version_min not specificed, assuming 4.0
    ld: warning: -dead_strip with lazy loaded static (library) archives has resulted in a duplicate symbol.  You can change your source code to rename symbols to avoid the collision.  This will be an error in a future linker.
    /var/folders/y4/svqv7kzn469_ljcrvw1b99500000gn/T/cmd8085539752601990184.tmp: line 2: 25159 Bus error: 10           "/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/bin/ld64/i686-apple-darwin10-ld64" -ObjC -dead_strip -Z -arch armv7 -syslibroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iP honeOS6.0.sdk" -L/usr/lib -F"/System/Library/Frameworks/" -L"/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/lib" -o "../aot8213014594451590298.tmp" -L"/var/folders/y4/svqv7kzn469_ljcrvw1b99500000gn/T/07f32573-0d2b-42c6-b431-916954d76791" -exported_symbol _main -exported_symbol _ExtInitializer -exported_symbol _ExtFinalizer "extensionglue.o" -lstdc++ -lRuntimeInterpreter.arm-air -lgcc_s.1 -lstdc++.6 -lcrt1.o -lSystem.B -lz -lobjc -framework CoreFoundation -framework UIKit -framework MobileCoreServices -framework CoreGraphics -framework Foundation -framework SystemConfiguration -framework AudioToolbox -framework CFNetwork -framework QuartzCore -framework OpenGLES -framework CoreLocation -framework CoreMedia -framework CoreVideo -framework AVFoundation -framework Security -lcom.pgi.native.extensions.softphone
    Compilation failed while executing : ld64
    The ane was created using this command:
    "/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/bin/adt" -package -target ane SPExtension.ane extension.xml -swc SPTest.swc -platform iPhone-ARM -C ios . -platformoptions platform.xml
    The ANE file seemed to load in my project ok, and build ok.  But when I hit run to package for my ios device, I get the above error.

    Here's the fix in case anyone else runs into this problem.  When Flash Builder is building the deployment during launch, it converts the mapped path to a mangled local path for the ane to find the descriptor to a relative path, which can't be found and throws the null pointer.  Making the Output Folder path actually local to the computer, as opposed to the default that FB creates, resolves the error, and still allows blazeds access from the device.

  • Flash Builder will not debug app with .ane on Android Device

    Hello ,
    I'm having a big issue with the overall stability of Flash Builder 4.7 on my Mac (OS X 10.7.5)
    I developped an extension on FB 4.6 for iOS and Android and it was  working good. In the meantime I updated to 4.7, and since then I keep on running in to lots of problems when debuggin or compiling.
    Now my extension needs to be extended, and suddenly the complete project stopped, because debugger refuses working on android devices.
    The error I get is:
    An internal error occurred during: "Launching MyAppWithExtension".
    java.lang.NullPointerException
    at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.retainExtensionIds(AppXMLFileANEExtensionHandler.java:309)
    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANEController.java:360)
    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANEController.java:326)
    at com.adobe.flexbuilder.project.ui.utils.ANE.AbstractANEPackageHandler.modifyAppXMLforPackaging(AbstractANEPackageHandler.java:86)
    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandler.handleANEPackagingDetails(AbstractMultiPlatformLaunchHandler.java:195)
    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandler.applyPackagingDetails(AbstractMultiPlatformLaunchHandler.java:168)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.initialisePackager(ADBLaunchHandler.java:533)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHandler.java:409)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandler.java:350)
    at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatformLaunchDelegate.java:184)
    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:244)
    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:134)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Session Data:
    eclipse.buildId=M20110909-1335
    java.version=1.6.0_51
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/myusername/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/myusername/.eclipse_keyring -consoleLog -showlocation
    This is a continuation of log file /Users/myusername/PathToMy/Workspaces/MyAppWithExtension/.metadata/.bak_0.log
    Created Time: 2013-07-24 11:43:14.053
    What I tried so far:
    - Creating new workspace
    - Running Flash Builder with -clean parameter at startup
    - Reinistalling Flash Builder using Adobe Clean Tool
    - Stripping all metadata from the project (keeping only the source files) and make a complete new project setup.
    All to no avail.
    There's a good chance, I have a problem in my .ane code, but how am I supposed to find out, if debugger isn't working?
    BTW, I can make an release build of the project, but it hangs after the splash screen. I don't know, if it's a build or coding error, though.
    Ironically, I convinced my my employer to update FB to 4.7 due to the advanced iOS debugging features, but now I already spent about 10 times more working hours in finding workarounds to debugging / compiling issues than these features will ever be able to save me.
    Maybe anybody here has an idea on how to solve this issue ?

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

  • How to define tcp wrappers for a new service in Solaris 10?

    Hi all, I need to setup tcp wrappers for a third-party software product with /etc/hosts.allow.
    I installed Trillium software on a new Solaris 10 server. It added this entry to /etc/inetd.conf:
    dscserv0_rel1300 stream tcp nowait tsadmin /usr/bin/env env -i HOME=/home/tsadmin LOGNAME=tsadmin /opt/trilv13/TrilliumSoftware/server/metabase/bin/mtb_server
    After the install, I ran inetconv and this new SMF service was created:
    *# svcs -a|grep dsc*
    online         13:22:57 svc:/network/dscserv0_rel1300/tcp:default
    Here's the problem: After this, all new connections were denied by default. I had to disable tcp wrappers with this command:
    inetadm -m svc:/network/dscserv0_rel1300/tcp:default tcp_wrappers=FALSE
    I would prefer to enable tcp wrappers, and put an entry into /etc/hosts.allow, but I can't figure out what service name to put into /etc/hosts.allow. I've read through the man pages but I can't identify the service name to use for this new service, and it won't accept the FMRI or an abbreviation of it either.
    How do I identify the service name to put into /etc/hosts.allow?

    At OS level, before entering Sql*Plus, do :
    $ EDITOR=vi; export EDITOR
    $ sqlplus ......
    Message was edited by:
    Paul M.
    Ciao Nicolas :-)

  • Error while mapping BAPI wrappers.

    Hi,
    I have two SAP standard BAPIs (GetList & GetDetail) related with Inventory. When I assigned these BAPIs into my SyncBO and tried for mapping, I got an error "No import parameter refering to a filed of header structure exists in GetDetail BAPI Wrapper". How can I rectify this?
    I have seen some previous threads in forum like this, but I didnt got it well.
    Hope someone can give me better clarification regarding this & the constraints required for BAPI wrappers that can be used with a SyncBO. 
    Regards
    Shemim

    Hi Shemim,
    Kindly check the below article which explains about developing bapi wrappers with a sample syncbo.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20offline%20application%20development%20a%20complete%20guide%20using%20mobile%20infrastructure%20tools.pdf
    This will give you a better picture, how a bapi should be developed.
    Cheers,
    Karthick

  • |ios|adobe vibration + game center ane conflict

    Hello, I am having trouble then I try to use adobe's vibration and Game center ane's in a project.
    debug mode log:
    [SWF] com.adobe.Vibration - 857 bytes after decompression
    [SWF] com.adobe.ane.gameCenter - 2079 bytes after decompression
    [SWF] Vibration and Gamecenter.swf - 142 bytes after decompression
    Vibration isSupported()
    Vibration Constructor: Create an extension context
    ArgumentError: Error #3500: The extension context does not have a method with the name initNativeCode.
      at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as:58]
      at com.adobe.nativeExtensions::Vibration$/get isSupported()[/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as:43]
      at GameCenterTest()[C:\vibration and gamecenter\GameCenterTest.as:119]
      at GameCenterTest()
    Cannot display source code at this location.
    Vibration isSupported()
    air sdk: 17.0.0.138
    Project:
    Dropbox - vibration and gamecenter.zip

    Hi Nitacawo,
    I tried reproducing the issue. And I couldn't find the reference to the path "/Users/meetshah/Documents/Adobe Flash Builder 4.5/VibrationActionScriptLibrary/src/com/adobe/nativeExtensions/Vibration.as" Is it from the swc file that is used in the project ? Can you rather provide the code so that we could find out what is going wrong here ?
    -Tushar

  • How to enable TCP Wrappers with SMF services?

    I am using a site.xml file to enable/disable services during a Jumpstart configuration. This works great.
    However, I can't yet figure out how to configure the various properties of those services, such as enabling TCP Wrappers for a service. I can set the properties of a service and verify that they are set, but a "svccfg extract" does not capture that information.
    Is this a short coming of svccfg extract? Or are the properties of a service stored and configured elsewhere?

    That will work, as will any path underneath
    /var/svc/manifest.Got it working...Exported the inetd configuration, set tcp_wrappers to false, dropped inetd.xml into my jumpstart tree, jumped a box, and tcp_wrappers came up enabled by default for my inetd services!
    What is the difference between the /var/svcs/profile and /var/svcs manifest directory? Is profile for enabling/disabling services and manifest for service configuration?
    Does /var/svcs/profile/site.xml and /var/svcs/manifest/whatever.xml get read on every system boot? If not, what is the appropriate procedure to "reinitialize" smf if you want to change the existing behaviour by having it reread those files?
    Hmm. The defaults get written on the inetd serviceI believe, so exporting that would give you the
    fragment
    you want.It did, and I was able to accomplish what I needed to do.
    Sorry that it's such a slog in the meanwhile.Will there be something before FCS in a couple weeks?
    I can definetly see the managability and robustness of SMF. It's just going to take time to learn it, and documentation is needed for that.
    Thanks for all your help!

  • UDP in Air native extensions (ANE) on mobile devices

    i understand that UDP is not supported in Air on mobile devices (in actionscript). so i tried to make an air native extension (ANE) that sends UDP packets. however, i'm finding that this also does not work. the exception i'm getting seems to suggest that sending UDP packets from a ANE is being blocked due to a permissions issue. i'm testing on android, and i do have the INTERNET permission in my manifest. is this a known issue? is UDP blocked in ANEs as well?

    Hello Mr,
    Sorry for my poor English...
    I also try to make ane with java.
    But I'm totally stuck at include resouce things in java.
    Did you try to R.resource when you make jar-library.

Maybe you are looking for

  • When I start my computer my dock will not show up. help!!!!

    When I start my computer only the galaxy screen shot comes up. My dock won't appear or anything else. Just an empty screen. I have been able to get onto safari because my screen saver will eventually appear and because it's on shuffle sometimes the a

  • Why does not it support Arabic language for Pages?

    I would like to buy (Pages) but unfotunately it does not support Arabic language

  • Erreur:sapgui640 partner not reached(host 127.0.0.1 service sapdp00)

    I am a beginner on SAP R/3 . my laptop configuration is: windows xp média center 1.86Ghz 1G de Ram 80G de HDD. I have installed all those thing -Full download includes SAPGUI (2 files 1.5GB, 1.25GB) -Download SAPGUI only! (342 MB) - Installation Guid

  • Java.lang.NoSuchMethodError: main, only when I run project, not file

    When I am running my project to test it I am getting the following error message. Exception in thread "main" java.lang.NoSuchMethodError: main I have checked all the files are in the corrcet place, and all called what the class is called, which they

  • Burned CD

    when i burn a cd with a certain title and track, artist name, after the burning when i put the cd on another computer mac or windows, the title and track and artist has changed, its not even the same, so how do i burn to keep the same name has origin