"Class" for Exporting for ActionScript not accessible

I am trying to export some audio files with Sound Properties > Export for ActionScript. However, for some reason the "Class" box is greyed out and unaccessible. I've tried out a number of different files: .mp3, .wav,  .aif, but Class is still greyed out.
What is the problem? Is there some sort of workaround?

I just found out that the reason the reason why it was not editable is because the document has been set up for Actionscript 1.0 and 2.0, not 3.0. I tried to follow this video: http://www.youtube.com/watch?v=r5Ai4-j0bUc on how to export sound to actionscript.
I've been trying to find the Actionscript 1.0/2.0 version of that workflow to set up a sound, volume, play, frame range, play increment, etc. Is it essentially the same coding?
import flash.media.SoundTransform
import flash.media.SoundMixer
SoundMixer.stopAll()
// The section below imports the sound you just "Exported for Actionscript"
// Replace "sound" with the "Class" name you put in the ActionScript tab for the audio clip
// ** If there is more than one sound, then copy & paste the line below and rename the "sound1" and "sound" to each new audio.
// ** Do the same process with the ".play" line at the bottom of the program
var sound1 = new sound();
// Section below controls the audio volume. Range is between 0-1.
// Example:  .5 >>>> 50% volume
var myvolume:SoundTransform = new SoundTransform(.5);
// Below controls the
// (<starting frame within audio track>, <frame increment or how fast the track plays>,<Connects to Volume - ignore it>)
sound1.play(0, 1, myvolume);

Similar Messages

  • Export for actionscript - Not in first frame

    Just a simple question.
    Don't need to know if it works or not I have tested it. What
    I want is to understand. Here it is:
    If I use the Export for actionscript and I unselect the
    Export in first frame, the item that will be linked by the ID in
    the library must appear on the timeline. Normally it must be on a
    frame that has played. IE frame 3 the item is there so I can use it
    from the frame 3 to the last frame. This is how it works for the
    _root. If I'm in a clip, the code can be on the first frame with a
    stop. That means that the Item is on the second frame and has not
    displayed, but it is accessible by the code.
    Why?
    Why on the root the item must appear on the frame where the
    code is or before the code, but if in a clip, the code can works
    even the item reside on a later frame that will never display
    because there is a stop on the first one?
    Tanx for your help to understand!

    I think that this is probably because of how flash streams
    content. In order for flash to play frame 2 on the timeline, it
    COMPLETELY loads all the code and assets for that frame (but not
    frame 3) and then 'plays' that frame. Therefore on the main
    timeline, code on frame 2 can't access exported clips from frame 3.
    However, if your movie clip is (for example) on frame 4,
    flash will stream/load everything (including your complete move
    clip) when the play head reaches that frame, so all assets within
    that frame are available because in order to even 'play' frame 4,
    flash has had to load the entire movie clip contents.

  • NAM 3.2.1 Custom Authentication Class for BASIC not loaded

    Hi!
    Im trying to write a custom authentication class for
    BASIC/PROTECTED_BASIC, so I started with the PasswordClass sample from
    SDK novell-nacm3_2-devel-2012.08.10.tar.gz, stripped out the
    STSAuthenticationClass and changed the type to
    AuthnConstants.PROTECTED_PASSWORD --> and it works!
    public String getType() {
    return AuthnConstants.PROTECTED_PASSWORD;
    Next I wanted to create a custom BASIC auth class by changing the type
    to AuthnConstants.BASIC / AuthnConstants.PROTECTED_BASIC
    public String getType() {
    return AuthnConstants.PROTECTED_BASIC;
    but now IDP complains about the unsupported type.
    <amLogEntry> 2012-12-20T15:11:17Z WARNING NIDS Application:
    AM#300105006: AMDEVICEID#FC77EC2A45509E7B: Failed to load
    authentication class due to unsupported type: ITdBasicTestClass
    </amLogEntry>
    Im running NAM 3.2.1 single box appliance for development/testing.
    There is an old thread here, that looks like the same issue:
    http://tinyurl.com/c6eawj6
    Any hits?
    regards
    Thomas
    PS: What i really want to solve is strip out the Domain from the
    username on basic authentication since most MS apps/clients provide the
    username in format DOMAIN\USER...
    reibenwein
    reibenwein's Profile: https://forums.netiq.com/member.php?userid=1382
    View this thread: https://forums.netiq.com/showthread.php?t=46430

    hmmm, well try writing the value out to stderr and see if you can at least make sure you are getting
    a good read.
    Like a System.out.println(AuthnConstants.PROTECTED_PASSWO RD);
    I ran into some strange stuff where some constants had no values for no apparent reason when they
    should.
    I would also try supplying the actual value instead of the constant and see if it goes through that
    way. ("ProtectedBasic")
    On 1/10/2013 11:14 AM, reibenwein wrote:
    >
    > Hi!
    >
    >
    > I copied com.novell.nam.authentication.PasswordClass to start with my
    > test custom auth class. It includes a method getType() like this:
    >
    > /**
    > * Get the authentication type this class implements
    > *
    > * @return returns the authentication type represented by this
    > class
    > */
    > public String getType() {
    > return AuthnConstants.PROTECTED_PASSWORD;
    > }
    >
    >
    > --> IDP loads my custom auth class, as long as a leave getType()
    > returning AuthnConstants.PROTECTED_PASSWORD! But this is form base
    > authentication. According to the API documentation (see page 17 in
    > namc_enu.pfd within the sdk download), getType should
    > returnAuthnConstants. PROTECTED_BASIC for secure Basic authentication
    > (or AuthnConstants.BASIC for non SSL Basic auth). So i changed getType()
    > like this:
    >
    >
    > /**
    > * Get the authentication type this class implements
    > *
    > * @return returns the authentication type represented by this class
    > */
    > public String getType() {
    > return AuthnConstants.PROTECTED_BASIC;
    > }
    >
    >
    > --> and then IPD comes with the error "Failed to load authentication
    > class due to unsupported type"...
    >
    >
    > regards,
    > Thomas
    >
    >

  • Context menu for chart not accessible when VI is running

    Hi
    I've got several LabView programs, all showing a chart to display data received via RS232.
    In all my application i can change update mode, autoscale etc. by right click on the chart (context menu). In one of my app the context menu does not pop up. Why? Couldn't find any option that would block this menu.
    Thanks
    Alex

    "A. Raimondi" schrieb im Newsbeitrag
    news:[email protected]..
    > Hi
    > I've got several LabView programs, all showing a chart to display data
    > received via RS232.
    > In all my application i can change update mode, autoscale etc. by
    > right click on the chart (context menu). In one of my app the context
    > menu does not pop up. Why? Couldn't find any option that would block
    > this menu.
    > Thanks
    > Alex
    Hello Alex,
    create a property node with your VIs reference and set 'Front Panel
    Window' -> 'Allow Runtime PopUp' to FALSE.

  • Calendar for 2016 Not Accessible

    The Calendar app kept crashing if I select almost  any date or event in the first nine months of 2016. As a result they are not available to me on my notebook
    All the rest is fine: that is 2014, 2015 the last three months of 2016, 2017 etc.
    Also the issue does not occur on my iPad, iPhone or in iCloud.
    Working with an Apple  Senior Advisor I have unsynced, synched, deleted preference files and reinstalled OS X, etc. However the problem continues with no improvement. Since my notebook is my primary way to use Calendar this a significant problem.
    Any thoughts?

    Updating to Yosemite fixed this!

  • Flash IDE not compiling movieclips with "export for actionscript"

    I'm having a really odd problem with Flash CS5 where I'm getting random compiling errors for movie clips that are exported for actionscript. These are simple graphics that will be created at runtime. Nothing special.
    When I first open the project it gives errors for all the symbols in the project, but if I open and save the settings dialog the errors go away. Sometimes I have to go into individual symbols and check/uncheck the "export for actionscript" box. This is a AS2/Flashlite project.
    Anyone else having these errors? I tried to "save as" the project and clean the ASO cache. No luck.
    Here's an example of the error:
    Symbol=movieBkgrdSmall, layer=Layer 1, frame=1, Line 1    The class or interface 'movieBkgrdSmall' could not be loaded.

    cs5 will scan the current directory and all subdirectories for class files.  sometimes you can have a name conflict and not realize it and that can cause substantial problems.
    when desperate, create a new directory with no subs, save your current project there (with a new name).

  • Import and/or export for actionscript without extention?

    I have a project in which I need to import several hundered png images.
    When I import them into the library, then select all the images, then view the properties, I Check the export for action script and the export in frame 1.
    Now, all my images have class names that I can access though my code, however, it included the file extensions in the class names, thus making invalid class names.
    Is there any way I can import and/or set class names so they do not include the file extensions without having to do it manually for EVERY file?

    My actual project has something like 9200 images in it.
    if  my main project, let's call it "main.fla", was to contain every one of  those images, every time I tried to run or debug it, it would take  FOREVER to compile... as a work around that I discovered in a previous  project was to put all my graphics and media into an swc file. (Let's  call it MyLibrary.swc)
    While I was trying to get the  swc working, I discovered that while my media in the swc was indeed  setup to be exported for actionscript with unquie classes and  everything, when I compiled and built my project, I could not get any of  those media elements using the getDefinitionByName function.
    After alot of reading and trail and error I found that the only way to get it to work was to have someplace in my code, an actual reference to the objects that I was trying to get with getDefinitionByName. It turned out, that without instantiating the object in the code, the compiler was omitting it.
    Now, but instantiate, I mean doing this:
    var bm:BitmapData = new MyImage();
    Where MyImage.png is in my swc and has a class defined as "MyImage"
    Once I do that, then I can do this
    var classRef:Class = Class(  getDefinitionByName("MyImage")  );
    But without that line above SOMEWHERE in my code (even if it's not actually executed), the getDefinitionByName returns an error saying it can't find the class.
    Now, here's the problem.
    When I import all my images into my swc library they get named with the file extention... "MyImage.png" and when I select all the images that Imported and batch set the export for actionscript, they get automatically assigned a class name equal to their library name, so the class name is "MyImage.png"
    so if I wanted to use getDefinitionByName to access the class, I would need to instantiate it in my code by doing this:
    var bm:BitmapData = new MyImage.png();
    BUT, that is erronous as the period causes an error and the adobe docs says right in it that class names can't use periods or any other non-alphanumeric character.
    So while the getDefinitionByName function DOES actually work with classes with periods in them, because my media is external of the main.fla, I can't load it unless it's instantiated first, which leaves me right back where I was.... having to to manually rename over 9000 classes manually one at a time.
    I did some searching and found the "Flash Library Renamer" extension, but it requires me changing all my class names to be sequenial, which the vast majority is not.
    Is there a way that I can import the files into the library and have it omit the file extension?
    if not, is there a way that I can set the class names in a batch and not have it use the file extentions?
    if not, is there an Flash Extention or plug in that will allow batch renaming using regular expression or wildcards?

  • Statement Not Accessible for a FM

    Hi i am getting Statement not accessible syntax error at the Call Function Statement,(bold line) for the following code. Can somebody clarify me why this is happening. Thanks in advance.
    PROGRAM ZHR_FEATURE_RLPGR .
    TABLES : PERNR.
    TABLES : T74HG,  PSKEY, T5UB3, T5UB9, T5UBT, T5UBA .
    infotypes:0001,0021.
    CALL FUNCTION 'EXIT_SAPLHRBEN00FEATURE_029'    
      EXPORTING
        _PERNR                 = PSKEY-PERNR
        _BEGDA                 = PSKEY-BEGDA
        _ENDDA                 = PSKEY-ENDDA
        _BAREA                 = T5UB3-BAREA
        _BENGR                 = T5UBT-BENGR
        _BSTAT                 = T5UB9-BSTAT
        _BPLAN                 = T5UBA-BPLAN
        _SUBTY                 = PSKEY-SUBTY
        _OBJPS                 = PSKEY-OBJPS
    IMPORTING
       _RLPGR                  = T74HG-RLPGR
       EXCEPTIONS
       EVALUATE_FEATURE       = 1
       CUSTOMER_ERROR         = 2
       OTHERS                 = 3

    Hi,
    Try with as below.
    CALL FUNCTION 'EXIT_SAPLHRBEN00FEATURE_029'
      EXPORTING
        _pernr                 =
        _begda                 =
        _endda                 =
        _barea                 =
        _bengr                 =
        _bstat                 =
        _bplan                 =
        _subty                 =
        _objps                 =
        iscobra              =
        _nontx                 =
    IMPORTING
      _RLPGR                 =
    EXCEPTIONS
      EVALUATE_FEATURE       = 1
      CUSTOMER_ERROR         = 2
      OTHERS                 = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Ram.

  • Photos visible in iPhoto application but not accessible for upload

    Any help anyone can provide with this is greatly appreciated. I took pictures of a friends wedding and have been trying to order a photobook as a gift. I decided to try to use iPhoto to make the book. I don't use iPhoto very often and at the start of this, my iMac was running on the Tiger OS and an old version of iPhoto (I think 5 or 6). After completing the  first version of my photobook, I tried to place an order, but got a message that my version of iPhoto wasn't supported any longer and I'd  have to upgrade.
    I called the Apple store and ordered the Mac Box Set to upgrade my operating system to Snow Leopard and my iLife to version 11. The woman at the Apple store had me check my system info., available space, etc. and she assured me that my system should be able to handle the upgrade. I went ahead with the upgrade, loading the new operating system first and then iLife. The install seemed to go just fine, I never got any error messages and all the applications appear to function properly. So, I used the new version of iPhoto to create a photobook. I then placed the order the first time. On my end the process went smoothly and the upload completed without interruption. However, I got an e-mail message 4 days later saying my order couldn't be completed because files did not upload properly. So, I tried to place the order again, following the instructions to make sure that all my other applications were closed, etc. Once again the process seemed to be completed without any issues. However, now a week later, I once  again got the error message that my order could not be completed because files did not upload properly.
    So, I decided to try to place an order through a different vendor. Now I have discovered that all my recent photos (despite appearing in the iPhoto) are not accessible when I try to access them for upload to the vendor's site. The icon for iPhoto library is grayed out and there is no longer an option to access my photo rolls through finder. So, now I am unable to place the order for the photobook.
    Can anyone help me figure out how to fix this? Any help you can provide is greatly appreciated.

    Nothing to be fixed. Just a little learning for you.
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • EXPORT FOR ACTIONSCRIPT

    I'm noticing that in the Flash Library panel either the original bitmap image file (JPG, PNG, etc.) or its graphic symbol can be exported for actionscript.  Is it best to use the original file (e.i., PNG) and do away with creating a symbol?  Those images will only be used via AS3, not on the stage within the Flash authoring environment.
    Regards,
    Ron

    graphic symbols can be useful for designers that like to design using the timeline:  when you scrub the playhead across a movieclip, the movieclip doesn't play.  but when you scrub the playhead across a graphic, the graphic will play.
    i'm a developer, not a designer.  i've never used a graphic even when i was a newbie.  and, i'd venture to say 90% of the contributers to these forums are also developers/not designers and i'll bet they don't use graphics, either.  if you don't use timeline animation, you have no use for graphic symbols.
    but for designers that do a lot of timeline animation, graphics can be very useful.

  • The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

  • HT5085 I have found that at least 3 music videos that I had previously purchased are not available in my I-tunes music video list.  I paid for them over a year ago, why are they not accessible, and why did they just disappear from my lists?

    I have found that at least 3 music videos that I had previously purchased are not available in my I-tunes music video list.  I paid for them over a year ago, why are they not accessible, and why did they just disappear from my lists?

    Have you deleted anything from your iTunes library ? Have you checked to see if they are still on your computer, but not listed in your iTunes library ?
    If not then do they show in the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage for redownloading ? If they don't show there and others do and they are still in your country's store, then check to see if they are hidden : http://support.apple.com/kb/HT4919
    If they are no longer in your store for redownloading (or you aren't in a country where music videos can be redownloaded) then you will need to copy them back from your backup of your library/downloads.

  • Why site database server for Central Admin site not accessible?

    Hello everyone,
    I've this issue where; when connecting a primary site to existing central administration site; setup prerequisite checker 
    continue to notify it cannot establish connection to SQL server having central administration site database. The SQL server 
    having central site database is installed locally on the server central administration site is hosted on. Both servers 
    (central administration site server, the new server to host child primary site required to join that central administration 
    site) having following configuration:
    A. Central Administration site server, with site database server installed locally: 
    Name:             HQCAS
    OS:                WS 2008 R2 SP1, fully patched.
    SQL Server:     SQL Server 2008 R2 with SP2. Correct required SQL server collation set supported by CM2012.
    SQL Server named instance: CASDB
    Local firewall ports opened: 1433, 4022  (via inbound rules created in group policy, same GPO applies to primary site 
    server)
    SQL Server broker service Enabled: True.
    TCP/IP: All dynamic ports left blank to support static port 1433.Static port 1433 configured for all IPs. 
    IP Address: 10.1.1.250/8
    Local SAM:      Both server computer accounts added to local 'Administrators' group on both servers.
    Domain service account: svcCASDB
    SPNs registered:        2x, one for HQCAS hostname on instance CASDB on port 1433, second for FQDN for HQCAS on instance 
    CASDB on port 1433.
    SQL Server Logins:   Security group containing both computer accounts for HQCAS & STPRS. Both account having sysadmin SQL 
    server role assigned.
    SQL Server browser service running.
    B. Primary site server, with SQL server installed locally: to join HQCAS CM2012 hierarchy:
    Name:             STPRS
    OS:        WS 2008 R2 SP1, fully patched.
    SQL Server: SQL Server 2008 R2 with SP2. Correct required SQL server collation set supported by CM2012.
    SQL Server named instance: CM12PRIMARY
    Local firewall ports opened: 1433, 4022  (via inbound rules created in group policy, same GPO applies to central 
    administration site server)
    SQL Server broker service Enabled: True.
    TCP/IP: All dynamic ports left blank to support static port 1433.Static port 1433 configured for all IPs. 
    IP Address: 172.168.1.250/16
    Local SAM:      Both server computer accounts added to local 'Administrators' group on both servers.
    Domain service account: svcCASDB
    SPNs registered:        2x, one for STPRS hostname on instance CM12PRIMARY on port 1433, second for FQDN for STPRS on 
    instance CM12PRIMARY on port 1433.
    SQL Server Logins:   Security group containing both computer accounts for HQCAS & STPRS. Both account having sysadmin SQL 
    server role assigned.
    SQL Server browser service running.
    Tests performed:
    Telnet to/from both HQCAS/STPRS on ports 1433, 4022 establishes connection. Please help
     

    Hello friends,
    My finding it finally is....there wasn't any configuration issue as I mentioned above.
    I'm using an evaluation edition of SQL Server 2008 R2; it just allows default instance (MSSQLSERVER) to be used, not a named instance. 
    The confirming test for this was...I re-installed SQL Server with all the same settings except changing from a named instance to default; once I finished applying service pack 3. I could initiate WSUS 3.0 SP2 x64 setup and point it to use this SQL server.
    WSUS setup completed without any errors. This was not happening when named instance was all configured properly. It was just not accessible from outside.
    Well this is what my finding is. For lab environment of CM2012 it suffices the need.
    Regards,
    Shahzad.

  • Exit Class for Inbound Mail not getting triggered

    Hi Gurus,
    I have created an exit class for processing the Inbound Mail that comes to SAP Inbox (SOIN).
    I have set up the Inbound processing rule in transaction SO50 and set it to all recipients.
    If i send a mail from any external id to the id configured in SAP then it is coming in SAP Inbox (SOIN) but the exit class for processing the email is not getting triggered.
    I have made all the settings for SMTP.
    Kindly guide me with the steps needed to be followed for triggering the Exit Class.

    Hi
    Check u have maintained ur outgoing mail server IP in SCOT transation.
    Check link step to configure PO mail.
    http://architectsap.com/blog/sap/sap-mm-purchasing-send-purchase-order-by-mail-to-vendor-in-sap/

  • Dynamic Java bean classes for XSD using JAVA (not any external batch or sh)

    Hi,
    How can we generate dynamic Java bean classes for XSD (dynamically support All XSD at runtime)?
    Note: - Through java code via only needs to generate this process. (Not using any xjc.bat or xjc.sh from JAXB).
    Thanks

    Muthu wrote:
    How can we generate dynamic Java bean classes for XSD (dynamically support All XSD at runtime)?
    Pretty sure you can't. Probably can do a lot of them with years of work.
    And can probably can do a resonable subset suitable for the business at hand with only a moderate effort.
    Note: - Through java code via only needs to generate this process. (Not using any xjc.bat or xjc.sh from JAXB).The Sun jdk, not jre, comes with the java compiler as part of it. You can create in memory class (I believe in memory) based on java code you create.
    I believe BCEL alllows the same thing (in memory) but you start with byte codes.
    You could just create a dynamic meta data solution as well, via maps and generic methods. Not as fast though.

Maybe you are looking for

  • How to upload a document with values related to document properties in to document set at same time using Javascript object model

    Hi,       Problem Description: Need to upload a document with values related to document properties using custom form in to document set using JavaScript Object Model.     Kindly let me know any solutions. Thanks Razvi444

  • Pointer disappears in Word for Mac

    I upgraded recently to Office for Mac 2011, and a problem which I'd had in Office 2008 re-appeared. I remember fixing this in Word 2008 for Mac, but can't remember how I did it. Basically, what happens in Word for Mac 2011 is that every time I press

  • Oracle 11g(11.1.1.6) SOA Domain creation failed

    Hi , I am new to SOA .I have downloaded s/w from OTN (ORACLE) site .I have followed the quick start guide for installation .Everything went well I have successfully installed oracle XE ,weblogic server,OEPE,RCU,OracleServiceBus. When I try to create

  • Nautilus Crashes Gnome-Shell

    Just upgraded to Gnome 3.6.1 today, and for some reason now every time I open Nautilus, gnome-shell and mutter crash then reopen, and I can continue as normal.  If I open and close nautilus three times, gnome crashes, disables extensions, and sends m

  • BlueTooth USB dongle problem

    Hello, I have a problem with my BlueTooth USB dongle OS: Win98 Drivers: latest 1.4.2.10 When I setup a connection the following error occurs: ERROR: Unable to start the BlueTooth stack service Can anyone tell me how to solve this problem?? Andries