Calling JAVA components through BPEL?
How can BPEL call JAVA components? If there any different adapter ??
Pls respond...thanks in advance.
Hi,
there are two ways:
generate a webservice from your java component
http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b28974/devjavaclass.htm#BHCEGEJA
or
embed your java into the bpel
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/java.htm#sthref1282
Similar Messages
-
How to call java function through Web Service
Hello Experts,
I want to call a method through Java Web Service in my abap code. Is it possible ? If so, plz guide me.
Requirement: In SD module user enters the PAN, on after entering PAN in want to validate it on NSDL. For that a Web Service has already been deployed on a Web Server. and that the deployed Web Service I want to call in abap code.Hi,
check this link
Re: Call to WS from one backend to other backend
regards
afzal -
How to call java fanction through Web Service
Hello Experts,
I want to call a method through Java Web Service in my abap code. Is it possible ? If so, plz guide me.
Requirement: In SD module user enters the PAN, on after entering PAN in want to validate it on NSDL. For that a Web Service has already been deployed on a Web Server. and that the deployed Web Service I want to call in abap code.Hi,
check this link
Re: Call to WS from one backend to other backend
regards
afzal -
Unable to upgrade java components through JSPM tool for ECC 6.0 system
Hello All,
We are upgrading JAVA components to SP-STACK 12 for our system GD0(ECC
6.0 TWS ),and we were struck in the middle(only few components have been deployed and for others it is throwing error).
The error it throws from /SDM/program/log/ is
"Cannot login to the SAP J2EE Engine using user and password as providedin the Filesystem Secure Store. Enter valid login information in the
Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more
information, see SAP note 701654."
And for this I followed note#701654 and updated the password of admin in Filesystem Secure Store and restarted the J2ee server ,even after doing
all this steps also still we are facing the same problem.
Currently when I try to login into J2ee engine through URL
:(<host>:<port>) it displays "Application you have requested is stoped",and when I check throw jcmon all three were under running
status(dispatcher,server0,sdm)
Kindly advise me on this..as I am struck in halfway..
Best Regards
RakiHello Nirmal,
Thanks for Update,
I tried again by changing the password through configtool "secure store" and then I restarted j2ee_engine also .Even though i am getting the same error while applying through SDM tool & JSPM tool also.
This is error log it shows in SDM tool screen at the time of deployment.
===========================================================================
Deployment started Thu Sep 13 13:15:22 BST 2007
===========================================================================
Starting Deployment of DocumentServicesLicenseManager
Aborted: development component 'DocumentServicesLicenseManager'/'com.adobe'/'Adobe Systems'/'710.20060929113452.336248'/'2', grouped by software component 'ADSSAP'/'sap.com'/'SAP AG'/'1000.7.00.12.0.20070507083121''/'2':Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine. (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
Deployment of DocumentServicesLicenseManager finished with Error (Duration 4108 ms)
Starting Deployment of ADSSAP
Aborted: software component 'ADSSAP'/'sap.com'/'SAP AG'/'1000.7.00.12.0.20070507083121''/'2':Failed deployment of SDAs:development component 'DocumentServicesLicenseManager'/'com.adobe'/'Adobe Systems'/'710.20060929113452.336248'/'2' : abortedPlease, look at error logs above for more information!
Deployment of ADSSAP finished with Error (Duration 1549 ms)
Can you kindly update me ASAP, to fix this problem..
Thanks one and all for helping me.
Best Regards
Raki -
Calling Java App through Oracle 9i Database
Hi there,
I have a Java application that is being invoked through an AFTER INSERT trigger on a table. The trigger calls an Oracle plsql wrapper stored procedure which fires the Java application and passes a parameter value.
Problem: Java application should be invoked only once the commit after the INSERT statement is issued. I am unable to do this by this by using an INSERT trigger as the commit; takes place after the Java app is called?
I know and understand that ON COMMIT TRIGGER IS NOT POSSIBLE IN ORACLE.
Is there any other possible way to solve this problem?
Cheers.
Rohan
Edited by: rbha4 on Oct 11, 2009 8:56 PMUnless the behaviour of DBMS_SCHEDULER has changed recently, it does a commit as part of the create_job call (or whatever subprogram you use) so is not suitable as a replacement for DBMS_JOB when submitting a job as part of a transaction.
So, what you say is a good approach but using DBMS_JOB.
SQL> create table t1
2 (col1 number);
Table created.
Elapsed: 00:00:00.02
SQL> insert into t1 values (1);
1 row created.
Elapsed: 00:00:00.00
SQL> select * from v$transaction;
ADDR XIDUSN XIDSLOT XIDSQN UBAFIL UBABLK UBASQN UBAREC STATUS
START_TIME START_SCNB START_SCNW START_UEXT START_UBAFIL START_UBABLK START_UBASQN START_UBAREC
SES_ADDR FLAG SPA REC NOU PTX
NAME
PRV_XIDUSN PRV_XIDSLT PRV_XIDSQN PTX_XIDUSN PTX_XIDSLT PTX_XIDSQN DSCN-B DSCN-W USED_UBLK USE
PHY_IO CR_GET CR_CHANGE START_DAT DSCN_BASE DSCN_WRAP START_SCN DEPENDENT_SCN XID
PRV_XID PTX_XID
000000035DB85B80 10 0 2781184 3 1450 4705 18 ACTIVE
10/12/09 09:30:21 2567038319 9 2 3 1450 4705 18
0000000344DFA6D0 3587 NO NO NO NO
0 0 0 0 0 0 0 0 1 1
0 39 0 12-OCT-09 0 0 4.1222E+10 0 0A00000000702A00
0000000000000000 0000000000000000
1 row selected.
Elapsed: 00:00:00.02
SQL> begin
2 dbms_scheduler.create_job
3 (job_name=> 'Adhoc1',job_type=>'PLSQL_BLOCK',
4 job_action=>'begin null; end;');
5 end;
6 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
SQL> select * from v$transaction;
no rows selected
Elapsed: 00:00:00.01
SQL> Edited by: dombrooks on Oct 12, 2009 9:35 AM -
How to call java program through ODI
Hi,
I have written java program which i want to run though ODI.My questions are as follows:
1. At which place i need to put my code and jar files i.e. do i need to put my code on the machine where ODI is installed?
2. which technology to use i.e. jython or java bean shell.
3. Commands format for jython or java bean shell.
Is there any book or forum to which i could refer to get a deeper knowledge about these as i am new to ODI.
Thanks
Abhi881195 wrote:
Hi,
I have written java program which i want to run though ODI.My questions are as follows:
1. At which place i need to put my code and jar files i.e. do i need to put my code on the machine where ODI is installed?You need to place the JAR file at ODI's driver folder.
2. which technology to use i.e. jython or java bean shell.You can use Jython or Java bean shell . I prefer Jython .
3. Commands format for jython or java bean shell.In your procedure , set the technology to Jython .
Write normal java commands ... like
import <your_class_name>
<you operation etc>
>
Is there any book or forum to which i could refer to get a deeper knowledge about these as i am new to ODI.
Thanks
Sutirtha -
My task - my company has several legacy PowerBuilder applications that access a variety of Sybase and MS SQL databases. Rather than re-inventing the wheel by re-writing these applications in Java, we would like to enable these applications to call java components (EJBs) that will provide new functionality. I would need a piece of software called CSXtend (from www.cynergysystems.com) to allow PowerBuilder to call a web service. However, I am not sure how to expose my business functions (EJBs) as web services on the iPlanet 6.0 App server. Thanks for all previous responses! Any additional info would be greatly appreciated! Mike
I have used Glue (http://www.themindelectric.com/products/glue/glue.html) to expose some of our stuff as Web Services. I recently found this on serverside. It's pretty good.
http://www.theserverside.com/resources/article.jsp?l=Systinet-web-services-part-1
I believe that the middleware they use can be plugged into IPlanet. There is also an article in the knowledge base on the IPlanet site.
Jon -
Calling java program in bipublisher
Hi,
Like we have datamodel types in BIPublisher as SQL Query, Webservice, Answers, File etc,, Can we call java program through bipublisher.
The requirement is:
A java program will generate BARCODE image based on the customer number given.
We need to create a template in bipublisher which shows the customer name and that barcode image and other details.
We have calling javaprograms in ibots in analytics, is there any such thing in bipublisher.
Thanks.You can call PL/SQL programs from OWB either by defining transformations or as expressions. From PL/SQL you can call a java stored procedures in the database as follows:
1. Define the java stored procedure. For example, let's suppose that you store the following Java class in the database:
import java.sql.*;
import oracle.jdbc.driver.*;
public class Adjuster {
public static void raiseSalary (int empNo, float percent)
throws SQLException {
Connection conn = new OracleDriver().defaultConnection();
String sql = "UPDATE emp SET sal = sal * ? WHERE empno = ?";
try {
PreparedStatement pstmt = conn.prepareStatement(sql);
pstmt.setFloat(1, (1 + percent / 100));
pstmt.setInt(2, empNo);
pstmt.executeUpdate();
pstmt.close();
} catch (SQLException e) {System.err.println(e.getMessage());}
2. The class Adjuster has one method, which raises the salary of an employee by a given percentage. Because raiseSalary is a void method, you publish it as a procedure using this call spec:
CREATE PROCEDURE raise_salary (empno NUMBER, pct NUMBER)
AS LANGUAGE JAVA
NAME 'Adjuster.raiseSalary(int, float)';
3. Call procedure raise_salary from an anonymous PL/SQL block, as follows:Long postings are being truncated to ~1 kB at this time. -
How To Call HTML Page Through Java Swing Page ???....
Hi All ;
Please Can You Tell Me How To Call HTML Page Through Java Swing Page ....
Regards ;Hi,
you can use HTML fragments on a panel.
http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
However, to integrate a browser you need 3rd party software like IceBrowser
If you Google for: HTML Swing
then you find many more hints
Frank -
Hi,
Is WSIF still the best/recommend way to call java code from your BPEL? Or are we moving away from that kind of env. and should put a wrapper around the legacy java code and expose them as services?
Regards,
Muasirhi,
Java can't call BPEL directly. So you have following steps:
1. Create Web Service from existing java file(Some tools can generate Web Service from java class).
2. Generate the Service Proxy by using Web Service.
3. Invoke the Web Service through proxy.
4. If your application use the struts, you can invoke the process from struts action class, which is called from a web page.
Maybe it is useful for you! -
Netbeans calls MS Web Service through BPEL
I get the followng error when trying to invoke a microsoft web service through bpel:
Pattern for exchange Id 206195522970609-30893-134221047015560007 is http://www.w3.org/2004/08/wsdl/in-out
This is from the exception block.
com.sun.bpel.model.meta.impl.RInvokeImpl@538425={<?xml version="1.0" encoding="utf-8" ?>
<invoke name="Invoke2"
partnerLink="PartnerLink9"
portType="ns1:Service1Soap"
operation="HelloWorld"
inputVariable="HelloWorldIn4"
outputVariable="HelloWorldOut4"></invoke>}
[Fatal Error] :1:1: Content is not allowed in prolog.
Fault Processing Error. Fault Name is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault and Fault Value is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault is not handled in the current scope. Sending faults for the pending requests in the current scope before propagating the fault to the enclosing scope.
Setting MessageEx id 206195522970609-30893-134221047013250005 with error: Processing Error. Fault Name is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault and Fault Value is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault
System exception occured while executing a business process instance.
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.core.bpel.debug.BPELProcessRefImpl.removeProcessInstance(BPELProcessRefImpl.java:109)
at com.sun.jbi.engine.bpel.core.bpel.debug.VirtualBPELEngineImpl.removeProcessInstance(VirtualBPELEngineImpl.java:134)
at com.sun.jbi.engine.bpel.core.bpel.debug.DefaultDebugger.processInstanceDied(DefaultDebugger.java:502)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.instanceComplete(BPELProcessManagerImpl.java:852)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doResumeAction(BPELProcessInstanceImpl.java:704)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.handleFault(BPELProcessInstanceImpl.java:432)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.InvokeUnitImpl.handleFault(InvokeUnitImpl.java:662)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:92)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:376)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:204)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
Failed to process status of InOut - M Ex 206195522970609-30893-134221047015560007
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.core.bpel.debug.BPELProcessRefImpl.removeProcessInstance(BPELProcessRefImpl.java:109)
at com.sun.jbi.engine.bpel.core.bpel.debug.VirtualBPELEngineImpl.removeProcessInstance(VirtualBPELEngineImpl.java:134)
at com.sun.jbi.engine.bpel.core.bpel.debug.DefaultDebugger.processInstanceDied(DefaultDebugger.java:502)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.instanceComplete(BPELProcessManagerImpl.java:852)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.terminate(BPELProcessManagerImpl.java:655)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:231)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:376)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:204)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
Invoking a java web service is fine. Is there something I'm missing?I get the followng error when trying to invoke a microsoft web service through bpel:
Pattern for exchange Id 206195522970609-30893-134221047015560007 is http://www.w3.org/2004/08/wsdl/in-out
This is from the exception block.
com.sun.bpel.model.meta.impl.RInvokeImpl@538425={<?xml version="1.0" encoding="utf-8" ?>
<invoke name="Invoke2"
partnerLink="PartnerLink9"
portType="ns1:Service1Soap"
operation="HelloWorld"
inputVariable="HelloWorldIn4"
outputVariable="HelloWorldOut4"></invoke>}
[Fatal Error] :1:1: Content is not allowed in prolog.
Fault Processing Error. Fault Name is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault and Fault Value is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault is not handled in the current scope. Sending faults for the pending requests in the current scope before propagating the fault to the enclosing scope.
Setting MessageEx id 206195522970609-30893-134221047013250005 with error: Processing Error. Fault Name is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault and Fault Value is {http://sun.com/wsbpel/2.0/process/executable/fault}systemFault
System exception occured while executing a business process instance.
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.core.bpel.debug.BPELProcessRefImpl.removeProcessInstance(BPELProcessRefImpl.java:109)
at com.sun.jbi.engine.bpel.core.bpel.debug.VirtualBPELEngineImpl.removeProcessInstance(VirtualBPELEngineImpl.java:134)
at com.sun.jbi.engine.bpel.core.bpel.debug.DefaultDebugger.processInstanceDied(DefaultDebugger.java:502)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.instanceComplete(BPELProcessManagerImpl.java:852)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doResumeAction(BPELProcessInstanceImpl.java:704)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.handleFault(BPELProcessInstanceImpl.java:432)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.InvokeUnitImpl.handleFault(InvokeUnitImpl.java:662)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:92)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:376)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:204)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
Failed to process status of InOut - M Ex 206195522970609-30893-134221047015560007
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.core.bpel.debug.BPELProcessRefImpl.removeProcessInstance(BPELProcessRefImpl.java:109)
at com.sun.jbi.engine.bpel.core.bpel.debug.VirtualBPELEngineImpl.removeProcessInstance(VirtualBPELEngineImpl.java:134)
at com.sun.jbi.engine.bpel.core.bpel.debug.DefaultDebugger.processInstanceDied(DefaultDebugger.java:502)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.instanceComplete(BPELProcessManagerImpl.java:852)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.terminate(BPELProcessManagerImpl.java:655)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:231)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:376)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:204)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
Invoking a java web service is fine. Is there something I'm missing? -
Call java code on submit anyaction on the BPEL form
Dear All
As you know in the BPEL form there is many action like Submit , Approve , Not Approve etc.. i want to call java code when i call any actions.
Regards
Wish79Hi friend,
Maybe this is a sin, to ask a question about java on a .net forum but still going to try ;)
As you said, this is a question about Java. I am afraid this is out of our support. You'd better ask in thier special forum. Like selenium. Thanks for your understanding.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
What is the best way to call SSH commands through Java technologies
What is the best way to call SSH commands through Java technologies
I don't think you can specify the password at the prompt using ssh. Plink has the -pw command option for passwords. What I did was except ssh to ask me and write the password programmatically through the outputStream I obtained from my Process object. I looked for "password: ", and then wrote the password with a trailing newline.
Both plink and ssh will also ask if you trust the host if it is the first time you are connecting to it. So before just writing the password, check if the program wants verification from you: normally supplying "y" or "n". This should only have to happen the first time the client connects. It looks like thisPLINK:
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's key fingerprint is:
1024 f8:43:61:4c:a2:5b:77:be:5b:a7:bb:1f:f7:79:b3:b7
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)
SSH:
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is e1:02:13:c8:52:c2:23:41:9b:5b:58:2c:18:e6:59:af.
Are you sure you want to continue connecting (yes/no)?What I did was read character by character from the inputStream until I found things of interest ... like "password: ". You only need to search for this in your method which will launch the ssh or plink Process. Once you have verifyed yourself, you can just pass commands to the Process, which is an ssh connection.
My suggestion is to read() each byte from the Process's inputStream and write it to stdout. Look and see what you need to be looking for so you can interactive with the program correctly. You can't use readLine here becuase when the ssh asks for the password it does not print a newline. I do know for sure, that ssh will simply print, "passowrd: ". Plink will print this as well if the -pw option is not supplied. -
Error while consuming PLSQL Webservice through BPEL
HI ,
I have created a simple PLSQL Web service called "HelloWorld" and it got successfully deployed .
When I tried to test this webservice through BPEL Process Manager , its showing me error everytime that ( Could not create object of class 'dimple.HelloWorldWebServiceUser'; nested exception is: java.lang.ClassNotFoundException: dimple.HelloWorldWebServiceUser</summary> ) .
Please anyone help me out with this problem .
Thanks
Prashant DwivediHI ,
I have created a simple PLSQL Web service called "HelloWorld" and it got successfully deployed .
When I tried to test this webservice through BPEL Process Manager , its showing me error everytime that ( Could not create object of class 'dimple.HelloWorldWebServiceUser'; nested exception is: java.lang.ClassNotFoundException: dimple.HelloWorldWebServiceUser</summary> ) .
Please anyone help me out with this problem .
Thanks
Prashant Dwivedi -
API for creating new User in Oracle E-Business Suite through BPEL
Hello,
I would like to use a BPEL process to create a new User in Oracle E-Business Suite. In the Integration Repository I was able to find an API called FND_USER_PKG/LOAD_ROW that creates/updates Application's User data. Is this the API I should be using? If so, I would like to better understand how to use this API.
I have created a simple BPEL process and added an Oracle Application Service, which uses this FND_USER_PKG/LOAD_ROW API. I set the following parameter before Invoking the Oracle Application Service: X_USER_NAME, X_ENCRYPTED_USER_PASSWORD and X_START_DATE. When I run the BPEL process I get the following error. I suspect that I am not passing all the required input parameters. Does anyone have any sample data I can use to get this API to load correctly? If I am using the wrong API, please let me know.
Please note, I have also posted this question to the SOA Suite and BPEL discussion forums...
Thank you kindly!
Christine
- <input>
- <Invoke_OracleEBS_SecurityUser_InputVariable>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
- <InputParameters xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/">
<db:X_USER_NAME>
CRILEY
</db:X_USER_NAME>
<db:X_ENCRYPTED_USER_PASSWORD>
CRILEY
</db:X_ENCRYPTED_USER_PASSWORD>
<db:X_START_DATE>
2009-01-01
</db:X_START_DATE>
</InputParameters>
</part>
</Invoke_OracleEBS_SecurityUser_InputVariable>
</input>
- <fault>
- <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="code">
<code>
20001
</code>
</part>
- <part name="summary">
<summary>
file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_SecurityUser.wsdl OracleEBS_SecurityUser_ptt::OracleEBS_SecurityUser(InputParameters) - WSIF JCA Execute of operation 'OracleEBS_SecurityUser' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-20001: APP-FND-02600: Unable to create user CRILEY due to the following reason(s):
Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
An unexpected error occurred. Please contact your System Administrator...
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.FND_USER_PKG", line 783
ORA-06512: at "APPS.FND_USER_PKG", line 916
ORA-06512: at "APPS.FND_USER_PKG", line 1035
ORA-06512: at "APPS.FND_USER_PKG", line 645
ORA-06512: at line 1Hello and thank you for your response. I am new to using APIs so please excuse my inexperience... I am not sure how to run the API outside of BPEL... Is that something you could easily walk me through?
I have made the following changes in BPEL based on your recommendation: 1) Added Oracle Application Service and used the API, LDAP_WRAPPER_CREATE_USER, found in the Oracle Application Module Browser* under: Applications Technology (ATG_PF)> User Management (UMX)> User (FND_USER)> PLSQL> User (FND_USER_PKG)> LDAP_WRAPPER_CREATE_USER
2) Set the following parameter prior to Invoking the Oracle App Service: X_USER_NAME, X_UNENCRYPTED_PASSWORD,X_START_DATE, X_END_DATE, X_DESCRIPTION, X_EMAIL_ADDRESS, X_FAX, X_EXPIRE_PWD.
3) Deploy and run BPEL through BPEL Control.
I get the following {color:#ff0000}error on the Invoke{color}. {color:#339966}Do you see any issues with the values I am passing in the input{color}? Any idea why I am getting this error? Is there anything that I need to have configured for the API to work correctly, other than adding an Oracle Application Service in the BPEL?
Thank you for your time,
Christine
bq. Faulted while invoking operation "OracleEBS_LDAP_Create_User" on provider "OracleEBS_LDAP_Create_User". \\ - <messages> \\ - <input> \\ - <Invoke_OracleEBS_LDAP_Create_User_InputVariable> \\ - <part xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance]" name="InputParameters"> \\ - <{color:#339966}InputParameters{color} xmlns:db="[http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LDAP_WRAPPER_CREATE_USER/]" xmlns="[http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LDAP_WRAPPER_CREATE_USER/]"> \\ <db:X_USER_NAME> \\ CRILEY \\ </db:X_USER_NAME> \\ <db:X_UNENCRYPTED_PASSWORD> \\ CRILEY \\ </db:X_UNENCRYPTED_PASSWORD> \\ <db:X_START_DATE> \\ 2009-01-01 \\ </db:X_START_DATE> \\ <db:X_END_DATE> \\ 2010-01-01 \\ </db:X_END_DATE> \\ <db:X_DESCRIPTION> \\ CRILEY \\ </db:X_DESCRIPTION> \\ <db:X_EMAIL_ADDRESS> \\[[email protected]|mailto:[email protected]] \\ </db:X_EMAIL_ADDRESS> \\ <db:X_FAX> \\ 999-888-7777 \\ </db:X_FAX> \\ <db:X_EXPIRE_PWD> \\ 0 \\ </db:X_EXPIRE_PWD> \\ </InputParameters> \\ </part> \\ </Invoke_OracleEBS_LDAP_Create_User_InputVariable> \\ </input> \\ - <fault> \\ - <bindingFault xmlns="[http://schemas.oracle.com/bpel/extension]"> \\ - <part name="code"> \\ <code> \\ 20001 \\ </code> \\ </part> \\ - <part name="summary"> \\ <summary> \\ file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_LDAP_Create_User.wsdl [OracleEBS_LDAP_Create_User_ptt::OracleEBS_LDAP_Create_User(InputParameters) |http://forums.oracle.com/forums/]- WSIF JCA Execute of operation 'OracleEBS_LDAP_Create_User' failed due to: Error while trying to prepare and execute an API. \\ An error occurred while preparing and executing the APPS.FND_USER_PKG.LDAP_WRAPPER_CREATE_USER API. Cause: java.sql.SQLException: ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason: \\ ORA-20001: {color:#ff0000}Unabled to call fnd_ldap_wrapper.create_user due to the following reason: \\ An unexpected error occurred. Please contact your System Administrator.. \\ {color}ORA-06512: at "APPS.APP_EXCEPTION", line 72 \\ ORA-06512: at "APPS.FND_USER_PKG", line 3877 \\ ORA-06512: at line 1 \\\\ ;
Edited by: Christine Riley on Jan 28, 2009 1:22 PM
Edited by: Christine Riley on Jan 28, 2009 1:26 PM
Maybe you are looking for
-
How to extract data from RR cluster n B2 cluster for data warehousing.
Hi, Our company wants to make backup of RR cluster and B2 cluster data of all employees. its basically moving all the employee master data to data warehousing. Your suggestions are appreciated. Cheers, Senthil
-
Can't install the Flash Player for Internet Explorer
Hi. Today, I started noticing my videos were stuttering a lot (something that doesn't usually happen on my computer) and I thought my Flash Player was glitching out, so I uninstalled it and deleted the registry keys for it via Iobit Uninstaller. I re
-
Why is the 1.3 plugin install giving me 1.3.1_01?
Just changed today. My object tag is: <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" id="test" width="400" height="400" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"> <
-
URL to run a report file that is not located in $ORACLE_HOME/reports dir
All, I know very little about configuring reports on the web. We have had a 10g App Server running for several years. All of our reports files so far have been located in the Middle Tier's $ORACLE_HOME/reports directory. We now have a need to create
-
Why doesn't my iPhoto library sync properly to my iPhone/iPad?
Why doesn't my iPhoto library sync properly to my iPhone and iPad? I have already tried deleting the iPod photo cache. I sync the entire iPhoto library, which includes about 8,000 photos. The Events and Albums never match up, with many missing photos