Urgent! How to create a ebook using web services?

Hi I would need some help on how to creating a e-book using web services. Sample code would be good for me.
I had been finding sources for quite sometime but i doesn't seems to be easy to find as compare to andriod.
Description:
Windows 8.1 SDK Sliverlight.
The e-book will on PDF format.
Once user click e-book icon, i would link to my database to retrieve all the ebook available via web services.
Then user select the e-book, the content will be again retreive from my database to the users.
Is there any solution? I need it quite urgent.

Hi Ding Zheng,
>>Once user click e-book icon, i would link to my database to retrieve all the ebook available via web services. Then user select the e-book, the content will be again retreive from my database to the users.
According this approach, I would suggest you make good use of build-in API to render PDF in store app. see more classes in the following namespace.
 http://msdn.microsoft.com/en-us/library/windows/apps/windows.data.pdf.aspx. Using this APIs need PDF file in local storage, so I list the following steps
for you to try.
Step 1, Store PDF file in web site folder and save the PDF URL in database.
Step 2, Use Web service/WCF/REST service to public the PDF to store app.
Step 3, Store app uses service to get PDF list and then display them.
Step 4, User choose one PDF, get the PDF download URL from service and then download it on local storage. Store app support download file form server, you can use BackgroundDownloader. See from
http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.backgroundtransfer.backgrounddownloader.aspx.
Step 5, Use PDF APIs to render it in store app. See code sample
https://code.msdn.microsoft.com/windowsapps/PDF-viewer-sample-85a4bb30#content.
Please feel free to let me know if you have any concerns.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.

Similar Messages

  • How to create Query as a web service in  Business Objcets

    Hi Friends,
    Can any one please guide me ' How to create Query as a web service in Business Objects'.
    Thanks in advance.
    Thanks & Regards,
    Ramnaresh.P.

    Hi,
    which version of BOBJ are you using?
    Regards
    Stratos

  • How to send large files using web service

    hello everyone,
    I am new to this forum, so please pardon me if I post some silly problem...
    I have created one service which sends file when client (jsp) request it. I am using JBOSS as my server. purpose of this application is when client request some fle then service will send this file... and most of the time we need to send only pdfs and ppts...
    Problem is, this service sends txt, java files easily of any size but when i tried sending PDF, PPT then i got xml.SAXParseException.......
    I thought this error is because of some characters, but how to fix it....
    I am working on Linux.
    code snippet is:
    import java.io.*;
    public class MyHelloService
    public String file_size (String name)
         String s = new String("");
    byte[] sendata1=new byte[100];
         try
              System.out.println("name recived is :::::::::::"+name);
              FileInputStream in=new FileInputStream(name);
              int size=0;
              size=in.available();
              System.out.println("FILE SIZE IS:::::"+size);
              byte[] sendata11=new byte[size];
              i=in.read(sendata11);
              System.out.println(new String(sendata11));
              s=new String(sendata11);
         catch(Exception e)
                   System.out.println("EXCEPTION IN JWS:::"+e);
                   s=new String("nofilefounderror");
         return s;
    pls tell me what am i doing wrong ad how to fix this?
    and one more thing can i send byte array from a web service as i tried but couldnt do that... so i am reading everything in a single byte array and then converted to string.....
    is it possibel to send file in a chunk?if yes, how to do that?
    waiting for the reply..... pls reply as soon as possible....
    Rashi

    hi,
    I am sending file from server to client i.e client will request for a file and service will send it back....... no socket connection is there...I am using JBOSS and apache axis.
    pls help me out.....
    Rashi

  • How to create iView to run Web Service

    Hi,
    I need create iView on EP7 NW2004S SP12 portal to run Web Service provided on SRM 6.0 system.
    Here is how I have attempted to create the iView:
    1. Right click and select New =>iView.
    2. Select "iView Template" radio button.
    3. Select "Web Service iView" radio button to specify Web Service Template.
    4. Enter name and ID of iView.
    5. Select System Alias of System defined earlier.
    At this point, the portal attempts to connect to the ECC system, and it fails with this error, and I cannot finish the create of the iView.
    Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter.
    Here are the key parameters defined for the System referenced by the system alias:
    WSDL_URL:http://sap2.mycompany.com:50000/SRM-MDM/SRM_MDM
    Logon Method:UIDPW
    User Mapping Type:admin, user
    CodeLink:com.sap.portal.systems.webservices.webservice_system
    I've also created a usermapping for the Everyone group, and provided the userid and password for the system alias successfully.
    Thanks,
    Kevin

    Thank you for that information.  I had not previously seen a procedure on how to setup an iView to run a web service. 
    I had created the System just as described in this blog, but I still have a problem.  When creating the iView (on the last step of process when I click Finish), the portal attempts to connect to the SRM system, and it fails with the error highlighted below.
    Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter.
    I get an error in System Administration as well when I test the connectivity for the System object.
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results:
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    How does the security need to be setup to make this work?  Or what could be causing this error?  I do have SSO configured between the portal and the target system.
    Thanks,
    Kevin

  • How to create or simulate a WEB service? Scenario RFC to WEBService.

    Hello PI experts,
    I'm creating an interface with this scenario: RFC->PI->WEBService, the message is synchronous. The problem is that we don't have nothing at the webservice yet, I just want to know if have a way to create or simulate a webservice to test my interface? If someone have some material or information please it will be very helpfull.
    Thanks

    Create two scenarios.
    1) Using SOAP sender you can create a web service.  So create a simple scenario using soap sender and  use some receiver like jdbc or file or something for your test.  Create WSDL using sender agreeement and save the wsdl.
    2) create RFC to SOAP scenario. In the receiver side use the WSDL as external definition for the receiver mesg structure. Configure SOAP receiver to point  the soap service created using soap sender in the step 1.
    Basically you need to know SOAP sender for the step 1 and Soap receiver for the step 2 configuration and design.
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/

  • How to create an ebook using InDesign?

    I know how to lay out a book, I've done it before. But I feel like there maybe something special for ebooks. What size is needed? Do I put facing pages or single pages? It seems like single works, but with the ipad I have seen facing pages that people "flip" through. Does the text somehow flow differently through pages depending on your tablet and zoom level? I asked questions on another forum and someone answered with "not splitting text into explicit pages as e-readers are all different and people may have different zoom factors" ...how does one do that?
    OR, is it as simple as creating a layout in InDesign and exporting a PDF? Because I can do that!
    Background info: I found a job posting on a student website (I'm a student) to lay out an ebook for someone. Can I just create them an amazing pdf? Or am I in way over my head?
    ***EDIT: So I have just sorta found out what ePub means. According to wikipedia:
    "EPUB is designed for reflowable content, meaning that the text display can be optimized for the particular display device used by the reader of the EPUB-formatted book, although EPUB now also supports fixed-layout content."
    Which I think is my whole issue. So, if I create a layout and export it as an ePub, does it then become a proper ebook that fits peoples displays? Do I make a pdf then turn it into an ePub? I'm guessing my Indesign & Adobe come with an "ePub" button?
    ANY info would be helpful. Thanks.

    The reason Bob has to ask is because 'ebook' is a pretty vague concept. It's an "electronic book", i.e., a text that can be read on an electronic device.
    PDF is a *pretty* safe bet, because that will ensure all people have to do is make sure they can read a PDF on their e-device.
    It's also non-reflowable, just like a regular PDF (not entirely true, by the way, but pretty much).
    "E-Pub" is the common format for dedicated devices such as the Kindle and the Sony reader, and is what iBooks on iPhone and iPad use. This *is* a reflowable format, and (depending on the device and software) usually you can change the font size and type to taste.
    DPS is Adobe's own version, and you can do lots of interesting things with it. It requires Adobe's own DPS reader. Search the Adobe web site for more information on this.
    You can produce a PDF right away with InDesign (don't use "Press Quality" settings for obvious reasons). You can export to the common e-pub format as well, but in that case you'd better investigate a bit deeper than can be answered in this forum, because all you get in that case is a pretty basic layout. Using other software, you can edit and enhance ID's output -- you cannot create any e-pub right away with InDesign any way you like it, it's not "an epub editor".
    For DPS, I suggest you first take a look at what's possible and then what it will cost you.

  • How to create dictionary table using web dynpro?

    Dear Experts,
    Please clarify my doubts.Im new in this EP development.
    Im using EP6 portal with NWDS6 for dev.
    My Doubts are :
    Im trying to develop a web dynpro application which captures some data and insert/update in Table.
    => If we create a structure Dictionary in web dynpro application will that automatically create the table in Portal database?
    => If it is automatically created how to insert or update that table.
    can any one plz help.
    thanks and regards,
    Viswes.

    Hi Visweswara
    This will use the concept of EJB.
    Refer these for creating Dictionary tables...
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
    As far as answer to your second question is concerned,
    => If u create a structure Dictionary in web dynpro application  it will not create the table in Portal database..
    You can access that table via creating a web dynpro iview in Portal..
    Only application can accessed after deployment via iviews in Portal..
    Thanks...
    Rewards Appreciated...

  • How to deploy flex2 application using web service to server

    Hi all.
    I have created flex2 application in that i am calling
    webservice, when i deployed this application to server the buttons
    which calls webservice is not working it is showing error, i even
    uploaded crossdomain.xml to server,
    please tell me how to deploy to server.
    thanks in advance
    regards
    Avanthika

    I have had the same or similar problem, in my case with
    ColdFusion projects. I have uploaded several sample projects to my
    shared hosting web server; all the projects that do not use a
    server run fine, buit I have never been able to make the CF
    projects run. I have posted about this two or three times, but
    nobody ever answered.
    Maybe our question was too stupid to deserve an answer from
    busy people. I never thought of this, but today I got an email from
    my Hosting provider. Quoting part of that message:
    “We will be performing a ColdFusion upgrade to CFMX
    7.02 on the
    server where your account(s), timo, mochica, is/are hosted.
    We have
    scheduled the upgrade to take place between 3:00 AM EDT and
    6:00 AM
    EDT on Saturday, August 5th, 2006.
    We do not anticipate more than 15 minutes of downtime once
    the
    maintenance begins .....”
    Also, I found that the projects that do run require all those
    files that are generated when FB builds the project, so I have been
    uploading the entire output folder (usually, but not always,
    ‘bin’).
    I’m hoping I won’t have any more problems after
    Saturday.
    Peace,
    Carlos

  • Documentation on Creating Sales Order using Web Services

    hi,
    I can goto ESA Preview system using SAPGUI and create a sales order (using va01 transaction).
    I tried to do the similar thing using the WebService (Create Sales order), but have lots of problems.
    ->Fields used in WebServices are not in sync with what would be if you use the GUI. (example u enter sales region, buyer id, ship address and the items for a standard sales order.
    ->There is not much documentation on what the fields in the webservice mean. (e.g. what is the difference between BuyerParty and BuyerInternalId? )
    ->There are no sample combination of values that work. (Belive me it would take hours to figure out right combination of values needed..)
    Any hints would be appreciated
    Kiran
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/smdisplay.asp?id=138ABFEEA8A34999BFCEB31537EC8D65&fragID=&packageid=CBD4F2B708B8144DAEA05442D8FD491E&context=&iv=
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/smdisplay.asp?id=5640EE01E71B11DAB5240007E9102256&fragID=&packageid=CBD4F2B708B8144DAEA05442D8FD491E&iv=

    Hi...
    you can use Adaptive RFC methodology in web dynpro java to work with BAPIs..... these are standard bapi's provided
    Here are required Bapis... select which one you want....
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    check this thread SALES ORDER creation using BAPI
    sample java program which will call SAP bapi function sales order create
    PradeeP

  • Create portal user using web dynpro abap application

    Dear All,
    I would like to know is it possible to create portal user-id through web dynpro abap application.
    My requirement is
    > I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
    > I will click on submit, one unique id will get created. This unique id will be the login id for portal.
    I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
    If it is possible to create the portal users using web dynpro abap pls share the code as well.
    Regards,
    Swapnil Indulkar

    Hi swapnil,
    I think by using BAPi.. BAPI_USER_CREATE1 you can create.
    Please check this...
    Create portal user from webdynpro abap
    Creating user and assigning a group through code
    user administration su01
    How can i get the portal user id from logon ticket in the webdyn 4 ABAP
    Cheers,
    Kris.
    Edited by: kissnas on May 21, 2011 8:47 AM

  • MBO creation using Web Service in SMP3.0

    Hello  Experts,
    When I am trying to create an MBO using web service in SMP3.0, I am getting the following error.
    Please check the screenshot.
    But It is working fine in SMP2.3 .
    Thanks
    Tags edited by: Jitendra Kansal (Moderator)

    Av nas
    Can you check if you are accessing web service URL in browser via some proxy server?
    If yes, then you have to set the proxy settings in SMP3 Mobile workspace.
    Steps:
    Go to Window>Preferences in Mobile Workspace
    Preferences box prompt out, choose "Network Connections"
    Select "Manual" from Action Provider in the drop-down
    Select "HTTP" >Click on "Edit"
    Provide required proxy details with port number.
    Check my blog How to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network
    Regards,
    JK

  • How to create & use WEB services in WD4A?

    HI SDN,
    How can we create & use WEB services in WD4A?
    Can any one send me the link for it?
    Thanks in advance,
    Rahul

    Hi,
    see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">this</a> and also carry out a search in this forum, this has been asked before.
    Regards, Heidi

  • HT5544 How do I sync iBooks on iOS devices when I create an ebook using iBooks Author?

    How do I sync iBooks on iOS devices when I create an ebook using iBooks Author?

    Hello Ottoni1,
    Thank you for the question.  You can preview the book you created in iBooks Author in iBooks on your iPad using the following steps:
    Preview a book or a chapter on iPad
    Connect iPad to your Mac.
    On the Home screen of your iPad, tap iBooks.
    In iBooks Author, do either of the following:
    Preview a book: Click the Preview button in the toolbar, or choose File > Preview.
    Preview a chapter: Select the chapter you want to preview in the sidebar, then choose File > Preview Current Section Only.
    Note:   To preview on an iPad running iOS 7 or later, you need iTunes 11.1 or later installed on your Mac.
    You can find the full article here:
    iBooks Author: Preview a book in iBooks
    http://support.apple.com/kb/PH2807
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to create a Sales Lead and Sales Lead Contact using Web Services

    Hi,
    I am working on integration of sales lead with third party application. I want to create a sales lead and sales lead contact using web services.
    The question is What WSDLs should I use to create Sales Lead and sales lead Contact? And What are the required parameters to pass to that WSDL?
    Please let me know if any information required.
    Thanks and Regards,
    Jason

    Hi,
      Sample soap messages for creating Sales Lead ::
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/" xmlns:lead="http://xmlns.oracle.com/oracle/apps/marketing/leadMgmt/leads/leadService/" xmlns:lead1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:createSalesLead>
             <typ:salesLead>
                <lead:Name>Lead Created For Migrration Test4</lead:Name>
                <lead:Rating_c>A</lead:Rating_c>
             </typ:salesLead>
          </typ:createSalesLead>
       </soapenv:Body>
    </soapenv:Envelope>
      Sample soap messages for creating Opportunity ::
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:opp="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/" xmlns:rev="http://xmlns.oracle.com/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/" xmlns:rev1="http://xmlns.oracle.com/oracle/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:act="http://xmlns.oracle.com/apps/crmCommon/activities/activitiesService/">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:createOpportunity>
             <typ:opportunity>
                <opp:Name>Test Opportunity</opp:Name>
             </typ:opportunity>
          </typ:createOpportunity>
       </soapenv:Body>
    </soapenv:Envelope>
    Please revert if you have any clarifications.
    Best Regards,
    Mohd Sabeer

  • How to create a link to web page (URL) to a billing document

    Hi,
    I have an urgent requirement of creating a link to web page (URL) to a billing document.
    I call the function module "GOS_EXECUTE_SERVICE" with :
    ip_service = 'URL_CREA'
    is_object-objkey = no billing document
    is_object-objtype = 'VBRK'
    is_object-logsys = 'BO'
    ip_rwmode = 'E'
    Then, I enter the title and the address.
    And, I have the message : "The attachment was successfully created".
    But when there's nothing in the attachment list of the billing document.
    (Tha table SOOD contains the record )
    If any one has some idea about his , how to achieve this functionality, can you please help me.
    Thanks
    Virginie
    geoge bush
    Posts: 6
    Questions: 0
    Points: 6
    Registered: 7/9/04
    Re: Attaching a file to a purchase Order from EP6 to R/3 4.6C
    Posted: Jul 13, 2004 2:46 AM      Reply      E-mail this post 
    Hi Somaraju,
    I am also looking for A CODE EXAMPLE TO ATTACH A DOCUMENT TO A AN sap OBJECT E.G. BUS222 AND ISUACCOUNT.
    IF YOU'VE AN Example code that you can email me . it would be great.
    thanks for the help.
    geoge.

    Hey,
    If you are using Portal (not Framework), the below tag will do the trick
    <wcdc:userProfile id="profileUserLink" immediate="false" text="#{security.userDisplayName}" shortDesc="#{security.userDisplayName}"  xmlns:wcdc="http://xmlns.oracle.com/webcenter/spaces/taglib"/>
    -K

Maybe you are looking for

  • Starting and Stopping the Portal

    Hi all    After deploying my PAR, I am restarting the whole <b>SAP Instance</b> in the Server. 1. Is this the right way ??? 2. Is there any other easy way to restart/stop the PORTAL alone instead of touching the SAP Instance??? Thanks Kay

  • Help please. Purple dotted outline after clicking a button in my navigation bar.

    Please read my last post in this thread: http://forums.adobe.com/message/2392890#2392890 How can I remove the dotted outline after clicking a button in my nav bar at my site? (site is linked in that thread I linked) EDIT: Nevermind. After doing some

  • F.27 Customer Account Statement

    Hi SAP expertise,    This is my client requirement were implementation is going on. Requirement is that instead of Customer Account Statement {F.27} is getting spooled it should be mailed directly as per the email id mentioned in Customer master. Rig

  • Posting a journal Entry failed

    Hello All I created a Journal Entry and edited the Journal Entry. When I tried to post it, I got an error saying Could not start child program C:\PT8.49\cblbinA\GLPPPOST REMOTEA .... When I looked at my folder structure I donot have that directory at

  • Opening .au files Mail program of iPhone?

    I receive .au files and need to open them. When I do with the native iPhone app, it says, "this format is not supported." Are there any programs or anything I can do to open an .au file? Thanks!