How to convert an Application Service into a Web Service

Hi,
I am working on SAP Netweaver CE 7.1. I have created an Application Service which returns an output as a List with each elemnt of the list conatining some attributes and a List.
now I want to convert this AS into a Web Service. how I can do that as teh Developer Studio doesn't allow me to select the method which returns the List.
Also how should I deploy the Web Service and test the same.
Please reply ASAP.
Manish

To convert your Application Service into a Web Service ,
1) go to General Tab of your Application Service
2) check the option Remote Enabled Service , Save Metadata
3) Right click Application Service and select  WebService New , give name for your Webservice and select Default Configuration type : Simple SOAP or select Basic Auth SOAP if u want your webservice to be password protected , just click next and finally finish
4) Genearte your project code , build and deploy your application
5) Then goto webService navigator to test your Web service
Hope this helps
Thanks
Asif

Similar Messages

  • How do u convert any executable file to a web service

    Say i have an executable software...say something like an Optical character resolution software...or something like a dictionary software..which i normally run as an exe file..
    now how do i go about writing up java code, which allows me to convert this capability into a web service??
    Any opinion/guidance is most welcome.

    all right...we can use:
    Runtime r=System.getRuntime();
    Process p=r.exec("c:\\thatfile.exe something"); //to
    load that application...
    InuputStream in=new InputStream(p.getInputStream());
    i tried that with windows media player...replaced
    thatfile.exe withe full path of wmplayer.exe and
    something with an mpg file name...
    but all i could do was play that file..now what if i
    want to change the brightness??
    what i mean is..how do i get to know WHAT TO SEND IN
    A PROCESS'S INPUT/OUTPUT STREAM ???
    lets try a simple example..lets open up the
    notepad...and try to save a file as abc.txt with the
    content as xyz....how do we do it?With much difficulty.
    Which suggests notepad is an excellent example if you really want to do this.
    You might look at java.awt.Robot. Not sure it if will work but you can try.
    I know autoit (which you can search for on the internet) would work. You would write an autoit script and then use autoit to run the script. The script would take arguments, like "abc.txt" and "xyz.txt", and run notepad making notepad do whatever.
    A non-gui app, which notepad obviously isn't, could be controlled by streams (see java.lang.Process)
    For the right windows app using a COM interface might be better. At least in my experience figuring out how to get what you want from COM (one you didn't write) is a nightmare. But possible. A 'service' might actually need this because it might not be possible to pop a gui on some server set ups (not sure about this though.) Doing this either requires that you write JNI or find a third party tool that provides this functionality for you.
    In all of the above you need to figure out the functionality of the exe, and then write a layer that provides the specific functionality that you need to control.
    And of course none of the above has anything to do with web services but rather it is just how to control an executable.

  • How to convert a webpage program into a pdf file?

    how to convert a webpage program into a pdf file?

    Hi Federico,
    ExportPDF is the program to convert PDF into different Formats(Doc, Docx, xlsx, rtf) and not Vice Versa, I would suggest you to use CreatePDF Web application for converting any other format to PDF.
    For more details on CreatePDF
    https://www.acrobat.com/createpdf/en/home.html
    FAQ to be found here:
    http://forums.adobe.com/community/createpdf?view=documents
    ~Pranav

  • How to convert batch application to server app?

    I have an application that performs some processing task in batch mode: data in, processing, data out. The application can be accessed through a well-documented API but is not thread-safe -- one cannot run the processing function in two threads concurrently.
    In order to make that processing accessible to a program written in another language I would like to encapsulate it into some form of server.
    I would like to find some minimum overhead solution where the other program sends the data to the server app in some way, waits for the processing to complete and reads back the result. One option would be to use the HTTP protocol with a POST request, another to write the data to a database row and send some command over a socket.
    My main problem is: which solution is the easiest to implement and use and the one that allows to serialize the processing with the least effort. The solution should make it easy to prevent deadlocks or similar nuisances.
    Are there some standard patterns for doing this or what would you Wizards recommend?

    Thanks for the answers!
    I must admit that I am still rather clueless in general about the issues involved here.
    My immediate need is to send text files to the java application and get back processed text files. At the moment I have to do this from perl, but in the future, other languages (mostly scripting languages) might also need to do this.
    So what I am trying to achieve is this: the client should be able to access the Java application/service as if it was some synchronous write/read operation (similar to a HTTP post request waiting for a response). There might be several clients working in that way but the the server should make sure that they get cleanly serialised: only one text file can be processed at any one time because the API is not thread safe.
    I also cannot change the API itself -- just wrap into something that will do what I described. The more lightweight,easy to use, and easy to implement the solution the better.
    For example, is there some kind of mini HTTP server and some serialization mechanism in Java that would make it possible to run the Java application disguised as a web service? Are there disadvantages to this and other solutions that are more suited?
    I have looked at JMS and it does make a bit of a heavyweight impression to me. Also I'd prefer a solution where the clients use some mechanism that is more general, e.g. HTTP or the file system or maybe even a RDBS table (not sure what the possible traps with regards to deadlocks, timeouts etc. are there).

  • How to convert a PDF file into a full editable WORD file?

    Hi,
    I tried to convert a pdf file into word but it is not fully editable. I can edit the title from the main page and that's it. The rest of the word document is saved as image. I tried editing teh pdf file but that one is not working either.
    Please help on how to convert a PDF file into a full editable WORD file.
    Thank you

    Not all PDF files are created equal.  When a PDF file is created with Adobe Tools it is usually "tagged" with information about the fonts the images, the layout etc...    This way when the PDF is saved to a new format like PPT or DOC then the results are usually usable.  However, if you have a PDF file that was not tagged for some reason then run the Accessibility tools on the PDF to acquire some basic tagging.  This may get you a better result.  Also if you have a PDF that is an image, then you may want to run OCR on it.

  • How to convert my MM alias into an AppleID to use it with iCloud?

    I used MobileMe and created a mail that became my Apple ID. Then I created an alias that became my main e-mail so now with iCloud I wish that aslias could become my Apple ID. I don't care to loose the first Apple ID but "How to convert my MM alias into an AppleID to use it with iCloud?"

    You cannot convert an alias to Apple ID.
    You can transfer your MM to iCloud with your main Apple ID.
    There will be your alias as well.
    Regards

  • How to convert an int variable into String type

    hi everybody
    i want to know how to convert an interger variable into string variable
    i have to implement a code which goes like this
    Chioce ch;
    for(int i=0;i<32;i++)
    // here i need a code to convert the int variable i into a string variable
    ch.add(String variable);
    how do i convert that int variable i into a String type variable??
    can anyone help me?

    Different methods:
    int a;
    string s=a+"";or
    String.valueOf(int) is the better option because Int.toString() generated an intermediate object to get the endresult
    Ema

  • How to convert an NWDI project into a Local project?

    Hi Experts,
    Please tell me " how to convert an NWDI project into a Local project? "
    If you c

    Hi Srini
    1. Copy/Paste Webdynpro components in the new project as was suggested before
    2. Or create new project, copy _comp folder from old project to the new one. But, do not forget to update .dcdef & .project files manually after this. You have to set the correct project name in .dcdef and set the correct local project path in .project.
    BR, Sergei

  • How to Convert Oracle Apps Report into XML Publisher

    Hi
    How to Convert Oracle Apps Report into XML Publisher?
    Thanks

    In Brief :
    Re: XML Publisher
    In Details :
    http://www.oracle.com/technology/products/xml-publisher/docs/XMLEBSRep.pdf

  • How to convert data from rows into columns

    Hi,
    I have a sql table and the data looks like this
    GLYEAR GLMN01 GLMN02 GLMN03 GLMN04
    2007 -109712.40 6909.15 4758.72 56.88
    2007 -13411.32 19132.9 -5585.07 4362.64
    Where GLyear reprsents Year and GLMN01 is February, GLMN02 is March and so on,
    Now i want my output to be something like this which i want to insert into another table
    GLYear GLMonth GLAmount
    2007 February -109712.40
    2007 March 6909.15
    2007 April 56.88
    My new table has 3 columns, GLYear,GLMonth,GLAmount.
    Can someone please help me with the select statement on how to do this, i can work with the inserts.
    Thanks.

    I want you to check these form tread they have the same discussion as you.  They will definitely solve your problem
    http://blog.jontav.com/post/8344518585/convert-rows-to-columns-columns-to-rows-in-sql-server
    http://dba.stackexchange.com/questions/19057/convert-rows-to-columns-using-pivot-in-sql-server-when-columns-are-string-data
    http://stackoverflow.com/questions/18612326/how-to-convert-multiple-row-data-into-column-data-in-sql-server
    I hope this helps you in solving your problem. 
    Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer

  • 2.....how to convert normal function module into remote enabled function mo

    Hi...
    2.....how to convert normal function module into remote enabled function module?
    thanks and regards,
    k.swaminath.

    Hi,
    In the attributes tab select radio button as  remote enabled instead of normal..
    u can call the remote enabled fm as...
    CALL FUNCTION <Function module> destination <destination name>
    Regards,
    Nagaraj

  • I can't find this anywhere... how to convert mp3 (not music) into text without spending much $$$.

    i can't find this anywhere... how to convert mp3 (not music) into text without spending much $$$.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    hope1hope2 wrote:
    i can't find this anywhere... how to convert mp3 (not music) into text without spending much $$$.
    It's very unlikely that you'l
    l find any help here; this forum is used only
    for testing purposes. Unfortunately, I cannot suggest
    another forum
    Extra line breaks kindly supplied by the software.

  • How to convert trailing minus sign into the leading minus sign

    Hi
    Can any plz tell me How to convert trailing minus sign into the leading minus sign? I mean in PI the amount filed shows like 150.00- i want to convert that into -150.00.
    Thanks
    Govinda

    Hi Shabarish,
    The code works but what if the input is something like [   10.000-] i.e. with some spaces before 10.000- and the output as per your code comes as [-     10.000]. How do we tackle such cases if there is inconsistency in data i.e. some values come as [    10.000-] i.e. spaces before the number and some values as [12.000-].
    The output of this will come as
    [-    10.000]
    [-12.000]
    How to make it as
    [-10.000]
    [-12.000]
    Regards,
    Shaibayan

  • How to convert a word document into the PDF format?

    Please instruct me step by step on how to convert several Word documents into the PDF format?

    If properly installed and updated (depending on the WORD version), you can simply do any of the following:
    1. Open the doc in WORD and select Print, choose the Adobe PDF printer, print.
    2. Open the doc in WORD and go to the Acrobat menu in WORD and select create PDF (this uses PDF Maker).
    3. Open the doc in Acrobat and the conversion should be done based on PDF Maker.

  • How to convert a protected document into a PDF?

    Hello,
    I need to develop a plugin that needs to convert a protected document in office format into a pdf. I looked into the sdk and found the method AVConversionConvertToPDFWithHandler (). But can this method also apply the digital rigths of the protected document to the newly created pdf?
    Is there any other way to convert a protected document into a pdf and at the same time apply the rights to the pdf? I don't want to use Adobe LiveCycle for digital rights management.
    What are the requirements to develop a DRM plugin for acrobat?
    Please Help!
    Thanks in advance!

    The AVConversion APIs will use Office itself to perform the conversion (well, the rendering part).   I would ASSUME that when Office opens the document, it will ask for any necessary passwords or other information to determine if the user has the rights to view and/or process the content of the document.  If they do, then the conversion will succeed otherwise it will fail.   The PDF will not have any DRM applied to it, since we don't know anything about the Office DRM options.
    If you wish to apply DRM to the PDF, you will need to do that yourself or using tools such as LiveCycle Rights Management.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 29 Nov 2011 02:26:37 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How to convert a protected document into a PDF?
    How to convert a protected document into a PDF?
    created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4051919#4051919

Maybe you are looking for

  • Issue regarding ALV report

    Hi all,          I've created an ALV report which is having a editable checkbox box field and some more fields that are not editable. My requirement is that when i check any checkbox, some of the fields in that particular row should become editable.

  • Got a new HDD 320gb 7200rm Western digital for my macbook

    so I take out the old one, then I plug the cable into the new HDD place it in close my macbook and turn the computer on to find a blinking question mark logo, try putting my external HDD in, doesn't work, put in my osx disk that came with my macbook,

  • Weird issue with sound control?

    I am not sure what is going on with my audio controls. I use MSI to control my audio (it's connected to the motherboard). The strange thing is, a crack appears on the "Reset EQ Setting" button. See link: http://www.facebook.com/photo.php?pid=30673857

  • Configuring Oracle Real Application Cluster

    Hi, Is it possible to configure Real Application Cluster (RAC) Oracle 9i with Windows 2000 Server / Advanced Server ? If yes, what component and Oracle Software should I prepare to build this system ? Can anybody explain this step by step. Thanks in

  • Activating BC For 0FIGL_O02

    Hi, Please Help me. Activating BC For 0FIGL_O02. need to chk for datascources FI_Gl4. thanks