Directly connect EJB via SOAP

Hi,
the SOAP samples provided with the IAS are using a client-class as service to connect to an EJB.
Apache-SOAP offers the way to connect directly to an EJB using the classes StatefulEJBProvider or StatefulEJBProvider.
Trying this alternative produces several curious effects. For instance handling HttpSessions seems to be impossible and memory is allocated with every request and will never be released.
Has anybody experiences with this way of communication with an EJB in IAS? I know that IBM Websphere is providing own EJBProvider classes for SOAP. Possibly there are such classes for IAS too, but I've found nothing in the guides regarding this topic!?
Best regards,
Gunnar Osterode

Please visit the following site for new samples being posted. The hello world sample addresses this EJBPluggable Provider classes.
http://developer.iplanet.com/appserver/samples/
This sample demonstrates the direct access to the stateless EJB. This would be almost same in the case of statefull session EJBs, except that you have to use the FulTargetObject URI in the urn part at the client side. I answered the same kind of question yesterday. you can refer to that. I can help you for more details. I have attached client java files and DeploymentDesrciptor.xml.
I hope this should help. This shopping cart sample will be soon on the site.

Similar Messages

  • Unable to print to directly connect printer via USB when on VPN

    We are experiencing and issue when users connect to the VPN and want to print. The printers in question so far are all HP printers J6450, J6500, J4500, F4280. There is the exception of one user who has a J6450 in one office and a K80 in another, the K80 will work over the VPN but the 6450 will not.
    All the printers are hooked up via USB none are wireless so there should not be any issue with not being a split tunnel VPN. The problem is the computer will not communicate with the printer while on the VPN so they cannot print locally, but as soon as they disconnect they are able to communicate and print.
    We have eliminated the possibility of Sophos (our antivirus/firewall) blocking anything by turning any services off, and also completely uninstalling it. We use checkpoint for our VPN. I am just curious if anyone has ran into an issue like this in the past and what they did to rectify the issue.

    Bump

  • How can i delay the present of direct connected route?

    Hi, I got 2 3550SMI switch interconnecting by Etherchannel. Each 3550 has an uplink to its upstream router (R1-SW1=SW2-R2). R1 and R2 connects to the remote site routers (say R3 and R4).
    With EIGRP redistribute connected, R1 update the direct connected network via WAN link A to R3 where R2 does the same thing updating R4 via WAN link B.
    The failover is fine after SW2 powered off. However, problem occured when I powered up SW2. During the bootup of SW2, there was carrier signal which brought up the ethernet port of R2 and the direct connected route presented in R2 then updating R4. Some of the traffic had started to come over from R4 via WAN link B to R2 while SW2 is still booting. (or Etherchannel was not yet ready). As a result, workstation connecting to SW1 cannot be reached for those traffic came from R4->R3->SW2.
    I have tried to use "carrier-delay 60"on the ethernet port of R2. It seems solve the problem since the direct connected route delay 60sec. Within that 60 sec, no update via EIGRP from R2 to R4 so that all traffic still went through R3->R1. After that 60 sec, SW2 had already bootup and the etherchannel was also ready.
    However, i can only do it with C3725 router. I've tried 1750, 25xx, 26xx and 3640-12.3T but the behavior was not expected (route still present immediately after carrier signal detected).
    My questions are:
    Is that command valid on Eth or FE interface?
    Is there any different using that command with diff. router series, eg. ISR (18xx,28xx,38xx)?
    Is there any condition that I could make it work? (at least 3725 worked)
    Is there any other way to delay the present of that direct connected route?
    Thanks.

    Hello,
    instead of the 'carrier-delay' command, you could try to change the EIGRP hello and hold-time intervals (which default to 5 and 15 seconds respectively on broadcast media such as Ethernet), in order to delay EIGRP convergence. So, on your Ethernet interfaces when you use the interface commands:
    ip hello-time eigrp x 60
    ip hold-time eigrp x 180
    the redistributed routes will show up only after 60 seconds, which effectively does the same as the 'carrier-delay'...
    Can you try that and see if that works for you ?
    Regards,
    GP

  • Why to Use EJB rather then Direct Connection To Oracle Thru webDynpro?

    Hi
      Experts,
       I want to know that why to use EJB to connect to oracle rather then direct connection via WebDynpro.
       Please Give Me References to how to connect to oracle with EJB or WebDynpro.I want to tell you that i know JDBC,JAVA and basic web Dynpro.
      Please Reply Me Dear Friends...ASAP.

    EJB are better for a project beacuse the application is scalable, have less maintainence and have better performance.
    Have you gone throght these:
    Connect Oracle 9.2 DB to Web AS 6.40
    web dynpro - database connection
    web Dynpro application connecting to oracle
    /people/ramesh.jandhyala/blog/2007/01/02/webdynpro-and-oracle-using-dtos
    Regards,
    Ashwani Kr Sharma

  • Connection from DP to SAP PI 7.11 via SOAP/https failed

    Hello Guys,
    we have a problem with connection from DP to SAP PI via SOAP/https.
    DP send a request and get a timeout. timeout is 2 or 3 minutes.
    DP and SAP PI authentificated with certificates.
    Our Problems:
    DP get now failure code
    in commnication channel monitoring in RWB from SAP PI I see no entry, no error
    in java default trace I see no error.
    What could be the Problem? What must we configure for https communication via SOAP Adapter?
    Which Log get me some information?
    Thanks and regards
    Martin

    Hi Neetesh,
    I have check all, but it resolved not my problem.
    I will describe my scenario again:
    scenario:
    syncronous request from system A over DataPower ->SAP PI to SAP system.
    communication DataPower to PI: SOAP over https
    DataPower located in other network zone.
    port is activated in firewall.
    called URL from DataPower:
    https://<host>:5<instance number>01/XISOAPAdapter/MessageServlet?
    channel=:<business system>:<interface>
    Problem:
    authentication looks like ok. No error in ICM Trace, in default java
    trace login from DataPower IP-adress ok.
    but no message is to see in the communication channel.
    no message in the adapter engine, no message in the integration engine
    DataPower get a timeout. (Timeout 2  minutes)
    we find no error, but also no message
    What could be the error? And where find I some information in SAP PI.
    Thanks and regards
    Martin

  • Directly Connect Two Macs Via Ethernet

    This has certainly been answered before, but a quick search didn't give any results. So here goes ...
    I wanted to connect two macs via ethernet. I use the mount tool in finder "connect to server" all the time with machines on a network, but I've never done with with two macs directly connected.
    So I connect them and my first instinct is to check the IP address of the machine I want to connect to. I then go to "connect to server" and type it in using the AFP protocol, but it doesn't work.
    At this point I'm stumped and not sure what to do. I don't use the "network" item in the finder sidebar very often but I clicked it, and sure enough the machine I want to connect to was listed, and I was able to connect / mount.
    So here's my question ... if I wanted to use "connect to server" tool, or even mount it manually with the mount command, how would I do it? Is it using AFP still to mount and the IP address is just bogus? Something else going on?

    But I'm telling you I tried using the IP address ... here, let me try again ...
    I find this address on the machine I want to connect to: 169.254.177.122
    I put this into "connect to server" on the machine I want to connect from: afp://169.254.177.122
    It spins for a while, then says it can't connect. Strangely, if I do a cmd-i on the machine in the network sidebar, it says: nfs:// automount ... into /Network
    So are you sure putting in the ip should work? If so what am I doing wrong?
    Okay ... plot thickens. When I cmd-i after I connect, it indeed says it is an AFP connect, but it gives the "local" name, say powerbook.local. But then, if I "ping powerbook.local" if gives me back the same IP I tried in connect to server. Huh?
    mbp:~ rjcarr$ ping powerbook.local
    PING powerbook.local (169.254.177.122): 56 data bytes
    Weird. It isn't that big of a deal ... I just like to know what is going on.

  • SOAP - RFC possible with Direct Connection?

    On our PI 7.1 system we have a RFC which we want to expose as a webservice with all the standard monitoring SAP PI provides. On PI 7.0 is used to create a configuration scenario in Integration Builder and generate a WSDL.
    I have read the document 'Configuring Web Service Scenarios', but it is not clear to me if i can create a AS JAVA 7.1 -> AS ABAP 7.1 scenario and if the 'Direct Connection'-functionality of SAP PI 7.1 offers me a solution.
    Please advise me...

    Hi,
    in PI7.1 direct connection uses WS adapter which works on WS-RM protocol.............your req is to expose RFC as web-service which do not work on WS-RM protocol and moreover you will require RFC adapter for configuration of your scenario.... So SOAP->RFC is not possible with Direct connection in PI7.1.
    Regards,
    Rajeev Gupta

  • HT3669 My macbook pro does not print through my PC to my EPSON RX 500 after loading OS X 10.7.4. It shows on the print queue "error"  However, it will print if I directly connect my laptop to this printer via the USB connection.  Any ideas?

    My macbook pro does not print through my PC to my EPSON RX 500 after loading OS X 10.7.4. It shows on the print queue "error"  However, it will print if I directly connect my laptop to this printer via the USB connection.  Any ideas?

    It's all about setting up what ever version of windows you have running on your pc to share the printer. If you still get stuck post in a windows forum for help.

  • L7680 Can't connect via Network works fine direct connected via USB Please Help!

    Greetings All,
    I have an HP L7680 that has been having this same problem since I purchased it and the only cure that has ever worked is to completley reload Windows XP and start over which I am very tired of reloading XP to resolve a printer problem.
    This has been posted by several other people but I don't see where anyone has posted a fix.
    When I first install the printer everything usualy works fine and it runs fine for a few mionths. Then the first indicatrion of a problem is the scanner quits working. Then when I try to reinstall the software the printer does not show up.  I read and tried every solution and have spent nuerous hours with HP support to no avail.
    The printer works fine direct connected via a USB cable and it works fine with two other computers on the same network. One of the other computers has the exact same OS and is the same HP model laptop.
    I don't think the uninstall is completley removing all the files or reinstalling everything fresh when I reload. I have tried the Level 1 through 4 uninstall utility posted on HP's site and have tried all sugestions posted in this forum.
    Below is a better rundown of the problem.
    When the Scan function is called, a "Scanning" window appears, and hangs
    I have an HP Laptop with XP32 Bit software
    Once the scanning window appears it stays there forever
    Only way to clear scanning page is to terminate hpoews01.exe with Task Manager
    Scanner does not show up in Paint or Photoshop ect.
    Web Scan Does work and printer shows up using IP address.
    Scanner shows up fine on a web page
    HP support in India has been no help and now my printer is out of warranty so even less help
    Thank you,
    Dave

    I had a similar problem with my OfficeJet L7680 and here's how I fixed it.  
    18APR10 - from Dan
         I lost my L7680 network link (using CAT5 from printer to router) and could not print to it over the network.  However, I could print from a PC with a USB cable directly to the printer, but there are currently three PCs connected wireless to the network.  I think I have a viable solution for anyone with the same problem and is not related to the operating system of the PCs.
         Originally, I went to the HP site and downloaded the program for the L7680, Critical Update to Enhance Reliability of Network and USB Connectivity and Improve System Responsive....  This worked wonders until my modem and/or router went down.  I could see ink levels from my PC, scan, print, and so on.  Then I somehow lost my network connection again.  When I checked the network settings on the L7680 printer panel (Setup, 5 - Network, 1 - View Network Settings, 2 - Display Wired Settings), I noticed a different IP address than the original 192.168.1.100.  Once I figured out how to reset the printer to that one, it connected and worked as it should. 
        Here's how to reset it:  1.  Power down all devices (wired and wireless) to the router (I even disconnected the printer power cord and CAT5 cable at the printer); 2. Power down the modem and router - wait a minute or so before powering back up;  3.  Power up the modem and give it a minute or so to go through system checks, which will normally acquire a new IP address from your ISP;  4. Power up the router and let it go through its system checks; 5.  Connect the CAT5 cable from the printer to the router and power it up before you power up and connect any other computers.  This should assign the printer the first IP address from the router, which should be 192.168.1.100.  Once the printer goes through its start-up checks, you can check its assigned IP address from its panel.  6.  Power up any other PCs or devices to the router.  They should be assigned successive IP address numbers from the router.  You can check these using a browser in the PC after typing in 192.168.1.1, logging in to the router, and checking the appropriate place in the router driver/software displayed in the browser.  I was not able to reassign IP addresses in my router's driver/software to individual devices, but this method did the trick.  I did not try to change the IP address of the printer from its panel to match what had been inadvertently reassigned to it.  That might be another option to synchronize the printer and router with the same IP address.  If the printer loses its connection again, you'll have to synchronize what the printer has with what the router shows.  This worked for me.

  • Problems connecting via SOAP

    I am currently trying to connect to our OCS server via SOAP.
    The example scripts in the documentation (Java-example for the RemoteLoginManager, p.10 of the Content Services Application Developer's Guide ) and the ones in the SDK sadly dont work.
    We tracked it down to http://jira.atlassian.com/browse/JRA-7321 to be the likliest cause for that.
    The returned envelope while trying to connect contains TWO attributes of identical name causing a SaxException client-side.
    Any insight on if we did a misconfiguration?
    Any tips on how to connect to OCS via SOAP the simplest way?
    Thanks,
    Kristian

    Hi Matt,
    you are right - we are using SOAPpy / ZSI and the duplicated attributes are
    exactly like the issue on apache.org.
    We are just trying to figure out which AXIS version is running on the
    server and will post it as soon as we know :)
    Our SOAP envelopes look like this:
    outgoing: --------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:login xmlns:ns1="http://xmlns.oracle.com/content/ws" SOAP-ENC:root="1">
    <username xsi:type="xsd:string">zope_user</username>
    <password xsi:type="xsd:string">zope_passwd</password>
    </ns1:login>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    incoming:--------------------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
    <soapenv:Body>
    <ns1:loginResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://xmlns.oracle.com/content/ws">
    <loginReturn soapenc:arrayType="ns1:NamedValue[3]"
    xsi:type="soapenc:Array" xsi:type="ns1:ArrayOfNamedValue"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <loginReturn href="#id0"/>
    <loginReturn href="#id1"/>
    <loginReturn href="#id2"/>
    </loginReturn>
    </ns1:loginResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:NamedValue" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://xmlns.oracle.com/content/ws">
    <name xsi:type="ns3:string" xmlns:ns3="http://www.w3.org/2001/XMLSchema">LOGIN_USER</name>
    <value href="#id3"/>
    </multiRef>
    <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedValue" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://xmlns.oracle.com/content/ws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <name xsi:type="ns5:string" xmlns:ns5="http://www.w3.org/2001/XMLSchema">TRANSACTION_TIMEOUT</name>
    <value xsi:type="soapenc:int">120</value>
    </multiRef>
    <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedValue" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns6="http://xmlns.oracle.com/content/ws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <name xsi:type="ns7:string" xmlns:ns7="http://www.w3.org/2001/XMLSchema">SESSION_TIMEOUT</name>
    <value xsi:type="soapenc:int">1800</value>
    </multiRef>
    <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns8:Item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns8="http://xmlns.oracle.com/content/ws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <id xsi:type="ns9:long" xmlns:ns9="http://www.w3.org/2001/XMLSchema">150408</id>
    <name xsi:type="ns10:string" xmlns:ns10="http://www.w3.org/2001/XMLSchema">kristian</name>
    <requestedAttributes xsi:type="ns8:ArrayOfNamedValue" xsi:null="true" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"/>
    <type xsi:type="ns11:string" xmlns:ns11="http://www.w3.org/2001/XMLSchema">USER</type></multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    thanks,
    kristian

  • WebI direct connectivity to BEx query (or) via OLAP Universe  in BOBJ 4.0

    Hi Experts,
    In SAP BOBJ 4.0,
    could you contrast the differnces between creating Interactive Analysis (WebI) reports on BEx direct connectivity
    vs
    Interactive Analysis reports on OLAP based UNX universe.
    Thanks,
    AK

    Hi Anil,
    did you get required information? We now must approve the same issue and would appreciate any input.
    The only document we found is related to BO Clients:
    http://scn.sap.com/docs/DOC-22479
    Regards
    Stan

  • Directly connect two N7700 via 100Gb link

    Hello,
    We are using N7700 chassis with 100G line cards (N77-F312CK-26).
    Transceivers are 100GBASE-SR10 (link).
    I'm wondering if it's possible to directly connect two chassis using some 24-fiber MPO cable, e.g. this one.
    My most concern is about polarity issues, because aforementioned cable doesn't have a possibility to change it in-place (unlike PanMPO connectors).
    P.S. I've also found this document (link), that states such configuration is possible, although the cable from another manufacturer is used.

    Just received an e-mail from Panduit support:
    Panduit Response:
    Hello,
    Yes, our 24F cable is capable of direct connect.  Fibers 1-12 on one end go to 13-24 on the other and 13-24 hit 1-12.
    I trust that this helps clarify the situation

  • Drawbacks of Connecting CIS directly to CS via standalone connection

    Hi,
    I am using my CIS to directly connect to the Content server as standalone application.Please tell me what are the demerits of doing this.
    Thanks in advance

    I don't believe there's any way to connect to AOL without installing the AOL software. You need to figure out why you're having such trouble installing it. Have you downloaded the latest version from their website?
    AOl uses its own protocols and you can't set it up like a normal internet connection, unfortunately.
    BTW, he may like the parental controls, but I'm pretty sure his kids will know, as he apparently does not, that no matter what parental controls you have set in AOL, they only work as long as you use the AOL browser. All his children have to do is log onto aol then switch to Explorer or another browser and away they go.

  • Submit PDF Data via SOAP

    Situation:
    Write a PDF out to a public share.
    Email the location reference to a user.
    Allow the person to add their data to the form.
    Allow the person to submit.
    I would like to submit the data to a workflow process.
    From what I have read, a lot of people indicate this is done by writing a web service that acts as a proxy to the actual workflow process. Is that really the best/easiest way?
    I know that LiveCycle exposes the WSDL for any workflow process that is written. Is there a way to call that directly without the proxy?
    I know you can set up a Data Connection on a form. Is that the best way?
    Can I simply but the end point of the LiveCycle SOAP endpoint in the "Submit To Url" field of a Submit button?
    Any words of wisdom?

    There are six different ways to initiate a workflow process. 3 are created automatically when the process is activated and 3 require you to build an endpoint.
    1. Automatic endpoint - Data Services - you could submit the data to a servlet or other such program and in turn have it call Data Services to start the process.
    2. Automatic endpoint - EJB interface - submit the data to a servlet and have it call the EJB interface to start the process.
    3. Automatic endpoint - Web Service interface - same as above but use the SOAP interface instead. You could also have the form call the SOAP interface directly but there will be some work required on the form to get the contents of the form to submit via SOAP.
    4. Endpoint requires config - Watched folder - you can save out the data to a shared network drive. That drive is monitored by Livecycle and your process is kicked off when a file is dropped into that folder.
    5. Endpoint requires config - Email endpoint - same as #4 except email is used and not a folder.
    6. Endpoint requires config - TaskManager endpoint - make use of workspace to have the user choose the process to start and the data is submitted to the process automatically.

  • TS1398 I have an iPad mini, because of my work network firewalls I am not able to use the airprint function to print. I was told you can direct connect to a printer. I am not sure how as I have not seen any cables for a lightning connection to a printer c

    I have an iPad mini, I am connected to my work wireless connection. My printer also is on the same wireless network, however I am not able to print to my airprint enabled printer through this wireless connection. Is there a way to direct connect to the printer via a cable ?
    I am missing something here on the connection. I am thinking possibly a firewall here at work will not allow me to use the airprint function. Help ?

    There is no support for wired printing.
    It is probably a firewall issue, possibly where all inbound communications are blocked. Since you're at work, I'd call your work IT department and find out from them what you can/can't do.

Maybe you are looking for