Can't find bean with adf bc sdo web service

Hi,
I made a sdo web service with adf bc on the customer table in the oe schema. This works fine, I deployed this on the j2ee container of jdev tp4.
Now I use this sdo ws in a entity of an other project bc4j project. I add the jars , update the connection.xml and I configured the jndi.properties so it can lookup the sdo bean which is defined in the connection.xml.
If I start up the new application I got jndi lookup error. It can't find the bean which is defined in the ServiceImpl of the sdo ws project. I saw this impl has annotations to make a bean
package nl.ordina.sdo.service.server.serviceinterface;
import java.lang.reflect.Method;
import java.util.List;
import nl.ordina.sdo.dataaccess.common.CustomersViewSDO;
import nl.ordina.sdo.service.common.serviceinterface.OEServiceService;
import oracle.jbo.common.sdo.SDOHelper;
import oracle.jbo.common.service.types.FindControl;
import oracle.jbo.common.service.types.FindCriteria;
import oracle.jbo.common.service.types.ProcessControl;
import oracle.jbo.common.service.types.ProcessData;
import oracle.jbo.server.svc.ServiceImpl;
import oracle.jbo.service.errors.ServiceException;
// --- File generated by Oracle ADF Business Components Design Time.
@javax.ejb.Stateless(name="nl.ordina.sdo.service.common.OEServiceServiceBean")
@javax.ejb.Remote(OEServiceService.class)
@javax.jws.WebService(targetNamespace="/nl/ordina/sdo/service/common/",
serviceName="OEServiceService", portName="OEServiceServiceSoapHttpPort",
endpointInterface="nl.ordina.sdo.service.common.serviceinterface.OEServiceService")
@oracle.j2ee.annotation.ejb.StatelessDeployment(copyByValue=false,
minInstances=2)
public class OEServiceServiceImpl extends ServiceImpl implements OEServiceService {
Why can't it find the bean
If I manually create a ejb session bean on the sdo application module then the new app finds the bean but it gives an error because it does not support the find operation.
thanks edwin

Thanks Steve.
I had my own jndi.properties file that's why it was working with ejb bean I created in the AM and not with the sdo web service.
I didn't know I had to add the jndi properties to the connection.xml maybe you can update the documentation.
<?xml version = '1.0' encoding = 'UTF-8'?>
<ns2:References xmlns:ns2="http://xmlns.oracle.com/adf/jndi">
<Reference className="oracle.jbo.client.svc.Service"
name="{/test/model/common/}DepartmentModuleService">
<Factory className="oracle.jbo.client.svc.ServiceFactory"/>
<RefAddresses>
<StringRefAddr addrType="serviceInterfaceName">
<Contents>test.model.common.serviceinterface.DepartmentModuleService</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceEndpointProvider">
<Contents>ADFBC</Contents>
</StringRefAddr>
<StringRefAddr addrType="jndiName">
<Contents>test.model.common.DepartmentModuleServiceBean</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceSchemaName">
<Contents>DepartmentModuleService.xsd</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceSchemaLocation">
<Contents>test/model/common/serviceinterface/</Contents>
</StringRefAddr>
<StringRefAddr addrType="jndiFactoryInitial">
<Contents>oracle.j2ee.rmi.RMIInitialContextFactory</Contents>
</StringRefAddr>
<StringRefAddr addrType="jndiProviderURL">
<Contents>ormi://localhost:23791/SvcInterfaceDeploy_MiddleTier</Contents>
</StringRefAddr>
<StringRefAddr addrType="jndiSecurityPrincipal">
<Contents>fmwadmin</Contents>
</StringRefAddr>
<StringRefAddr addrType="jndiSecurityCredentials">
<Contents>welcome</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceSchemaName">
<Contents>HRAppService.xsd</Contents>
</StringRefAddr>
</RefAddresses>
</Reference>
</ns2:References>
thanks edwin

Similar Messages

  • How can i expose a stateless session bean with in .ear as web service?

    This is my situation.
    I have an .ear file and in that i have several other .jar files which are
    inter-dependant, lets say
    A.jar
    B.jar
    C.jar files
    and i want to expose only A.jar as
    webservice, how can i do that ?
    Does WLS8.1 provided any way how to do that?
    I Appreciate any suggestions and advices.
    Thanks
    kk

    I used a different method...
    I used servicegen with only a.jar to create the ear.
    I touch-ed my own application.xml to make it newer than the one already in the
    newly created ear.
    I used the ant <ear> task to add b.jar, c.jar, and application.xml to the ear.
    Worked like a charm.
    Mike
    Bruce Stephens <[email protected]> wrote:
    Hello,
    See if Neal's answer here helps solve your problem using servicegen's
    service element "IncludeEJBs" attribute:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=2932&utag=
    HTHs,
    Bruce
    kk wrote:
    This is my situation.
    I have an .ear file and in that i have several other .jar files whichare
    inter-dependant, lets say
    A.jar
    B.jar
    C.jar files
    and i want to expose only A.jar as
    webservice, how can i do that ?
    Does WLS8.1 provided any way how to do that?
    I Appreciate any suggestions and advices.
    Thanks
    kk

  • How can i find imei with apple id if i have no more iphone?

    How can i find imei with apple id if i have no more iphone?

    how to find IMEI, etc
    http://support.apple.com/kb/HT4061?viewlocale=en_US&locale=en_US
    Be sure to read the bottom part of the article about using iTunes to find
    the IMEI.
    Or contact your wireless provider - they should have the IMEI.

  • Can I find out, with user has deleted all cost estimates with CKR1?

    Hi Community,
    ich have a major problem: all our standard material don't have a cost estimate any more, because a unknown user has deleted all current cost estimates. Can I find out, with user has used the CKR1 transaction? And much more importend: how can I solve the problem? Do I need to re-calculate all the material?
    Thanks for any idea and help
    PoD

    Hi,
    you have to make the costing run, marking, releasing again but thats not the whole work.
    If there are PP-orders that have been created based on the old/deleted plan cost estimates, the variance calculation will not work as the plan cost estimate is missing (even if the new one is released in the same period).
    Thus variance calculation is not possible for those orders... You have to settle the whole balance to receiver object by removing the variance key in PP-order. Try first for one particualr order to see if there are some other problems that need to be solved during month-end-closing.
    How to find out who has executed CKR1 (SAPCKR1): Check authorizations for (hopefully) a small number of user who are allowed to use CKR1.
    Use T-Code ST03N, in the left upper window double-click "total" (maybe click a day if you can imagine which (possible) date it was). In lower left section open "user and settlement statistics" and then click "user profile". Now go to each possible user and look for T-Code CKR1.
    This can be time-consuming but its worth a try...
    For the future: restrict CKR1 to a very small number of user (and they should be well trained...). I once had a company (with poor authorization concept) but CKR1 was blocked in SM01 and a ZCKR1 was created and in this Z-transaction USER-name was checked (if SY-USNAM...) so only the use names named in this Z-program were allowed to use ZCKR1. Not the best way but sufficient for them...
    Good luck, Christian

  • Can't find "Delegate Class Name" for JDBC Helper Service

    Hi,
    I downloaded WLServer 6.1 with sp1 and WLPortal 4.0, installed them on Solaris 7 using default DB cloudscape -- everything was fine. Now, I'm trying to configure database to Oracle 8.1.7.
    In "Configure the JDBC Helper Service" section of document "Configuring WebLogic Portal for Oracle Databases" (http://e-docs.bea.com/wlp/docs40/deploygd/oraclnew.htm), step 2 requires to enter value of "com.bea.p13n.util.jdbc.internal.OracleJDriverJdbcHelperDelegate" to "Delegate Class Name". But, I can't find this "Delegate Class Name" variable. The available varialbles on the Configuration tab on my screen are: Maximum Number of Retries, Maximum Wait Time (milliseconds), Use CLOBs for Read?, Use CLOBs for Write?. And the Configuration tab is the only available tag for JDBC Helper Service. Did I download a different version from other people? I downloaded it within 3 months.
    Can anyone help?
    Thanks in advance,
    Jane

    Thanks Steve.
    I had my own jndi.properties file that's why it was working with ejb bean I created in the AM and not with the sdo web service.
    I didn't know I had to add the jndi properties to the connection.xml maybe you can update the documentation.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ns2:References xmlns:ns2="http://xmlns.oracle.com/adf/jndi">
    <Reference className="oracle.jbo.client.svc.Service"
    name="{/test/model/common/}DepartmentModuleService">
    <Factory className="oracle.jbo.client.svc.ServiceFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="serviceInterfaceName">
    <Contents>test.model.common.serviceinterface.DepartmentModuleService</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceEndpointProvider">
    <Contents>ADFBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiName">
    <Contents>test.model.common.DepartmentModuleServiceBean</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaName">
    <Contents>DepartmentModuleService.xsd</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaLocation">
    <Contents>test/model/common/serviceinterface/</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiFactoryInitial">
    <Contents>oracle.j2ee.rmi.RMIInitialContextFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiProviderURL">
    <Contents>ormi://localhost:23791/SvcInterfaceDeploy_MiddleTier</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityPrincipal">
    <Contents>fmwadmin</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityCredentials">
    <Contents>welcome</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaName">
    <Contents>HRAppService.xsd</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    </ns2:References>
    thanks edwin

  • Where can I find Marketing Templates  Oracle Cloud Solutions and Services?

    Where can I find Marketing Templates  Oracle Cloud Solutions and Services?

    For 11i, I do not believe Oracle provides a seeded template for checks. You will have to create one on your own. Pl see note 312353.1 for details on how to print checks using XMLP
    HTH
    Srini

  • How do I syncronize a PDA with PC? (activesync/web service?)

    Hi!
    Short intro:
    I&#8217;m currently working in a project with the goal to create a program where a user is collecting data in the field with a PDA. When the user has returned to his office, the stored data in the PDA is to be added to a central database when the PDA is docked.
    Longer explanation:
    The PDA is going to be used for inputing field data into our program. When the user then returns to his office, he want&#8217;s to dock his PDA, and with minimal effort, add the collected data to a big central database. The database and pc client software is allready existing and has been used for a while. The user is expected to have none to very little previous experience with computers. The data collected is security critical and hence no Bluetooth, IR, WiFi can be used to transfer the data to the database. The users requires that we use docking
    The PDA has to be developed with J2ME (that&#8217;s why I&#8217;m here =)). No platform for the program has been decided yet, but it would be preferred that the program could be run on both PalmOS and PocketPC. If both OSs is to be used, I guess the PDA program has to comply to CLDC/MIDP 2.0, since this is the best PalmOS can do. But, it is no problem to develop just for PocketPC if there is an easy way of syncing data using CDC + additional profiles.
    My/our background: We have developed software in Java, but have no experience with J2ME and programming for PDAs.
    Question:
    I need help with transfering the collected data from the PDA to our client software on the PC. As I understand it, the MIDP 2.0 profile (or CDC+profiles), does not implement any support for PalmOS&#8217;s/PocketPC&#8217;s hotsync/active sync. Is there a way to easily utilize these functions? Maybe with the help of additional Java APIs? I have done some research and as I understand it is complicated to transfer data this way.But more input on the subject is highly appreciated.
    Another option I have just heard of is developing a secure web service and utilize the central network used for all the offices where the software is to be used. I have no experience with web services, anyone who can think of a flexible secure solution using web services?
    I would like to thank you all in advance, especially you who provide me with some usable help :D.
    /Andreas

    Maybe I should post this question in another section?

  • Want to find out how much data a Web Service is sending to client (JWSDP)

    Well, the subject line didn't fit what I was intended to say, so if you don't get what I am saying in the subject line, I am sorry.
    My question is... I have a Web Service client that uses stub classes generated by wscompile in JWSDP. I am wondering, it there a way to find out how much data the Web Service is sending back to my client.
    The reason I asked is this, I used WebLogic 7.0 workshop to create a Web Service and also used JWSDP to create the same Web Service which deploys to Tomcat. The generated WSDL files from WebLogic workshop and JWSDP that expose the same functionalities have differences. The WSDL from WebLogic workshop is 1.5 times the size of the WSDL from JWSDP. When I tested both with client programs, calling the Web Service in Tomcat (which uses JWSDP to built) is much quicker than calling the Web Service in WebLogic.
    For this reason, I would liked find out if the Web Service from WebLogic is sending more data than the one created with JWSDP.
    Thanks.

    I've used the TcpTunnelGui utility to see the HTTP flowing up and down the wire, that might help you.

  • Help with Radio Group and Web Service

    Hi,
         I created a Radio Group with Dynamic Entry List (Web Service).  It seems my list keeps coming back empty.  I am on SP10. 
         When I deploy I get warnings that "Entry List is missing output fields mapping.  I think this is a warning only because I don't have my form connected to any other components.  I just want to see the radio group populated. I don't think this is the cause. 
    I see references out there to this "Dynamic List" not working until SP12?  Can anyone add some insight to what is wrong?  unsupported until later?
    Thanks!

    I created a new model and the new model works fine.  Something must be cached.

  • (268625273) Q WSI-29 Can you give any performance benchmarks for WLS web services?

    Q<WSI-29> Can you give any performance benchmarks for WLS web services?
    A<WSI-29>: It is very difficult to quantify performance aspects of web services
    since they depend on so many variables including but not limited to: backend system
    processing by stateless session beans and message driven beans, size of XML SOAP
    message sent, system hardware (CPU speed, parallel processing, RAM speed) and
    system software (JVM type and version of WebLogic server). However, let me point
    out that the EJB backend processing of requests both have the best possible scalability
    within the EJB2.0 specification (both stateless session and message driven beans
    can be pooled) and servlets have a proven scalable track record. Thus it should
    be possible to scale your web service deployment to meet demand. The overhead
    in processing XML within the servlet can be significant depending on the size
    of XML data (either as a parameter or a return type). While WLS6.1 does not have
    any features to address this performance concern, WLS7.0 will feature Serializer
    and Deserializer classes which can be dedicated to the XML to Java and Java to
    XML translation (they can also be automatically be generated from a DTD, XML Schema
    or regular JavaBean).
    It is true that web services are not the fastest way to process client requests
    but BEA is committed to making WebLogic server the fastest possible service provider.
    Adam

    see http://www.oracle.com/support/products/oas/sparc30/html/ows08811.html

  • Error communicating with the Cluster Manage Web Service

    Hi,
    i connected oracle database with the Endeca Studio but while uploading Departments dataset i m getting this error
    "Error communicating with the Cluster Manage Web Service" so plz can anyone explain me wat is this error about.
    thanks in advance

    I actually ran into this myself- as Pat notes, it's hard to say without seeing log files, but I think that perhaps the default domain profile that the Endeca Server uses for domains created using Provisioning services has not been created.  First see what domain profiles exist.  Navigate to wherever endeca-cmd lives (e.g., user_projects/domains/endeca_server_domain/EndecaServer/bin), and use the list-dd-profile command:
    -bash-3.2$ ./endeca-cmd.sh list-dd-profiles
    The profiles that exist will be returned in your terminal window:
    prov_dd_profile
    default
    If you only see 'default', then you will need to create 'prov_dd_profile'
    ./endeca-cmd.sh put-dd-profile prov_dd_profile
    Then try uploading your file again in Studio.
    Cheers,
    Andrew

  • TOMCAT CAN�T FIND BEAN CLASSE

    Hello, i am from Argentina. i need URGENT help with tomcat, because i am developing my final thesis.
    I have all my sources in
    C:\jakarta-tomcat-5.0.16\webapps\tesis
    C:\jakarta-tomcat-5.0.16\webapps\tesis\ (archivos jsp)
    C:\jakarta-tomcat-5.0.16\webapps\tesis\lib
    C:\jakarta-tomcat-5.0.16\webapps\tesis\web-inf\classes\edu\tesis\beans
    C:\jakarta-tomcat-5.0.16\webapps\tesis\web-inf\classes\edu\tesis\queries
    C:\jakarta-tomcat-5.0.16\webapps\tesis\web-inf\classes\fede\servlets
    my problem is that when i execute the login.jsp through the browser in this way
    http://localhost:8080/tesis/login.jsp
    tomcat can�t find the edu.tesis.beans package
    In compiled jsp class i can see this
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import edu.tesis.beans.*;
    so, the problem is that tomcat set package org.apache.jsp; to my jsp, so it can�t find edu.tesis.beans package.
    This is my context path that is in $CATALINA_HOME/conf/server.xml file
    <Context path="/tesis" docBase="C:\tomcat\webapps\tesis"
    debug="9"
    reloadable="true"
    crossContext="true"/>
    This is an extraction of my jsp file
    <html>
    <head>
    <%@page import="edu.tesis.beans.*"%>
    </head>
    <body>
    <jsp:useBean id="universidad" class="edu.tesis.beans.Universidad" scope="request" />
    <form action="servlets/fede.servlets.ServletMaxwell" method="post"><BR><BR><BR><BR>
    PLEASE, I NEED AN URGENT HELP!!!!
    THANKS,
    FEDERICO

    Tampoco te preocupes porque Tomcat cambie el paquete de las p�ginas jsp. Eso es un comportamiento normal. Adem�s nota que el paquete de tu tesis es importado en la clase generada a partir del jsp, o sea que deberia encontrarla si est� en el lugar correcto.
    Otra cosa que veo extra�a en tu estructura de directorios es que existe un directorio "lib" por fuera de WEB-INF. Si este contiene beans en forma de paquetes jar, deberia estar dentro de WEB-INF

  • Looking for a 2014 InDesign calendar (full year) WITH holidays. Can't find one with holidays.

    Looking for a "year at a glance" InDesign calendar WITH holidays. I can't seem to find any with the holidays. Thanks

    Screw it?
    I sent you a link as to how to use Calendar Wizard (free) to make a calendar with interfaith holidays.
    If you just want ordinary holidays, Calendar Wizard (http://calendarwizard.sourceforge.net/) does everything you want?
    What more do you want?

  • Opacity Masks in cs4 can't find layers with main objects on it.

    I created image with flag and did clipping mask with some text. Now when I do a opacity mask my other layers disappear and i can't seem to bring them back. I use the transparency to mask and clip. After that my layers with the first original items I can't find them or get back to them. Can someone tell how I can resolve this problem.
    Thank you!

    Once you start editing your opacity mask, you have to go back into normal editing mode by clicking on the object on the left side in the transparency panel.  Click on the right to edit the mask, click on the left to get back out of that to editing the rest of your document.  It's a bit confusing the way it's set up - there's no obvious indication that you're editing your mask and are isolated from the rest of your document...

  • I can open audio files but can't find them with Finder or Spotlight.

    Hello!
    I wanted to delete a few songs and found that by searching in Finder or Spotlight they couldn't be found. 
    I can open the files in Finder by opening iTunes, ctrl clicking the song and selecting 'view in Finder'. If I then 'get info' on the file it gives a folder, 'iTunes music' that I can't find. Is it possible the folder is there but hidden or that 'get info' is giving the wrong address?
    I've recently moved my data (only) onto a new computer using Migration Assistant. On my old computer I'd find the songs by searching in Finder with no problems.
    Here's an example incase I've not been clear:
    I ctrl click on 'the boy who killed time' and select 'open in finder'.
    It opens in finder and i again ctrl click on it and select 'get info'.
    Get info gives me the following address for the file: Macintosh HD ▸ epoche ▸ Music ▸ iTunes ▸ iTunes Music ▸ vincent vincent and the villains ▸ are you ready for the country.
    If I look for the song by clicking through the folders in finder (opening 'epoche' then 'Music' then 'iTunes') I can't find the folder 'iTune Music' in the 'iTunes' folder.
    Any ideas?  Rachel

    My answer in the older thread is still valid
    Maybe the "iTunes Music" folder is hidden.
    Please open Terminal and issue the following command
    ls -ladO /epoche/Music/iTunes/iTunes\ Music
    you should get a line similar to this
    drwxrwxrwx  13 yourusername  staff  hidden 442 12 Mar 21:49 /epoche/Music/iTunes/iTunes Music
    Numbers, date and time may differ.
    If you see hidden then the folder is hidden. To unhide "iTunes Music", in Terminal issue the following command
    chflags nohidden /epoche/Music/iTunes/iTunes\ Music

Maybe you are looking for