Exposing webservice from oracle ebiz application
hi,
i want to expose a wsdl from the ebiz application( means i need to create a wsdl in ebiz) and need to expose it.
can any one please give me some guidance on this.
Hi,
Have a look at the following links.
Service-Enable 11i -- Get A Jump On Fusion
http://blogs.oracle.com/stevenChan/2006/07/serviceenable_11i_get_a_jump_o.html
Enabling Adaptive Business Processes: Oracle E-Business Suite and Service-Oriented Architecture
http://www.oracle.com/products/middleware/docs/oracle_ebs_and_soa.pdf
Process, Integration and Events
http://www.oracle.com/technology/products/applications/integration/index_integration.html
Note: 565922.1 - Oracle E-Business Suite Integrated SOA Gateway Release Notes, Release 12.1.1
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=565922.1
Regards,
Hussein
Similar Messages
-
Invoking Webservice from oracle DB
Hi Friends,
I am facing a problem in invoking xi webservice from Oracle DB.
My Oracle Version is 8.0 and a Power bulider (5.0)on the top of DB both of this are not supporting webservice.
My requirement is to trigger an application from PB or oracle which can fetch the required data from oracle DB and push it into XI. Want to do a push not pull as in the case of JDBC.
I don't want to use a JDBC adapter since the volume of message flow will be very less.(since this will keep on polling the DB).Even though i can start/stop communcication channel externally, the business user want to do that from the PB view.Any one aware this can be done in PB -5.0 ?
is there any other option to trigger webservice for this lower version ?
Thanks for the reply.
Sunil.Hi ,
http://download.sybase.com/presentation/2003_presentations/PWB509.ppt
http://pbdj.sys-con.com/read/42590.htm
Regards,
Vinod. -
ProcessRemoteException when invoke webservice from Oracle E-Business Suite
Hi,when i invoke webservice from Oracle E-Business Suite R12.1 – Integrated SOA Gateway’s
I get following exception.
fuego.soaptype.SoapExecutionException
at fuego.soaptype.SoapCall.processRemoteException(SoapCall.java\:750)
at fuego.soaptype.SoapCall.invoke(SoapCall.java:238)
at fuego.soaptype.SoapObject.invoke(SoapObject.java:309)
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
at xobject.Fuego__AutoGen__Screenflows__.__SubmitReport.initializeReport(__SubmitReport.xcdl:30)
at.......
this webserivce has been deployed and granted. and I can test it with soapUI.
my code:
configuration as Configuration = Configuration("FND_PROGRAM_Service");
endpoint as HttpEndpoint=HttpEndpoint("http://ep066020.bscdev.net:8002/webservices/SOAProvider/plsql/fnd_program/");
endpoint.setUsername("sysadmin");
endpoint.setPassword("sysadmin");
configuration.endpoint = endpoint;
usernameTokenPlain as UsernameTokenProfileSecurityPolicy=UsernameTokenProfileSecurityPolicy("sysadmin","sysadmin");
usernameTokenPlain.usernameTokenPasswordType = UsernameTokenPasswordType.PASSWORD_TEXT;
policies as SecurityPolicy[];
policies[]=usernameTokenPlain;
configuration.securityPolicies = policies;
service as FND_PROGRAM_Service= FND_PROGRAM_Service(configuration)
sh as SoaHeader = SoaHeader();
sh.namespace="";
sh.responsibilityApplName="SYSADMIN"
sh.responsibilityName="System Administrator"
sh.securityGroupName="STANDARD"
sh.nlsLanguage="AMERICAN"
pam as InputParameters9 = InputParameters9()
result as OutputParameters
pam.application="SQLGL";
pam.executableshortname="ENABLED"
do
logMessage "333333333333333";
executableexists service
using header = sh,
body = pam
returning result = bodyOutput (throw exception)
logMessage "2222222222222";
reportSF.description=String.valueOf(result.fndprogram24executableexists)
reportSF.comments="11111111111";
on ex as Any
logMessage "aaaaaaaaaaaa"+ex
endI've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
Fuego.WebServices.UsernameTokenProfileSecurityPolicy
I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
policy.username ="mark";
policy.password = "password";
tws = YourWebService();
response = tws.callWebServiceMethod();
I realize the security profile isn't tied anywhere to the web service, but try it anyway.
There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
Edited by: Mark Peterson on Mar 19, 2010 9:20 AM -
XML Error while calling webservice from oracle function.
I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "H4" does not match start-element tag "P"
Error at line 9
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call
-
Problem calling WebService from Oracle Forms created by JDeveloper
Hi All,
I am trying to call a Webservice from Oracle Form using JAVA Class created by Oracle JDeveloper.
The Java Function (in JDeveloper) is as follows:
public Vector GetPIValue(String TagName, String ReadingTime) throws Exception
URL endpointURL = new URL(endpoint);
Envelope requestEnv = new Envelope();
Body requestBody = new Body();
Vector requestBodyEntries = new Vector();
requestBodyEntries.addElement(TagName);
requestBodyEntries.addElement(ReadingTime);
requestBody.setBodyEntries(requestBodyEntries);
requestEnv.setBody(requestBody);
Message msg = new Message();
msg.send(endpointURL, "http://tempuri.org/GetPIValue", requestEnv);
Envelope responseEnv = msg.receiveEnvelope();
Body responseBody = responseEnv.getBody();
return responseBody.getBodyEntries();
When this Class is Imported into Oracle Forms the Function is converted into the following PL/SQL code:
FUNCTION GetPIValue(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2,
a1 VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
BEGIN
Message('param passed: '||a0||' - '||a1);
cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPIStub');
mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;');
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_STRING_ARG(args, a0);
JNI.ADD_STRING_ARG(args, a1);
Message('I am Here');
RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
END;
When I am calling this Function from Within Forms and Passing into it the Parameters, I am displaying some Debugging Messages. When the Code reaches "JNI.CALL_OBJECT_METHOD" there is NO RESPONSE from the Webservice and nothing is moving forward after this Point...
A similar Webservice that can be Tested is:
http://www.webservicex.com/CurrencyConvertor.asmx
with WSDL file:
http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
Kindly note that this Webservice is running properly from the Web Browser but the call from Oracle Forms is not Succeeding!!!! :-((
Any help is much appreciated.
Regards,
BazHi,
Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
Other solution would be to use JRE 1.5 (instead of JInitiator).
Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
-Arun -
How to call XI exposed webservice from J2ee
How to call XI exposed webservice from J2EE , and how to pass UserID and Password to it.
hi sapuser,
i do not know on which j2ee stack you currently run. Description Link comes from CE:
// consuming webservices in j2ee
http://help.sap.com/saphelp_nwce10/helpdata/en/46/a95353005d371ae10000000a11466f/content.htm
// user & password
configure the client in the nwa by changing logical port settings:
http://help.sap.com/saphelp_nwce10/helpdata/en/46/a86ac5f9ee371ce10000000a11466f/content.htm
Regards, Jens -
Send and recieve sms from oracle(database+application server)
HI all
I Wanted to send and recieve SMS not mails from oracle(database/application server).any possible solutions and what are the things that i required for that.i-e any service provider or any machine or somethings else.Handle: taimur
Status Level: Newbie
Registered: Aug 3, 2009
Total Posts: 42
Total Questions: 16 (16 unresolved)
so many questions without ANY answers.
http://forums.oracle.com/forums/ann.jspa?annID=718
http://www.lmgtfy.com/?q=oracle+send+sms
Edited by: sb92075 on Nov 20, 2010 7:23 PM -
Send sms from oracle database/application server
HI all
I Wanted to send and recieve SMS not mails from oracle(database/application server).any possible solutions and what are the things that i required for that.i-e any service provider or any machine or somethings else.and secound thing can i use wirless server and what are the requirments for thatHandle: taimur
Status Level: Newbie
Registered: Aug 3, 2009
Total Posts: 42
Total Questions: 16 (16 unresolved)
so many questions without ANY answers.
http://forums.oracle.com/forums/ann.jspa?annID=718
http://www.lmgtfy.com/?q=oracle+send+sms -
Calling a webservices from Oracle 10G ( 10.2.0.2)
Hi:
I am in the process of putting a database Java stored procedure that can call an external webservices.
PL/SQL Wrapper -> Java Stored Procedure-> External Web services
I loaded the following jars in the dataase.
dbwsa.jar
dbwsclient.jar
1. I am having issues consuming this external webservice from SQL*PLUS. Do you know whether I need to load any other JARS ?
2. How can I debug this issue ? I enabled TCP Monitor in JDeveloper and don't see anything when I call the PL/SQL wrapper in SQL*PLUS.
3. I can use a Java client and tested the Web services OK.
error message:
SQL> l
1 declare
2 x varchar2(100);
3 begin
4
5 x := tester.test_db1();
6* end;
SQL> /
calling
http://XX.XX.YY.121:8988/Application9-ViewController-context-root/MyWebService1S
oapHttpPort
java.rmi.RemoteException: Error parsing envelope; nested exception is:
javax.xml.soap.SOAPException: Error parsing envelope
at
view.proxy.runtime.MyWebService1SoapHttp_Stub.sayhello2(MyWebService1SoapHttp_St
ub.java:99)
at
prpd.MyWebService1SoapHttpPortClient.sayhello2(MyWebService1SoapHttpPortClient.j
ava:41)
at prpd.TEST_DB.TEST_DB1(TEST_DB.java:21)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope
at
oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplemen
tation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:75)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:934)
at
oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:692)
at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:688)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:207)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at
view.proxy.runtime.MyWebService1SoapHttp_Stub.sayhello2(MyWebService1SoapHttp_St
ub.java:76)
... 2 more
Caused by: java.lang.IllegalArgumentException
at oracle.xml.parser.v2.XMLParser.setAttribute(XMLParser.java:794)
at
oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplemen
tation11.java:54)
... 9 more
PL/SQL procedure successfully completed.
SQL> /
thx
Rajthanks Tugduall for the comments. here are the instructions I followed to create a java stored procedure that can call a webservices. Unfortunately, this seems like a very complex task. Do you have any ideas how I could debug or troubleshoot this issue ?
Please note that I used JDeveloper to generate the client code.
========================================================
1. download the dbws-callout-utility-10R2.zip from OTN at:
http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
2. create an application/project with 1.4 JDK.
3. create a web service by ‘Business Tier’->Web Service->Web Service Proxy->UDDI
4. next… to ‘Search for’, type ‘quote’.
5. from the list select one. For me ‘Quote of day’ was picked.
6. click Next all the way to Finish.
7. from the ‘Application Sources’ select ‘QuotoProxy’ then find its main method.
8. at the section
// Add your own code here, add the line like:
System.out.println("quote "+myPort.getQuote());
9. run it to see its return.
10. cteate a class that has a method to call client method to be invoked (static)
like the following:
package dbws;
import dbws.QotdPortClient;
public class MainClientStub {
public MainClientStub() {
public static String getMyQoute(){
QotdPortClient myClient = null;
try {
myClient = new QotdPortClient();
return myClient.getQuote();
} catch (Exception e) {
e.printStackTrace();
return null;
note that the package name in your project.
11. create a deployment profile as ‘JAR File’. Uncheck the box ‘Project Dependencies’
12. deploy it to the local box. ‘Deploy to JAR File’.
13. unzip the dbws-callout-utility-10R2.zip to get dbwsa.jar.
14. execute the following from command line:
loadjava –user test/[email protected] -resolve –verbose –synonym –grant public to dbwsa.jar myarchive1.jar
loadjava -user test/test@orcl1020 -resolve -verbose -synonym -genmissing -grant public myarchive1.j
ar dbwsa.jar
loadjava -user sys/<sys_pass> -resolve -verbose -synonym -genmissing -grant public myarchive1.jar dbwsa.jar
15. create a function like the following:
CREATE OR REPLACE FUNCTION teststub RETURN VARCHAR2 AS
LANGUAGE JAVA NAME ‘dbws.MainClientStub.getMyQoute() return java.lang.String’;
16. Run at sqlplus: Select teststub from dual;
====================================================== -
Calling Webservices from Oracle PL/SQL
Hi,
I am trying to call a webservice from PL/SQL using Oracle-10g database.
I am getting the error at the line ::
http_req:=utl_http.begin_request(p_url,'POST','HTTP/1.0');
p_url parameter is populated with the corresponding correct url.
ERROR ::
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1029
ORA-12541: TNS:no listener
However my application is runing fine in the server and from Toad/SQL plus I am able to connect to the database.
From outside also , the webservices are working. Please help me to solve this problem.
- Thanks
SandipanYou're probably behind a firewall and need to set a proxy server in the database.
You can do this by adding the following code (of course before you make a call to the SOAP request)
utl_http.set_proxy('yourproxy.yourcompany.com', NULL); -
Calling Java screens from Oracle Forms application
I am working with a client that has a large Oracle forms application. Since rewriting the entire application in Java is not an option at this time, the strategic direction is that any new modules that are to be created for the application are to be done in Java and called from the Forms menu. The decision as to what tool to use to develop the Java modules is still under debate. What is the best (most seamless) way to do this...calling a Java screen from a Forms application? If anyone has any experience in this, or can direct me to some literature on it, it would be greatly appreciated. Thanks.
This is a web app in Forms/Reports 10g R2 running off Oracle AS and an Oracle db. The challenge for us is that the direction is that any new enhancements (screens) are to be built using Java (in either ADF Faces or Swing, another point for debate later) and then called from the Forms app. The business client is only paying for the enhancement. They don't care about moving off Forms to Java, so any extra work on the part of IT to do this, has to be fairly minimal and doable within the project budget. The movement to Java is an IT direction. Is there a way to do this without having to build a java framework for the entire Forms application (which I assume would take some time and involve retesting the entire app)?
-
Invoking a webservice from Oracle ODI 11.1
Hello there, new to this forum but I am having trouble invoking a webservice from a package within ODI. The error message I am recieving is as follows.
com.sunopsis.wsinvocation.SnpsWSInvocationException: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:73)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:188)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
... 6 more
Caused by: java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
... 1 more
Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java:533)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
... 1 more
Eventually, I would like to query a documentum DB but I can't get a simple webservice call to work correctly. Any help will greatly be appreciated.This forum is about Oracle Database. not about Oracle Data Integrator.
Kindly post in the correct forum https://forums.oracle.com/forumID=374
Sybrand Bakker
Senior Oracle DBA -
How to call webservice from my ADF application
Hi
I have a webservice for create user which will take some input parameters to call the web service and will create the user.
From my adf application i need to call the web service and the input parameters will be passed by end user through the jspx page in my application.
Please help me with information or example so that i can proceed with the following.
Any help will also be helpful.
Thanks
SudeepHi,
Pls check this also..
http://www.youtube.com/watch?v=XF18vXxYkxM
http://www.google.co.in/url?q=http://www.youtube.com/watch%3Fv%3DwNZJbE4pc_E&sa=U&ei=KbNlTp2VOIXsrAeR1cGoCg&ved=0CB8QtwIwAQ&usg=AFQjCNF3dN3ayZ3igp_eAfvwiCpKGrjwaA
~Abhijit -
How to invoke a webservice from ADF Mobile application.
Hi,
I have developed a webservice from a PL/SQL Package in jdeveloper 11.1.1.5.0 by following below link
http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm#p.
it went on smooth till i reach " Deploying and Testing the Web Service " section. i could not find the Resources folder in which i have webservices.deploy file in my Project folder as shown in the example
please let me know how to get this and i want that webservice to be deployed on to weblogic server other than OC4J.
Kindly someone help me in this regards.
Thanks in advance.Hi,
Iam not that much familliar with using webmethods Integration server. But generally wen you are using a tool to Create webservices it will generate WSDL(Webservice Description file) and Client access classes. The Client access class contains the code for accessing the webservice. You can develop Clients by importing this class. The other way is you can use the WSDL to connect to the Webservice. WSDL file includes the End point URL (the location where to connect to access the webservice). By connecting to this URL you can access the webservice.
Few sites which help you in getting more info on Webservices are:
http://www.w3.org/2002/ws/
http://www-106.ibm.com/developerworks/webservices/
http://java.sun.com/webservices/
You can mail me at [email protected]
Regards
Mahen -
How to hide custom actions from Oracle Worklist Application (Conceptual)
Hi,
I have a conceptual question in relation to Worklist Application and the Oracle Workflow. I will explain, now:
This is the image that demonstrate the situation (worklist app console): http://i53.tinypic.com/34h9ilw.png
As you can see, i have 4 custom actions (ENVIAR_ANALISE_FRAUDE, APROVAR, REPROVAR, ENVIAR_ANALISE_NIVEL2) and i have three main regions in the image
(Action By Menu 1, Action By Menu 2 and Action By Button 3).
I have to make same custom validations when the user to choose any action, then inside of the JSPX file (Human Task Page Generated), i made the following customizations to reach my objective:
1) At the Region 2 (Action By Menu 2) - I delete these lines of code to hide the actions:
<af:group id="g2">
<af:forEach var="childNode1"
items="#{actionAvailable.customActions}">
<af:commandMenuItem textAndAccessKey="#{childNode1.displayName}"
actionListener="#{invokeActionBean.setAction}"
action="#{invokeActionBean.action}"
partialSubmit="false" id="cmi2">
<f:attribute name="ACTION_MENU_ITEM"
value="#{childNode1.action}"/>
</af:commandMenuItem>
</af:forEach>
</af:group>
2) At the Region 3 (Action By Button 3), i change the default action button's to point to my managed bean action and make the required custom validations, in accordance to my requirements. After that i made my validations, i call some lines of code to make with the Oracle Workflow executes your default internal functions when an action is clicked.
<af:commandToolbarButton actionListener="#{myManagedBean.setOperation}"
text="Aprovar"
disabled="#{myManagedBean.isErrorOccurred}"
action="#{myManagedBean.invokeMyCustomizedOperation}"
partialSubmit="false"
visible="#{wf:isCustomActionAvailable('APROVAR', 'bindings.customActions')}"
id="ctb2">
<f:attribute name="DC_OPERATION_BINDING" value="bindings.APROVAR"/>
</af:commandToolbarButton>
public void setOperation(ActionEvent p1){
this.acaoSelecionada = (String) p1.getComponent().getAttributes().get("DC_OPERATION_BINDING");
this.operation = UtilWorkflow.getInstance().getOperationFromHumanTask(this.acaoSelecionada);
this.operation.execute();
InvokeActionBean ia = (InvokeActionBean)ADFContext.getCurrent().getRequestScope().get("invokeActionBean");
ia.setFinalizerJavaScriptName("closeBrowser()");
ia.invokeScript();
3) The great problem for me now is the region 1 (Region By Menu 1), this the part of Oracle Worklist Application and i cannot hide this Menu or change anything inside it. If the user click at the 'APROVAR' action, my custom validations will be ignored and the Workflow will approve my task, without intervention of my validations.
After explaining everything this, here are my questions:
1) Is this the correct way to work with the Oracle Soa Suite ?
2) How can i hide the Region 1 (Action By Menu 1) ? Is possible ?
Thanks,
Victor JaburHi,
I am also in need of hiding or having custom validations for the actions in Region 1. Does anyone have any suggestions? Please help!
Thanks,
Farhana
Maybe you are looking for
-
Order by Characters not Numbers
Hello, I need help with an order by for data like below: select distinct First_Name from Name First_Name 12345 Test 25825 Apple 14782 Bob 1452 JamesI need to be able to sort ascending by just the characters not the numbers but the numbers are include
-
What is a ARP cache and how do I clear this cache?
Each time I try to repair my internet connection it states, "unable to complete the repair because it was unable to clear the ARP cache. I do not know or am unable to find in any help file where or what this cache is. Assistance with this would be ap
-
Instantly Disappearing Collection Items?
Hi, I'm in Bridge CS5 on a Mac Pro running 10.6.4. I built a collection of about 98 PSD, JPG and TIF images, which are located in many different folders across an external hard drive. The collection name was the default, "New Collection." I renamed
-
How do I launch mini bridge in photoshop cs5?
Can't find the mini bridge function in in the meny panal on photoshop. Any tips?
-
DHCP scope options: How TO
Hi, I have a 10.4 server as DHCP for several VLANs. I need to setup DHCP scope options on two VLANs to be able to direct DHCP requests from a specific device (IP phones) to the relevant VLAN for obtianing IP addresses. I cannot see bootpd.plist in /e