Expose only certain method

Hi,
I have an EJB developed which has several public methods. Now i want to expose some of the methods of that EJB as Web service operations.
Will it possible to expose only certain public methods as WS operation. I dont want all the methods to be listed in the WSDL.
Please do give your suggestions.
Regards

Sometimes this is caused by accidently setting "mouse keys" on by hitting the Option key 5 times. 
Look in System Preferences > Universal Access > Mouse & Trackpad tab > Turn Mouse Keys off.
Regards,
Captfred

Similar Messages

  • Exposing only certain methods inside the PAPI WS WSDL

    When we hit then Launch PAPI Web Services button inside of Studio , it creates a PAPI WS WSDL . This WSDL contains all methods which are then exposed to be used.
    Can we customize this WSDL? Can we expose only certain methods inside this WSDL and then create a Web-Service Client?
    Can we create our own methods or change names of methods inside this WSDL?
    For e.g. I want to expose only the activityExecute method and create a web service client out of that. I want to hide all other methods.. Can I do that?
    Can this be done before creating that WSDL?

    if you are using 5.7 the url would be:
    http://localhost:9595/workspace/webservices/ProcessService?WSDL
    and if you change the axis configuration file in the workspace you could enable SOAP/JMS in PAPI-WS, but it is not officially supported, so you are on your own.
    MAriano Benitez
    AquaLogic BPM 5.7 SP1 is now available!

  • Expose a class method as web service

    hi ABAPers,
    is it possibile to expose a class method as web service? I would like to write a base class with common code, while derived classes implement specific application logic.
    I have both R/3 6.40 and Netweaver 7.0 kernels, so I'm interested in both.
    thank you.

    No, it is not yet possible.
    You can only create a web service for an RFC Function Module, Function Group or Business Object.
    You may create a RFC FM as a wrapper to your Class methods and create a web service on the RFC FM.
    Regards,
    Naimesh Patel

  • Error "You may only define methods within "CLASS class IMPLEMENTATION"

    We have code in LMIGOSMC so that the vendor batch number appears in the MIGO transaction for certain movement types.  We have created another, custom movement type in which this functionality should be available so I need to add it to LMIGOSMC.  When I go in and try to make the modification I am getting the following error:
    "You may only define methods within "CLASS class IMPLEMENTATION ...ENDCLASS".
    What am I doing wrong?

    Hi,
    You are not doing anything wrong with regard to the syntax error you are getting.  During the syntax check of include program LMIGOSMC, the system is not aware of the CLASS... ENDCLASS statements within the program LMIGOSM4.  Try the syntax check at the LMIGOSM4 program level (or even better, at the SAPLMIGO level) and you will see that the error is not given.
    Regards,
    Jamie

  • I do not want all of the playlists in iTunes to be synced to my iPhone. With iCloud I do not seem to have a choice. How do I select only certain playlists for my iPone?

    I have many songs and playlists in my iTunes account.  I do not want all of them synced to my iPhone 5S, but that has happened via iCloud, and it has caused a storage problem on my phone.  How do I select only certain playlists to be synced to my iPhone? 

    You need to start over with Music. On the iPhone Music screen uncheck sync music. Also, on the Summary screen uncheck "Manually manage music and videos", then sync and it should clear off your phone.
    Next, choose the music you want to sync. If you want to fit more on check "Convert higher bit rate songs to 128 kbps AAC". This will reduce quality slightly, but it won't be noticable unless you are using $300 headphones.

  • Open Posting Periods from only certain Vendors

    Hello ,
                I need my postings to happen only for only certain vendors , So I changed my setting in OB52 for "K" and gave the starting Vendor Acct # in Account From  and Account to left it to be "ZZZZZZ"  , But when I try to post a invoice for a Vendor out of this range I can still post and I shouldn't be having any posting here ..Am I missing anything here ?
    your inputs are greatly appreciated,

    The standard solution will apply only in case the reonciliation account you are giving in OB52 is the onle to be used for all the vendors which you want to block.
    So the solution can work as below:-
    (1) Define a separet reconciliation account for the vendors you want to block and assign that reconciliation account to those vendors.
    (2) Then you can close/ open periods for those reconciliation account in OB52.
    Otherwise you can use the validation concept in OB28/ GGB0 for achieving this. You can search SDN for the steps etc. on how to create the validation.
    Regards,
    SDNer

  • Only CERTAIN videos will not import in BOTH versions of iMovie

    Heya, I'm dying here, hoping someone can help:
    I've been filming video with my camera, but for some reason, one out of every 6 or 7 times a file will absolutely not import into iMovie.
    They play absolutely fine with audio and everything in Quicktime, but when I try to import to iMovie '08, they simply do not show up as thumbnails even though it goes through the whole "creating thumbnails" process.
    When I try importing them into iMovie HD 6, I get a "file cannot be imported: unknown error" message.
    Everything else I film with my camera and import into either version of iMovie works just fine! It's only certain ones... but it always happens to be the most important clips!
    There's GOT to be some way to fix this, right?

    Everything was filmed with the exact same settings.
    Your argument here is "inductive" and does not confirm that all stored files are in fact in the same compression format and settings. You need to apply a "deductive" approach. As I implied and QT Kirk specifically stated, you need to actually examine the files to determine their internal specifications -- comparing the working with non-working files to look for differences.
    I've tried Streamclip, but when I try to save it as an avi, mpeg, dv, or even a renamed mov file, it says "Error: Could not prepare clip"
    If your are trying to use the "Save As..." option here, you are not, in fact, performing a "conversion" but rather merely attempting to place the same content in a different file container. MPEG Streamclip does not, for instance, have the ability to export non-MPEG2 content to MPEG (MPEG-2 'muxed" or elementary streams) which would be incompatible with iMovie '08 in any event. As to AVI, you mush have one of the required AVI QT components installed and the compression formats you are trying to place in the AVI container must be compatible with the AVI container which is itself compatible with iMovie '08 as long as its contents are already edit compatible. As to DV, this one one usually difficult to mess up unless you were trying to turn it into a transport stream.
    today I tried taking the original quicktime MOV file from the camera (the one that plays just fine in quicktime AND streamclip, just won't convert or import)
    This statement seems to imply that something is wrong with your attempted work flow. If the file opens and plays in the QT Player and MPEG Streamclip, then it should be convertible. Once again, the primary problem is determining how to best perform this conversion which is why Karsten, QT Kirk, and I need specific information regarding the actual compression format, whether or not the compression settings were compatible with the QT structure, and whether or not an extraneous track (e.g., a "Tweener") might be causing difficulties. Posting a screen capture of the "Inspector" and/or "Properties" window or a sample file should provide the needed information.

  • Using only one method in session bean to create web service

    Hi all,
    I hhave a scenario where i am inserting and retrieving data from dict table using web service.
    For this i have created a session bean and a wrapper class.
    The session bean has two methods: insertRecords(), and viewRec().
    so while creating a web service i need to include two methods.
    I want to have only one method where i can pass a parameter as operation and if it is "I", then i can call the insert method and if it is "S" i can call view method.
    I tried doing that bt i am stuck up with the return type.
    Insert method has return type as array of wrapper class and
    view method has wrapper class as return type ...
    Is this scenario possible..??
    or is there any other way to do this???
    Plz let me knw..
    Thankls n regards,
    Ankita

    Hi Siddharth,
    Im really sorry..
    i cudnt  get u ..
    Actually these r methods:
    public DemoDicModel[] viewRecords()
    and
    public DemoDicModel insertRecords(
              String title,
              String desc,
              String status)
    and im trying this:
    public DemoDicModel[] getMethods(String operation,String title,String desc, String st)
    DemoDicModel[] demoModel =null;
    DemoDicModel model = new DemoDicModel();
    if(operation == "show")
          demoModel = viewRecords();
    if(operation == "ins")
          model = insertRecords(title,desc,st);
          model.setMsg("RECORDS GENERATED");
          demoModel=
    return demoModel;
    im stuck up with insert operation.
    can  u plz explain me in detail.
    thanks,
    ankita

  • Only one method appears at a time in Eclipse

    A wierd setting that I don't like has been changed in Eclipse and I do not know what it is or how to reset it. When I double click on a file in the Package Explorer, that file opens in the editor and displays the entire file. But then, when I click on one of the method names in Package Explorer, only that method displays in the editor. The entire rest of the file is hidden. If I click on the class name, the entire file -- sans import statements -- is displayed. Worse, I cannot figure out how to get the entire file -- including the imports -- to display. I do not like this feature. How can I reset Eclipse to display the entire file and merely scroll to the correct method when I click on it? Thank you. -Jeff

    Click the button on the toolbar labelled 'Show source of selected element only'.

  • How do I select only certain songs from itunes library to upload to my iphone?

    Trying to free up some memory and my whole itunes library is loaded on my phone.  Is there a way to select only certain songs to sync with my phone?

    When your iphone is connected to iTunes, go to the phone section, go to options and then select "Sync only checked songs and videos".  Then go to yotur iTunes music library, and check only the songs you want.  If you are viewing the library in the "songs" option the check boxes are next to the songs.  If you are viewing from the "album" view, you have to right-click each song and select check.

  • HT6015 After successfully signing up for Apple's VPP, I went in to purchase apps, and the only distribution method available is "managed distribution".  Our company does not have a MDM so I need the Redeemable Codes method.  Where can I find once I log in

    After successfully signing up for the Apple Volume Purchasing Program, I went in to purchase a quantity of apps.  The only distribution method that was available was the MDM.  Our company does not have a MDM.  I need redeemable codes.  How do I get that option?  I am using a PC.

    Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
    No. Only apps purchased from the App Store can be re downloaded for free including updates.

  • I just purchased Aperture and have 20,000  photos in my iPhoto Library. Can I import only certain events from iPhoto into Aperture or do I have to merge the whole iPhoto library?

    I just purchased Aperture and have 20,000 + photos in my iPhoto Library. I see that I can create a unified library between the two. I am wondering if I can import only certain events from iPhoto (like only 2014 events) into Aperture or do I have to merge the whole iPhoto library? Are there any benefits to bringing the whole iPhoto library over to Aperture (iPhoto is SO SLOW for me, I wonder if it is because I have so many photos). Or, any detriment to only bring a few events over?
    And, if I don't merge the two libraries, I assume that means I cannot do it at a later date?
    Help. My local Apple store has had very few Aperture workshops, and the next one is like 2 months away.

    Thank you so much for this information. Here are some responses/comments:
    Disk space - it says 114.43 GB out of 499.25 GB free. I have no idea if that is enough.
    iPhoto version is 9.5.1
    Again, I am not sure how to know if I have 3rd party software...but I don't think I do. Is 3rd party software anything non-apple?
    I will try rebuilding the library. if that doesn't help, maybe I need more memory...? That is what Apple suggested, but that, of course, means buying something else. I've already bought APERTURE, on their recommendation...
    It wasn't, and they told me it was slow because I had too many photos for iPhoto to handle and that I should buy Aperture. Which I did.
    What is your iPhoto version? Are you using the most recent version 9.5.1?
    iPhoto can handle 20000 photos, no problem.  Your computer can be slow for several reasons:
    The most common problem for slowness - insufficient disk space. Don't let your free disk space drop below 20 GB of free space, better more. If the operating system does not have enough working space and the applications you are using, you will notice a very lagging behaviour.
    Older or incompatible softweare can cripple your mac. Do you have any older third-party software installed, that might have installed incompatible kernel extensions?
    Aperture might be slow or keep crashing, if you imported a corrupted image or incompatible video,  that cannot be processed. Then Aperture will try over and over again to create previews and never succeed.  You could test for this situation, by launching Aperture with the Shift-key held down. This will defer the generation of previews. If Aperture will launch and work better this way, you probably have some bad media in your photo library.
    Another problem to check for is a corruption of your Aperture/iPhoto library. You have run the First Aid Tools to repair the iPhoto Library, but have you ever tried to rebuild the library? See this post by Old Toad: Rebuild iPhoto Version 11

  • Is there a way to have Firefox keep cookies from only certain sites?

    I want to allow Firefox to retain cookies from only certain sites. Is there a way to do this? My understanding is that it is much riskier from a security standpoint to allow cookies to remain in the browser continually. So I have it set to remove them when Firefox closes. But there are a couple of sites I trust and it would make things a lot better if I could keep their cookies.

    I'm not aware of such an add-on, but it might exist. There also might be a Greasemonkey userscript that will load the pages and fire the save.
    This thread discusses way to save pages once you have them loaded: [https://support.mozilla.org/en-US/questions/923234 How to save a website using firefox. | Firefox Support Forum | Firefox Help].

  • When I receive calls I always get the option to remind me later, but only certain times I get the option to respond with text.  Is there a setting I need to update to always get this option?

    When I receive calls I always get the option to remind me later, but only certain times I get the option to respond with text.  Is there a setting I need to update to always get this option?  Also i can't use location reminders.  Is this because my calendar is in Outlook?

    The only known way to make it work on an external drive is by first installing Windows onto an internal drive, then cloning the install to an external Thunderbolt drive. Thunderbolt is seen as an extension of the internal bus, so Windows doesn't see it as an external device.

  • Hi! At connection to iTunes the section "other" constantly increases. What's the matter? How to avoid it? On phone music isn't necessary, video too isn't present. But another grows. How to correct it? I know only one method, it to dump all settings and a

    Hi! At connection to iTunes the section "other" constantly increases. What's the matter? How to avoid it? On phone music isn't necessary, video too isn't present. But another grows. How to correct it? I know only one method, it to dump all settings and a content.

    http://discussions.apple.com/docs/DOC-5142

Maybe you are looking for