Food for thought: integrating SOAP in WLS6

Looking at the multitude of questions regarding SOAP and WLS 6, I think
the time has come to make some kind of HOWTO on integrating SOAP
(especially apache's rpcrouter) in WLS 6.
Like many others, I also have a strong need to make my EJB's available
through SOAP in the very near future. My customers directly call EJB's.
When they make Java apps, that's fairly straightforward and fast, but I
also have clients requiring specific languages and runtime environments.
What would I do when I want to make my EJB's directly available through
SOAP?
My guess is to:
- install rpcrouter as a normal servlet in WLS;
- write thin wrapper over the EJB's ("Provider Classes" in apache's
rpcrouter admin);
- define DeploymentDescriptors for these EJB-wrappers.
The above is managable, but what about argument and return-type classes?
These are all home-brewed and fairly complex (extending many classes and
implemented many interfaces).
The client at the other side needs class declarations and
implementations if it is ever to pass one as an argument to a SOAP
function call.
In case of a Java client, I might give it these classes at forehand. In
case of, say, a C-sharp app, this ain't an option.
Another, even more fundamental problem is that of the interface -
implementation abstraction: my EJB return-types and arguments are all
interfaces. So the clients automatically use RMI to obtain an
implementation at runtime. What about SOAP here? How do SOAP clients
obtain implementations of these classes?
Is there anyone (that includes you BEA) who can tell me more on this and
even get me a working SOAP interface for my EJB's?
Thanks in advance,
Erik van Zijst

I've seen that page. But it doesn't go deeper than the examples from
apache and MS which I already ran.
I can easily send strings and primitive datatypes to and from different
languages. My trouble is with complex classes.
Consider it the other way round: you are writing a Java app that needs
to do rpc with a C# application. The return types of the remote methods
are all complex classes. So you'll have to create stubs for them I
guess. How do you do that?
Erik
Jane wrote:
Check out the Developer Center...
http://developer.bea.com/circuit/xml.html
Jane
Erik van Zijst <[email protected]> wrote:
Looking at the multitude of questions regarding SOAP and WLS 6, I think
the time has come to make some kind of HOWTO on integrating SOAP
(especially apache's rpcrouter) in WLS 6.
Like many others, I also have a strong need to make my EJB's available
through SOAP in the very near future. My customers directly call EJB's.
When they make Java apps, that's fairly straightforward and fast, but I
also have clients requiring specific languages and runtime environments.
What would I do when I want to make my EJB's directly available through
SOAP?
My guess is to:
- install rpcrouter as a normal servlet in WLS;
- write thin wrapper over the EJB's ("Provider Classes" in apache's
rpcrouter admin);
- define DeploymentDescriptors for these EJB-wrappers.
The above is managable, but what about argument and return-type classes?
These are all home-brewed and fairly complex (extending many classes and
implemented many interfaces).
The client at the other side needs class declarations and
implementations if it is ever to pass one as an argument to a SOAP
function call.
In case of a Java client, I might give it these classes at forehand. In
case of, say, a C-sharp app, this ain't an option.
Another, even more fundamental problem is that of the interface -
implementation abstraction: my EJB return-types and arguments are all
interfaces. So the clients automatically use RMI to obtain an
implementation at runtime. What about SOAP here? How do SOAP clients
obtain implementations of these classes?
Is there anyone (that includes you BEA) who can tell me more on this and
even get me a working SOAP interface for my EJB's?
Thanks in advance,
Erik van Zijst

Similar Messages

  • Accessibility for the visually Impaired - food for thought

    Experts,
    Some food for thought:
    From a technical perspective, all I can imagine of as a solution to deliver accessible applications to visually impaired users of SAP, is an orchestrated screen design and cursor flow with complete keyboard navigability and minimum or zero click sensitivity.
    Have TTS/speech driven navigation or other alternatives been introduced in SAP already? If yes, what are the steps to be performed to harness the same in a typical SAP ERP Installation. Please enlighten me.
    Also, if you think this post is in the wrong forum, please let me know.
    Thanks in advance!
    NW

    Hi,
    Pls check below link.
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/af/94c0417546cd17e10000000a155106/content.htm
    Anil

  • Logic Crashing, food for thought...

    I posted this in another thread, but thought it might be worth posting separately.
    First, keeping in mind that crashes probably happen to Logic users all around the world running different versions on different computers with varying amounts of plugs, 3rd party apps, etc., and that not every Logic user is a member of an online forum... OK, having said that...
    Based on my casual observations reading through this most recent rash of crash complaints, I noticed that many of these posters are running the latest OS, 10.4.9. And I recently had an experience in another studio where, after installing Logic on a 10.4.9 computer that Logic crashed incessently.
    Anyway. So, my food for thought: has anyone found that they're crashing more often since updating to 10.4.9?

    MBP (core duo 1.83) all updates, no problems. Just ran some of the scenarios that others are reporting - it's as stable as ever.
    The only thing I've run across lately is Logic on the MBP not picking up my config from AMS. I have a G4 MDD in my studio, and I'm setting up to be able to switch systems with 1 usb and 1 firewire cable. The midi system is rather complex (40+ ports), and I spent my time working on my laptop.... then found Logic just ignores it. Works fine on the MDD - also running 10.4.9.
    but no crashes on either system... knock on wood.
    MBP 1.83 & MDD 1G DP   Mac OS X (10.4.8)   Logic Pro 7.2.3, Motu 828MkII+828, Firebox LC&XT, Tranzport, Unitor8+(3x)AMT-8's

  • Export puzzle--food for thought.

    Hi,
    I used to use FCE 2 on Panther and made a movie and used the export feature to make a DVD. I used "Export to QuickTime Movie" and made the thing self contained.
    After lots of time and upgrades (FCEHD 3.5.1, OS X Leopard, a new hard drive, etc,) I was having trouble with playing those old timelines. The rendered part were red indicating that they needed done even though I hadn't changed anything, so I figured I would render them fresh. I deleted my render files to save some space and just did it again. No problem.
    But now some of my old QT exports won't play, saying they are looking for these old rendered files. Weird, since I thought they could stand alone. Whatever, I'll just export them again, right? Here's the twist: the new exports are way bigger than the old ones. For example, a 90 second clip was 16.6 MB on FCE2, it is now 326.9 MB on FCEHD3.5.1 Does this have something to do with the HD part in the upgrade? Why is this new stuff so big?
    Perhaps I exported the old QT files using something else and compressed it, but I doubt it since the directions clearly state to do that and let iDVD compress it for me. And the info on the files look identical otherwise (codec, dimensions, open with FCE, etc). I'm guessing its just the difference between FCE2 and FCEHD3.5.1 exports. Am I right?
    Thanks,
    Ed

    You're probably right, although I could have sworn I made them self contained. But the signs seem to point to them being referrential. I guess I was wondering if i was possible that the new versions of FCE made things bigger by virtue of being "HD" and such.
    Thanks,

  • O.T. Food For Thought

    Not something I would have thought any forum members are guilty of,but it does make you wonder how many adults of the future will know what they looked like when they were little :
    'In the U.K., the information security company Symantec commissioned a poll of 2,227 consumers that revealed 89% of them own a digital camera or cameraphone but about one-third of digicam owners don't back up their digital images. Not even with printsa large majority (70%) of digicam owners print 25% or less of their images and fully 30% said that they did not print out ANY hard copies. So, presumably many photographers are depending on their digicam memory cards or their PC's hard drive for storage, but memory cards can get lost or broken and ALL hard drives eventually fail.'

    Malcolm, Hi; I'm one that does not print much. I have a couple of external hard drives and I copy every thing on at least two sources. Most of my digital images and digital video gets put on CD, DVdisk or internet to share.
    Now that I'm getting into PSE I have been thinking about print again. When I do print I use Shutterfly or other on-line services. I have a good printer and a LCD monitor so I have been thinking about getting software to calibrate this monitor or using one of my old CRT monitors, since I have been reading about the difference in what you see on a LCD monitor and your print output. So far The prints I have made at home look good after I nudge up sliders on my printer preferences
    Some of the images I have been editing are looking good and I may not be satisfied with this method or on-line services any longer. Mickey

  • Just Food for Thought

    I think when my contract expires on 01/26/2013 that I will not renew my contract with VZW. I'll still remain with VZW, I'll pay the full-retail price for whatever glitzy device is all the rage. I figure, $800 FRP, without the threat of an ETF is well worth the peace of mind. I still pay the full price for the phone, just not upfront. 

    Verizon Bases the cost of the cell phone off of how much time your contract is, because part of the monthly bill actually goes to reimburse Verizon for the astronomical price of cell phones. Take the HTC Thunderbolt for instance with a 2 year contract they are going for $250 but the Full retail cost of the phone is about $650, if Verizon gets the guarantee from you that you will pay your bill for 2 years then they will sell you the phone at that cost because they will eventually get their money back. That is the whole reason for having contracts in the first place, So that average people can afford nice phones. Even the simplest phone in the line up like the Samsung Haven the full retail cost of that phone is like $175 and that is just a simple flip phone that doesn't Even have a camera. Who would pay that much for a phone? So in a sense you don't save any money by purchasing your phone at full retail because part of your bill will still go toward paying back a cell phone that you don't have a contract on. The only way you would save money is if you bought your phones from eBay or some 3rd party source, and then Verizon offer you an incentive and discount your plan for not purchasing phone through them. Since that isn't happening anytime soon, just sign the contract!

  • Food for thought : Closing I/O streams ....

    hi all,
    my intention is to release all the I/O streams after i have finished their use .to do it i call the .Close()
    method in a finally block .
    my question is : how is calling .Close() on an I/O stream different from, assigning a null to it .
    i.e. :
    objIOStream.Close();// in finally
    objIOStream = null; // in finally
    will the gc behave differently in these two cases ?
    what is the logical diffrence in the two approaches ?
    can i be sure that my streams would be closed/resources freed by using even the second approach ?
    thanks in advance,
    Ravi

    It's not quite the same thing.
    Closing the stream may cause it to set its internal stream to null but that doesn't mean that the outer stream becomes available for garbage collection.
    For example, in the following, outerStream doesn't gets garbage collected although it does get closed. When close is called, the FileInputStream that it wraps is closed and, according to your last post, the reference to it set to null - the FileInputStream should then be eligible for garbage collection. However, my Test class still maintains a reference to the BufferedInputStream thus preventing it from being garbage collected even though it can no longer do anything useful with it.
    public class Test
      private InputStream outerStream;
      public Test() throws Exception
        try
          outerStream = new BufferedInputStream(new FileInputStream("C:/blah.txt"));
        finally
          outerStream.close();
    }Explicitly setting objects to null in order to get them garbage collected is usually unnecessary, however. In the example above outerStream should have been declared locally in the constructor - it will then be eligible for garbage collection when it falls out of scope.
    Hope this helps.

  • Food for thought: results differ when source compiled in JBuilder and Java

    Hi,
    I was working with JBuilder and i found that One of the JavaSource files which had a class attribute as final and was assigned somewhere later in a method, was getting compiled by JBuilder (as a member of a project), but the same class file while compiling with javac was giving compilation error.
    Also the size of the other class files on which i was working, generated by JBuilder and javac (Both are JDK 1.3) were different. How can there be a difference while compiling.
    If anybody can tell the reason.. i will be enlightened.
    Regards,
    Guru

    Your settings in JBuilder for how it compiles is probably set to compile with debugging allowed (command line -g), which will account for the size.
    As for your first problem, I can't help you. The only thing I can think of is that either JBuilder actually did not (re)compile that particular file or it's actually using a different compiler (e.g. jikes) that allows that kind of construct.

  • Food for thought

    I just checked the reconditioned Macs that Apple is selling on line and noticed most of the reconditioned fairly new Macs are selling with Snow Leopard as the operating system. Lion is only coming on computers with i5 and i7 processors. Hmmmmmmmmmmmmmmmm Very interesting!

    http://store.apple.com/us/browse/home/specialdeals/mac?mco=OTY2ODw
    I typed this because my browser wouldn't copy and paste for some reason. If it doesn't work simply go to the apple store on their web site (NOT the APP STORE, the store link on the apple web site) and look in the left lower column and you'll see a section for reconditioned Macs, iPads, iPhones, etc. I bought a reconditioned Macbook 3 years ago for $300 off new price and it works awesome to this day. In the future when looking for Mac products i'll ALWAYS buy reconditioned if what i want is available.

  • A confusing piece of code, may be food for thought.

    Looking at the following code it seems very obvious to me that the output should be 1010 but it turns out to be 2020. Could anybody explain the reason behind it?
    public class TestClass
      public static void main(String args[ ] )
        TestClass tt = new TestClass();
        tt.ww();
      public void ww()
        Base b = new Base();
        Base b2 = new Base();
        b.iAge = 10;
        b2.iAge = 20;
        System.out.print(b.iAge);
        Integer iw = new Integer(b.iAge);
        col(iw);
      public static void col(Object o)
        Integer iw = (Integer) o;
        System.out.print(iw.intValue());
    class Base
      public static int iAge;
    }

    Considering that the iAge member is 'static' (only one copy no matter how many instances of the object), and that you last set it to 20 before you output anything, what's to wonder about?

  • Unable to convert sender service for IDoc to SOAP Scenario

    Hi,
    I tried to find the solution my way and by using the search function but without any success. I have the folowing scenario:
    SYS(my sap system) => IDoc => PI (Process Integration) => SOAP => XML
    When i send the IDoc to the PI System and open SXI_Moni the folowing error is shown:
    "Unable to convert the sender service receiver_service to an ALE logical system"
    I read about Adapter Specific Identifies so i go to ID->Service without partner->Business System->MyBusinessSystem(SYS) then in Menü on Services and checked Adapter Specific Identifies. They are like maintained in SLD.
    Next is a Cache refresh i tried a full one but no impact
    Then i tried a header mapping in receiver agreement. I mapped there the receiver party to the definied receiver party and the receiver_service to the service.
    I have no idea
    Thanks for help, be sure that helpful answers will be awarded
    regards
    Matthias
    P.S. What causes this error ? For my opinion ALE has already done all neccesary things (The Idoc is in PI System and the data is available in mesaage payload) so why didn't the pi map it and send it via Soap?

    Hi Matthias
    >>I dont know if its helpful but in SLD are only the system of our landscape so i have no entry for the external Party.
    Party information is generally not required to be maintained in SLD
    >>Adapter Specific Identifies
    What is the value you have given for sender Business system->adapter specific identifier. Is it the same as the partner profile name in sender SAPECC. if not try making them same.
    Regards
    Suraj

  • Why we do not need sender agreement for Mail and SOAP adapter

    Hi SDN,
    I know, we do not need sender agreement for IDOC ,HTTP,XI adapters. As these three adapters will run in Integration engine of the abap stack.
    <b>In our scenario if sender is other than  IDOC or HTTP or XI .</b>
    By Refering Sivamni's blog.
    <b>/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi
    message will be pickedup by communication channel with the help of sender agreement and prepare XI message header by performing cpa cache lookup. then message will go to module processor etc.
    <b>In our scenario if sender is IDOC or HTTP or XI .</b>
    As these 3 adapters are run in Integration engine.
    Doubt 1:
    how the integration engine will create the xi message header like sender interface sender system name etc...
    Doubt 2:
    I believe SOAP and mail adapter will run in adapter engine.but i came to know that we do not need sender agreement and sender comm channel for these two adapters too...then how the XI message header will create...
    Please do correct me if i am wrong
    and throw some light on the same..
    Appreciate your help....
    Regards,
    Reehan.

    Reehan,
    Thanks for pointing me to that link. Guess I was wrong .,But,let me try to put to you why you need a sender agreement for a Sender SOAP Adapter,
    1. In the sender SOAP adapter , the Sender Interface and the Interface Namespace as provided in the fields Default Interface Name and InterfaceNamespace. The Name of the Sender Service is provided in the WSDL when you ceate the WSDL in the Integration Directory. So, as all details are available in either the Sender SOAP adapter or in the WSDL url you do not need a Sender Agreement. It is not obligatory but you can always create the Sender Agreement.
    2.  For the mail adapter , if you select the option XIPAYLOAD, you will have the option to mention the Interface Name and Interface Namespace under XI Parameters  and so in this case as once again the details provided in the sender agreement are available in the Sender Adapter itself the sender agreement is not needed for the mail adapter when you have select option XIPAYLOAD.
    If you have selected XIALL then you need a sender agreement.
    Regards
    Bhavesh

  • Steps for Email integration in sap crm system?

    Hi Experts,
    Please guide me the steps for email integration so that the emails are in syn with the WEB UI Interaction centre.Settings at the backend GUI are already defined.Actually in my case the Development system is not integrated with Email sync in WEB UI.I need to test the email functionality in Development system as steps I have followed are as below:
    1)TCode :- SBWP,then I have created a mail & send it to email address which is defined in the SO28
    2)TCode :- SOST,there I have clicked on my test mail,select it & click on execute button,green light appears & shows the message that the email is successfully forwarded.
    Now when I open Web Ui,select my business role & then I go to inbox in the Navigation Bar,select email & click on search.Then it does not appear anything & shows search result zero.
    Kindly suggest me the steps so that I can see my test email in Dev system Web Ui business role .
    Thanks
    Warm Regards
    Vineet Joshi

    Hi Prashant,
    Thanks for your response. I want steps to configure communication channels like e-mail & fax to facilitate receipt of invoice from vendors, sending of PO to vendors, cheques, payment advices to name a few. Please let me know the detailed configuration steps for the same and also do we need to instal any tool to facilitate this process.
    Thanks
    Best regards,
    Bhaskar
    Edited by: Bhaskar Umashankar on Nov 25, 2008 4:08 AM
    Edited by: Bhaskar Umashankar on Nov 25, 2008 4:08 AM

  • FAST FOOD FOR EDITING

    when i get into working on stuff I really hate stopping and doing other things ...unless I'm waiting for some process to get done ( eg. export etc ).
    So when I am on computer working I get sucked into it and dont like to stop even to eat etc.
    I have discovered that fast food is the answer.
    even better...get on phone and order food delivered !
    but other than that I've discovered you can enhance frozen food TV dinner things or soups...pretty quick and is really good...
    1) get stouffers (sp?) fetticinii alfredo...nuke...( 2 min ? ) and add can of tuna ( mix it in..) yum...instant tuna casserole !
    2) get progressive new engl clam chowder.. heat up... add can of chopped or minced clams...heat a min longer....way better !
    ( add red pepper or whatever ).
    whats YOUR secret editing fast food solutions ???

    darnit.. i was writing email to my state senator and missed the crab story.. what happened ? can we eat them ?
    yum... i ate some crab cakes for breakfast this morning... from icelandic or something like that... microwave on high for 2 minutes covered... the perfect fast food for editing...add cocktail sauce.
    cock and tail .... sauce... appeals to most people on a subliminal level .... IMO...
    for me its the tail part.. but hey, friday is gay day in the film biz ...( IMO ) and mayor bloomberg tends to prove it 7 days a week !
    no offense.. my best friend is gay
    just kidding but it could be true
    how would i know anyway? maybe i havent met the right wife yet.. 3 down but there are many fishes in the sea.... any chics feeling adventurous out there ??
    edit... true story :
    I was working on set of some stupid tv cop show ( i think it was law and order at chelsea piers but forget ) and sitting at a big 'conference table' with other crew members during a take. after the take we had to move to the room we were sitting in to shoot, and to do that we had to lower some bay lights etc which were above the big table .. so the room had to be cleared of people to do that ( dont wanna drop stuff on people etc ).
    Soooo, the subject of this " new " movie ( brokeback mountain ) got brought up by some *** hags sitting at the table... chics who love gay guys in general for the spirit of the thing.. ( this is hollywood so theres no figuring out why this is true ) .. and one asked ME if I was gonna go watch the movie. Like go to a theater and watch this new movie.  This is starring the guy who killed himself like a week ago.... and everyone was sorta talking about this great new movie and the dead guy.
    Being a grip etc.. and pretty old ... I looked at this young woman and there musta been something in my countenance that sobered her up or something...cause she looked away and giggled and changed the subject and then got out of the room when I said, " We're gonna lower the bay light, get out of the room ".
    I never saw her again. The dead guy is still dead. The gay movie about cowboys is still a blockbuster. Life goes on , eh ?

  • Acknowledgement for AsynThird-party-- SOAP-- PI-- ABAP proxy-- ECC scenario

    Can someone please provide me a step-by-step for Third-party>SOAP>PI>ABAP proxy>ECC scenario.
    Third-part system is sending an Asynchronous HTTPS message to PI which is then routed to the ECC system to do some processing. I have read many blong and all SAP Docu available on this subject, but i am still confused.
    I understand that ABAP Proxies supports acknowledgement, but what needs to be done in the third-party system to be able to receive acknowledgements. Is there any special config. that needs to be done in Sender SOAP adapter?
    What diff. needs to be done in ABAP proxy to be able to send acknowledgement messages, any config. in XI receiver adapter?
    I will appreciate any guidance.
    Thanks,
    Saurabh

    HI
    Third party application need to have the synchronus communication enabled. If not then you need to get a wrapper develop for this kind of communication
    For proxy development
    Just go through these links:
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Outbound Proxy (Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    Synchronous Proxies:
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Inbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation

Maybe you are looking for

  • Is this legitimate?

    I received an email supposedly from Apple about an battery recall for Powerbook G4s. My battery is on the list. But when I go through the Apple site, I can't seem to find the place to complete the recall claim form. I have pasted the email i received

  • Physical and logical partation of cube

    hi can i get scenerio for logical and physical partation of cube. based on year or calmonth that is called physical partation? or not what is logical partation

  • Temporary Table Not Creating With Rows

    I'm running Oracle 9i on Windows XP, and I'm trying to create a temporary table to use in a larger query. The problem is that when I create it using ON COMMIT DELETE ROWS, after creation it has no rows. If I use ON COMMIT PRESERVE ROWS, then I can't

  • Protecting swf files from being decompiled

    At the end of the day, our flex apps are deployed as swf files which have the potential to be decomplied and thereby our intellectual properties lost. There are tools in the market which claim to secure the swf files from being decompiled. Are these

  • Error In Delta Extraction on 0HR_PT_1

    Hi, The status for delta load for 0HR_PT_1 stays yellow, and the application log in R/3 shows warning messages as Personnel number 00001503 could not be locked. It would be great if anyone could help. Thanks