I could not find whats app application in app store for my ipad

please advice i could not find whats app application in app store... im using ipad 4

There's no Whatsapp for iPad.

Similar Messages

  • Could not find any content hosted eligible apps

    Hi....
    my X-code version is 5.0, IOS version is 7.0
    I created test user and test products in in app purchase option under my application in itunes connect. I want to display content for each test products when user buy my free products. For displaying content i followed the below process:
    Creating App Store Hosted Content:
               In order to have the App Store host your content, the content must first be put in a package.
    Notes:
               Before starting the steps below, login to iTunes Connect, create a "Free Subscription" in-app purchase, and select "Yes" for
    "Hosting Content with Apple" for that purchase.
    Creating Xcode In-App Purchase Content projects :
    1).Created a .txt file and .jpeg file
    2).Start by selecting File > New Project from the menu, and choosing In-App Purchase Content:
    3).Enter the Product Name and Company Identifier such that the Bundle Identifier matches the Product ID you entered in iTunes Connect for this product.
    4).Now you will have a blank In-App Purchase Content project. You can right-click and Add Files... or drag them into the Project Navigator. Ensure that the ContentVersion is correct (it should start at 1.0, but if you later choose to update your content, remember to increment it).
    This window shows Xcode with the content files included in the project and the plist entries visible in the main window:
    5).Once you have added all your content files you can save this project and edit it again later, or begin the upload process.
    Uploading .PKG Files :
    6).The easiest way to upload content packages is with the Xcode Archive Tool. Choose Product > Archive from the menu to begin:
    The content package will then appear in the archive  in new window. Notice the archive type and icon show this is an In-App Purchase Content Archive. Click Validate... to check our content package for errors without actually preforming the upload.
    7).Login with your iTunes Connect credentials:
     At step 7 when i go for validate the archive I'm getting the below error
    "Could not find any content hosted eligible apps"
    Please guide me why am getting the above error

    You are better of asking questions like this in the developer forums : https://devforums.apple.com/index.jspa

  • ORA-06508: PL/SQL: could not find program unit being called: "APPS.FND_GSM_

    Hi All,
    We are following Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle Database 10g Release 2
    note: 362205.1
    Source OS = AIX
    Target OS = RHEL 5
    DB version = 10.2.0.4
    At Section 5: Update the imported Applications Release 11i database instance
    Perform post-import steps outlined in the Interoperability documents
    At post-import step: Implement and run AutoConfig
    Completed the below tasks:
    Copied the appsutil.zip file to to new OS ORacle home
    Generated the Database Context File
    While Running adconfig get the error
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : ORADB
    sDbDomain : quest-global.com
    sDbPort : 1521
    sDbSid : TST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@ORADB.quest-global.com:1521:TST
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    Result : Failed to upload the Context file to the DataBase
         Uploading Context file and its templates to the database...FAILED
    StackTrace:
    java.lang.Exception: oracle.apps.ad.autoconfig.oam.InDbCtxFileException: SQLException : ORA-04063: package body "APPS.FND_GSM_UTIL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "APPS.FND_GSM_UTIL"
    ORA-06512: at line 1
         at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:685)
         at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:222)
         at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1579)
         at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:661)
    Updating rdbms version in Context file to db102
    Updating rdbms type in Context file to 64 bits
    Kindly suggest
    Regards,
    SK

    HI,
    As per note 369693.1 - Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 2
    Section 4: Post-Migration Tasks
    Reconfigure the application tier to connect to the target database machine
    i have updated the context file parameters s_dbhost, s_dbdomain, s_dbport, s_apps_jdbc_connect_descriptor, s_isDB
    but will running autoconfig i get the error
    Making database connection using DBUtil
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='NULL'
    Trying to connect using APPS_JDBC_URL
    Exception occurred: java.sql.SQLException: No suitable driver
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oradb
    sDbDomain : quest-global.com
    sDbPort : 1521
    sDbSid : TST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oradb.quest-global.com:1521:TST
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oradb.quest-global.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TST)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oradb.quest-global.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TST.quest-global.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Exception occurred while preseeding variables in the context file: java.sql.SQLException: Could not get connection to the database
    StackTrace:
    java.sql.SQLException: Could not get connection to the database
         at oracle.apps.ad.tools.configuration.CVMHelper.processNewContextFile(CVMHelper.java:884)
         at oracle.apps.ad.context.CtxValueMgt.preSeed2Ctx(CtxValueMgt.java:1714)
         at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1516)
         at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:661)
    is there any check we can do to test the DB conection?
    Thanks
    SK

  • I could not find firefox 3.6 free down load for my mac 10.4 OS.

    I am working with Mac and operating system 10.4.11
    I reload my system software but could not down load Firefox 3.6.15 version as whereever I go on internet, it shows Firefox 4.0.
    I can not use ver 4.0 as I am using OS 10.4.11 and I can not afford to buy new mac with system 10.5 or 10.6.
    I need to down load browser firefox 3.6.15 so I can use my internet on Mac .

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    Mozilla are working to prevent Mac users with non-compatible systems from getting the notification about Firefox 4, and also not displaying the "Download Firefox 4" button on http://www.mozilla.com

  • Could not find control with id. 'btnGuardar' trigger for UpdatePanel 'UpdatePanel1'.

    I'm getting this error when I use an update panel, and a trigger AjaxControlToolkit accordion control.
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="frmUpload.aspx.vb" Inherits="DemoFileUploadVB.frmUpload"
    MasterPageFile="~/BaseMaster.Master" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:Accordion ID="Accordion1" runat="server" FadeTransitions="true" TransitionDuration="250"
    FramesPerSecond="40" RequireOpenedPane="false" SuppressHeaderPostbacks="true">
    <Panes>
    <asp:AccordionPane runat="server">
    <Header>
    <a href="" onclick="return false;" class="Link">Open </a>
    </Header>
    <Content>
    <div>
    <asp:FileUpload ID="fu" runat="server" />
    </div>
    <div>
    <asp:Button ID="btnGuardar" runat="server" Text="Guardar" /></div>
    </Content>
    </asp:AccordionPane>
    </Panes>
    </asp:Accordion>
    </ContentTemplate>
    <Triggers>
    <asp:PostBackTrigger ControlID="btnGuardar" />
    </Triggers>
    </asp:UpdatePanel>
    </asp:Content>
    if it is not the right forum please move the thread to the right one

    Hello,
    The correct forum is ASP.NET forums.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.
    thanks.
    regards

  • Could not find the Database Engine startup handle.

    Why can't Microsoft make software that "Just Works" any more.
    This is Sooooo frustrating!  I'm a developer.  I want to write database software and I'd like to use SQL Server.  But I can't even get the damn thing to install on a fresh Windows 8.1 installation. 
    MySQL - installs no problem - it just works.
    Oracle - Installs no problem - It just works. 
    I downloaded SQL Server 2012 Express with SP1, ran the Install, took most of the defaults, and I get:
    Install Failed:
    The following error has occurred:
    Could not find the Database Engine startup handle.
    For help, click:
    http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254025
    Of course, clicking on the link takes me to a non existing web page - what else?  Just incompetence everywhere.  This is Microsoft's own operating system yet they can't even get their own database to install while their competitors can.
    How can they let this happen!
    Then I googled the above error message.  - Hundreds of hits and a lot of them are threads in forums and lots of civilians saying "try this try that"  none of which works. Not a single Microsoft Employee to be found in any of the
    discussions or answers.  And this same problem has been happening since 2008! Yet Microsoft can't be bothered to fix it.
    This kind of buggy software shouldn't have made it past Alpha testing.
    Come on Microsoft, you just have to try harder.  I can understand bugs that happen in unusual circumstances, after all I'm a developer too.  But this won't even install on a clean Windows 8.  It's tantamount to releasing a "Hello
    World"  program that crashes on startup!

    Hi Bob,
    If you make sure all your hardware and software requirements are met for installation of SQL Server 2012 on window 8.1 Its highly unlikely you will face issue.I can understand your situation so let me help you.As Kalman pointed can you paste output
    of setup log file which was generated due to failed installation using Kalman's link.
    Did you went thorugh below link
    How to install SQL server on Win 8.1
    Hardware and software requirements for SQL Server 2012
    Please first read above links understand how it works and then proceed
    Regarding startup handle error .AFAIK its because of Account with which you are trying to install SQL server somehow is not able to start it up after installation.Basically a righst issue.Can be different in some cases.Now whenever you install SQL server
    alsway RK on Setup file and select run as administrator.When you reach page window where you need to select startup account for SQL Server please select NT Authority\System( or local system account) .
    Details with steps
    http://social.technet.microsoft.com/wiki/contents/articles/24364.sql-server-troubleshooting-could-not-find-database-engine-startup-handle-error-during-installation.aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Can not start WebLogic in Eclipse. Error: "Could not find the main class."

    I have installed Eclipse 2.0 and WebLogic Server 6.1. and the WebLogc plug in from GENUITEC (and jdk1.3.1_04, on Win2K Server). After I have done the configuration, the WebLogic start/stop buttons are integried into the Eclipse Toolbar, but when I click on the start button to start Weblogic, it pops up a dialog box "Java Virtual Machine Launcher" with message: "Could not find the main class. Program will exit!"
    Starting WebLogc Server from the Start panel works fine.
    Does any one have seen this before or have a suggestion what I should do?
    Many many thanks in advance.
    Huan

    Weblogic must be started with a full JDK; otherwise
    JSPs and dynamic EJB stubs could not be deployed. The
    error message
    indicates you are attempting to use a JRE. Configure
    Eclipse JRE to point to a JDK. The product
    documentation will help you with this process. It does not work for me. :-(
    I have tried JDK 1.3.1 and 1.4.1: same result: I get a "Could not find the main class: Program will exit"
    For free expert support please consider contacting
    Genuitec at [email protected] If just want any
    answer ask a newsgroup.
    WayneI'll try the support at '[email protected]' :)
    Michel
    Michel Szybist
    [email protected]
    Fax: +33 (0)173729897
    SMS: http://www.szybist.net/

  • JAR  file:      could not find the main class.

    I have been working with Java satisfactorily for about two years.
    Installed a bigger hard disk.
    Installed Windows XP.
    Downloaded java.
    Downloaded java jdk 1.6.0_07
    Downloaded java3d 1.5.2
    Downloaded Eclipse Ganymede.
    A new project, a new class with an existing and working java file. It did function in eclipse.
    Generated a jar file with:
    Export \ JAR FILE \ select files and the destination for the Jar file .....
    ... next...next filled the field Main Class
    This generates the jar files, which have worked before.
    And now the error: could not find the main class.
    Thand you for your help.

    Executing a jar file means it will not read from the CLASSPATH environment variable. I learnt this the hard way a few weeks ago and I had to resort to different measures to work around it.
    Your problem does sound weird, but check that the last line in your manifest file is a new line. If it's not, the manifest is not read and parsed correctly.
    To test, do this: remove everything from the manifest that you don't need, except the Manifest-Version and Main-Class attributes. Make sure the last line is a new line, and see if it works.
    Cheers

  • Need some example to study but could not find sh.rpd and sh folder

    Dear all,
    I am new for OBIEE and want to use sh example to study.
    But I am so puzzle that I searched each space of the computer and could not find sh.rpd and sh folder.
    For some reason, I can't re-install dataware house.
    Is there someone could attach the sh folder and sh.rpd?
    Million thanks for any helps!

    hi
    see this
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html
    here you can download the sh rpd.. .

  • I tried to follow the instruction of buying iphone apps without a credit card, when I selected United States, but when I fill up the credit card info, i could not find the word "None". Anyone know what should I do?

    I tried to follow the instruction of buying iphone apps without a credit card. I follow the steps and I selected United States, but when I fill up the credit card info, i could not find the word "None". Anyone know what should I do?

    When you tried to contact Support with the card's images how were you trying to do it, on your phone or a browser on your computer ? And have you tried a different browser to see if you get the same error message ?
    As well as images of the card they might also want an image of its receipt.
    And to contact Support you were using : http://www.apple.com/support/itunes/contact/ , and clicked on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes ?

  • [Office Web Apps] WacPipe.CreateIdFromRawId: could not find basedoc

    Hi,
    I have a problem with getting PowerPoint file information from urls like:
    http://server/_layouts/MobilePresentation.ashx?PresentationId=/sites/xyz/presentation.pptx
    When I am trying to access this url I got an error:
    Unknown SPRequest error occurred. More information: 0x80070002
    WacPipe.CreateIdFromRawId: could not find basedoc, FileUnknownException
    Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: query string insufficent
    at Microsoft.Office.Web.Environment.Sharepoint.SharepointBaseDocument.CreateBaseDocumentFromQuerySignature(String baseDocQuerySignature)
    at Microsoft.Office.Server.Powerpoint.Web.OfficeMobile.MobilePresentation.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Does anyone knows what can be wrong? I have added PowerPoint service proxy to this web application.

    Hi,
    If you would like to present powerpoint slides using Office Web App in SharePoint site, you could refer to the article below:
    http://slalomdotcom.wordpress.com/2011/04/13/office-web-apps-image-generation/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Recently in the Bahamas where I helped a friend with his new iPad. We could not find Bahamas in initial setup so we used United States and could not enter Visa/MC billing address in Bahamas. iTunes rejected, billing info is not what's on file. What to do?

    Recently in the Bahamas where I helped a friend with his new iPad. We could not find Bahamas in initial setup so we used United States and could not enter Visa/MC billing address in Bahamas. iTunes rejected, billing info is not what's on file. What to do?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • I downloaded some home movies onto my IMac but could not find a way to burn them to a DVD.  Does Apple have software to do this or do I need to purchase one.  If so, what is recommended.

    I downloaded some home movies onto my IMac but could not find a way to burn them to a DVD.  Does Apple have software to do this or do I need to purchase one.  If so, what is recommended.

    but could not find a way to burn them to a DVD.
    Do you want to create a video DVD that will plan on a TV set via a DVD player or just burn the video files to a data DVD disk for storage?
    If the former the read the following:
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailier like Amazon.com: ilife 09: Softwareor eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago.
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them.
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    However, there are video DVD authoring apps that are available at the App Store that will create a video DVD disk.  They won't be as extensive as iDVD but can create a simple video DVD.
    iDVD 7.1.2 is compatible with iDVD but we don't if it will be with the next system generation.

  • 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.

  • Create App Sharepoint online 365 - .Get Context Token From Request Could not find a context token

    PT-BR
    Olá Pessoal , estou tentando criar um aplicativo hospedado em um servidor de domínio próprio (provider-hosted) . Ao rodar o aplicativo localmente pelo visual studio  eu consigo obter {StandardTokens} e todos os seus parâmetros: "AppContext",
    "AppContextToken", "AccessToken", "SPAppToken" .
    Ao publicar o Aplicativo no sharepoint online 365 e instalar o app em meu site e executar o app. Os parâmetros não passados via query string e nem por resquest form.
    Em minha query string vem apenas os parâmetros: SPHostUrl,
    SPHostTitle,SPLanguage,SPClientTag,
    SPProductNumber,SenderId
    Alguém poderia me ajudar com este problema?
    English
    Hello Guys, I'm trying to create an application hosted on your own domain server (provider-hosted). When running
    the application locally by visual studio I can get  StandardTokens} and all of its parameters, "AppContext", "AppContextToken", "AccessToken", "SPAppToken".
    By posting application in sharepoint online 365 and install the app on my site and run the app. Non parameters
    passed via the query string and not for resquest form.
    In my query string comes only parameters: SPHostUrl, SPHostTitle, SPLanguage, SPClientTag, SPProductNumber,
    SenderId
    Could anyone help me with this problem?
    .Cs
      string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);

    check the links, see if they can help
    https://social.msdn.microsoft.com/Forums/en-US/39488844-8568-48c2-8d09-a8eb12fb4591/providerhosted-app-could-not-find-a-context-token?forum=appsforsharepoint
    https://social.msdn.microsoft.com/Forums/en-US/23163e33-2f84-4356-813d-04f9103889c5/sharepoint-providerhosted-app-context-token-not-available?forum=appsforsharepoint
    Work hard, play harder!

Maybe you are looking for