Webservices for EJB How to go about it

HI
Here is my situation please advice me how to go about it...
I have to expose EJB as a webservices...That EJB is already packed in jar file it has nearly 20 methods or so and the application server that i need to use is weblogic....The problem is many of the methods return java.util.Map and java.util.Collection...and the contents of the all the Maps are not of the same type all the time i mean if Method1 returns Map whose key is String and Values is user defined data type (for instance dataType1)...Method2 also returns a Map whose key is a String and values is another User Defined data type(for instance dataType2)..
I tried with weblogic servicegen and WSEE 109 manually building it but that did not work out....Right now my idea is to write wrapper class which has all the 20 methods but return user defined data type(which i have to write).Internally each method will be calling the corresponding method in EJB..If this is the case for each method i have to create different User defined data type....Is this feasible or is there better way of doing it....
Thanks for sparing some time to go through my problem

This question is also posted in the BEA forums, I've replied to it here: http://forums.bea.com/bea/thread.jspa?threadID=600004366&tstart=0
-Tim West

Similar Messages

  • Webservice for EJB DC

    I'm trying to create a webservice for an EJB with the Webservice Creation Wizard of NDS. While this is no problem for an "old fashioned" EJB, it does not seem to work for an EJB DC. The context menu "New -> Virtual Interface / Webservice" appears, just as described in the <a href="http://help.sap.com/saphelp_nw04s/helpdata/de/f7/af60f2e04d0848888675a800623a81/frameset.htm">Java Development Manual</a>, but nothing happenes when I select one of this options. No error message, no dialog, nothing...
    I have created an Enterprise Application DC with an EJB Module DC as Child DC. The EJB Project contains a Stateless Session Bean with a Business Method. Is there anything else I have to do, so that the Wizard works?
    Thanks for your help,
    Frank

    Hi,
    Which version of Studio are you using? Mine is SP18 and it works fine. I'm able to create a virtual interface for an ejb in ejb dc with no problems.
    You might consider re-installing your studio.
    Hope that helps,
    Thanks,
    Rajit S

  • How to Define a Data Source in a Standard Way for EJB 3.0?

    I have an EJB 3.0 project that I want to deploy to different kinds of servers. I got it to work for OC4J, but when I tried to deploy it to JBoss I found out really quick that there are actually no data sources defined in my EJB Jar and that JDeveloper does not (that I am aware of) define data sources by default in a portable way.
    I could be wrong on this. Not sure. Any info for explicitly defining data sources for EJB 3.0 in a portable way would be greatly appreciated.
    Thank You,
    KurzHome

    Frank,
    Thanks for your response. I will try that.
    One thing I am confused about is how to link the EJB and the data source name. Unless I am missing something obvious, I can't find a configuration setting that explicitly states that my Entity EJB uses XYZ data source (when using OC4J). Where is this defined? Also, what configuration do I add to to my EJB or other file to link it to the JBoss defined data source?
    Thanks,
    KurzHome

  • Procedure  for  Accessing  WebService in ejb By using NetWeaver,

    hai,
    This is Guru.
    please tell me the procedure for accessing a webservice in ejb .
    my mean is.
    i have one Session Beab,And there is one webservice.
    How can i  call and using  that webservice in netweaverdeveloperstudio tool.please send me code,if u have.
                                        thanqq
                                         Guru

    Hi Guru,
    the procedure to use a WS is as follow
    1. Use the SAP xmltoolkit and generate client binding for your WS, which is the stub class, parameter and return type classes of the WS methods, if any.
    2.Import the created WS client jar from step 1 to your EJB module project
    3. In your session bean: instantiate the stub and call a WS method on this stub
    That's all there is to it.
    Best Regards
    Gregor
    Ps. The NWDS Help has also tutorial regarding WS usage.

  • I have question about hooking up an external hdd to a time capsule and still have my printer hooked up as well. Anyone got any tips for me, how to do it and what brand of harddrive that will work best for me 1 or 2 TB

    i have question about hooking up an external hdd to a time capsule and still have my printer hooked up as well. Anyone got any tips for me, how to do it and what brand of harddrive that will work best for me 1 or 2 TB

    You just need a powered hub.. if you already use one then fine.
    Plug in just about any external hard disk will work fine. Format has to be readable by the TC.. ie fat32.. or much better HFS+.. plug it into a Mac to prepare the drive.
    Pick whatever size suits.. nowadays 2TB are most economical.
    WD, Seagate have goobled up all the minor players.. so pick one.
    Whatever suits your budget and asthetics.
    NOTE.. The USB on the TC is fine for printers.. IMHO it is the wrong way to go with USB disks.. use the internal disk of the TC.. USB is less than half the native speed plugged into a Mac.. TC to USB is slow.. far slower than internal drive.. or using external drive as external.

  • My ipod touch 4th generation no longer holds it's charge for more than 40mins,needs new internal battery but I have no idea how to go about this. i love my ipod and don't want it to loose power completely, can anyone help?

    My ipod touch 4th generation no longer holds it's charge for more than 40mins from full power, think it needs a new internal battery but have no idea how to go about this and am no longer covered by my guarantee. Can anyone advise me on what's best? Thanks in advance

    Using the battery level meter in this manner is comparable to using your car's fuel gauge to calculate miles per gallon. The only thing that matters is the total amount of operating time from full charge to auto-shutdown.
    Use an Apple wall-mount charger.  Do NOT use a computer's USB port.  Then, operate it normally until auto shut-down (ignore any low level alerts that may appear).  An irony is that doing that test to determine the total operating time is also the exact procedure necessary to calibrate the battery level meter.
    I'm not claiming that you do not have a problem.  I am stating, however, that we don't yet know whether or not a battery problem exists.
    According to Apple:
    Use Your iPod Regularly
    For proper reporting of the battery’s state of charge, be sure to go through at least one charge cycle per month (charging the battery to 100% and then completely running it down).
    Elsewhere, Apple elaborates and explains that two half-discharges (or four quarter-discharges, etc.) equals one full discharge.

  • How to call webservice for each record in a table using ODI

    Hi
    I am new to ODI and Webservice. I want to invoke a scenario in ODI using web service. I hava a weblogic application server with axis 2 deployed.
    But I want call webservice for each record in a table
    For eg: "EMP" table have 50 records, for each record web service should invoke
    Can any one help me on it.
    Thanks,
    phani
    Edited by: user12774166 on Jun 6, 2010 11:16 PM

    If your goal is "call" a web service, Jason's Straub's [flex-ws-api|https://flex-ws-api.samplecode.oracle.com/] is by far the best I've seen. You might want read more about it on [his blog|http://jastraub.blogspot.com/search?q=+flex_ws_api+].
    Tyler Muth
    http://tylermuth.wordpress.com
    [Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book]

  • How to go about capacity planning for storage ?

    Hi Experts,
    How to go about Capacity Planning? For  instance if clients wants to upgrade to new server and new storage and asks us how much additional storage do you need for next 5 years, how can calculate the amount of storage.
    I don't have any baseline info about the server of past years. Where can I start and any scripts you guys use for doing capacity planning?
    Appreciate your help.
    Thank you.
    Sam

    Please see this link:
    SQLAuthority News – Storage and SQL Server Capacity Planning and configuration...
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • How to create a webservice for sap transaction?

    Hello All,
                  I developed a custom program and created a transaction for that? Is it possible to create a webservice for this custom transaction  ? If yes,how should we ?  I have seen many documents which all describing to creartion of webservice for an RFC only.
    Please help in this regard...
    Thanks ,
    Ravi

    Hello,
    You cannot create a Web Service for an ABAP program/transaction directly. You have to move the logic into an RFC. Only RFC, BAPI & Business Object can be converted to Web Service using the Wizard.
    Thanks,
    Venu

  • How may one cancel the download of an update that was started by having actuated the "Check for Updates" button in the "About Firefox" window, please?

    How may one cancel the download of an update that was started by having actuated the "Check for Updates" button in the "About Firefox" window, please? If possible please cover all platforms, Mac, Windows, Linux, although the first mentioned is what currently applies to my circumstances.
    Thank you.

    Such a download is usually saved in an updates or updated folder in the Firefox program/application folder.
    You can delete this folder to cancel the download.
    If files already have been downloaded then remove the files in the updates and updates\0 folder.
    *http://kb.mozillazine.org/Updates_reported_when_running_newest_version
    *http://kb.mozillazine.org/Software_Update
    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates

  • I recently had my computer stolen and not my purchases from I tunes store were backed up. I've been told there is a way that I can re-download my missing tracks from the store without having to pay for them again. Is this true, if so, how do go about it.

    I recently had my computer stolen and not my purchases from I tunes store were backed up. I've been told there is a way that I can re-download my missing tracks from the store without having to pay for them again. Is this true, if so, how do go about it.
    Many thanks
    Arkadi de Rakoff

    Unfortunately, redownloading of past music purchases isa still in beta test and only available in the US right now.
    It's due for everyone this fall.  Downloading past purchases from the App Store, iBookstore, and iTunes Store, http://support.apple.com/kb/HT2519
    If you can't wait, contact the iTunes Store Support Team at this link
    If you get lucky, they may be able to authorize another download now.

  • I have upgraded my OX from mountain lion to mavericks . the installer is asking for previous product key. How to know about previous key as the trial version is installed and I have paid for upgrade cost?

    I have upgraded my OX from mountain lion to mavericks . the installer is asking for previous product key. How to know about previous key as the trial version is installed and I have paid for upgrade cost? I dont have the previous product key.

    virenkhare wrote:
    I have upgraded my OX from mountain lion to mavericks . the installer is asking for previous product key. How to know about previous key as the trial version is installed and I have paid for upgrade cost? I dont have the previous product key.
    There are no keys, there is no trial version of OSX (ML or Mavericks) and Mavericks is free
    What have you downloaded, and where did you get it

  • To the left are 3 balls, red, yello, green, that go around in a circle. when i click on them it says download helper, what is that for and how do I learn more about them?

    to the left of the URL are 3 balls, red, yellow, green, that go around in a circle. when i click on them it says download helper, what is that for and how do I learn more about them?

    Thanks, this is very helpful, and resolved my question
    dan

  • I have an iPad 2 i wish to give to my grandson  as I am getting an iPad 3air for christmas how do I go about clearing it of my stuff

    I have an iPad I wish to give to my grandson  as I  am getting an iPad 2air for christmas how do I go about clearing it of my stuff

    See your previous thread for answers or just read the instructions in this link:
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support

  • Can anyone tell me how i go about downloading the free dock app for the ipod touch?

    hi,can anyone tell me how to go about downloading the free dock app for the ipod touch gen 4?

    What "free dock app"?

Maybe you are looking for

  • Error in invoking target 'Client_sharedlib' of makefile ins_net_client_mk

    I got the folowing Error when I install Oracle patch 10.2.0.3 in linux. Error in invoking target 'Client_sharedlib' of makefile ins_net_client_mkWhen I execute "relink client_sharedlib" ,Iget the following output.. /home/oracle/oracle/product/10.2.0/

  • How can I change the level of undos in final cut X.

    I was wondering if there is a way of changing the level of undos in Final Cut X and or how many level of undos exsist in already. i.e. in the FCP 7 you had to go to prefernces and chagne it from like 3 to 99, is there something similar that needs to

  • How to achieve the order base on my input?

    Hi all, I have the following query select column_name,column_id from user_tab_columns              where table_name = 'ITEM_GROUPS'                And column_id in (Select to_number(column_value) from The(Select cast(str2tbl('25,26,31,32,24') as myta

  • Two things which should revert to "normal"

    Here's some reiteration of my post under "Photoshop Mac." I have various workstations running Mac OS 10.5.8 three run PS CS3, and one runs CS4. In CS4 files always open on the monitor I have allocated for my palattes.  Before CS4, Photoshop would ope

  • Linking Feilds for a Query

    Hello Does anybody have experience wokring with SRM and R3. I am trying to create a report like PO cycle Time and have to get some data from srm and then po goes to r3 therefore some data from r3. The problem i am having is can't really link the data