Best way to call oracle db from BPEL 2.0
Hi
Anybody knows which is the best way to call select or call store procedures from BPEL 2.0 ? Do I need to use JCD (java collaboration definition in repository-based projects -caps 5.x) and oracle eWAY to interact with oracle database?
Regards.
You can also create a new WSDL with a concrete binding to DATABASE, as explained on http://wiki.open-esb.java.net/Wiki.jsp?page=CreatingAWSDLDocumentForTypeDATABASE
BRs
Kris
Similar Messages
-
What is the best way to call a report from within a report
What is the best way to call a report from within a report(master / Detail concept)
A type of drill down report
Oracle Database 10g
Forms 10.1.2.0.2
Report Builder 10.1.2.0.2Hi
Have a look in this link, certainly you will get fix, if not just post a comment on blog, will get reply soon
http://windows7bugs.wordpress.com/?s=oracle+10g+bug -
What is the best way to call a servlet from another servlet?
I have a project with 9 servlets (class project). The way I have been moving from servlet to servlet is like this
doPost(...)
{ response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head><title>Functions</title>");
out.println(f"<form name=frm6 method=post action=/servlet2");
out.println("<input type=submit name='btn' value='servlet2'>");
out.println("</form>");
So I have these 9 servlets - I call any 8 of them from the first servlet so I have 8 buttons on 8 forms <form=frm1, frm2, ...frm8 method = post...> But when I bring up the first servlet only 6 buttons show up. I was thinking about using hyperlinks instead, but I would like to do this with buttons. I wanted to do this with javascript and the location object, but I was advised to use jsp. I just want to move from one servlet to the next. Any suggestions appreciated for the best/preferred method for moving from one servlet to the next.
ThanksI think you may need some clarification of terminology etc..
First off, JSP isn't an alternative to javascript, it's an alternative to coding a servlet. A JSP is a mixture of java code and HTML and is translated into a servlet by the system. JSPs are primarilly for generating HTML pages with variable content. JSPs very frequently generate HTML which includes Javascript.
You probably shouldn't think of what you're doing as one servlet invoking another, that does happen; a servlet can transfer an transaction to another servlet or JSP. In fact it's standard practice that a servlet does the logical stuff (like interpretting form data) then transfers to a JSP to generate the response page. However in this case it's the browser that can invoke one of the 8 servlets, the first servlet merely creates the page from which they are invoked.
It's not obvious why only some of your buttons are showing up. In a case like this use the "view source" option on your browser to find out what HTML the servlet is actually delivering. What's wrong should be evident from that.
You can put a hyperlink arround a button, or an image. Mostly people turn up their noses at the buttons supplied by HTML and use their own images for buttons. You
can do somthing like this:
<img src="/images/button3.png" border="0">
(Of course this arrives as a GET transaction not a POST).
Or you can do a bit of javascript like:
<img src="/images/button3.png" style="Cursor: pointer;"
onclick="document.locations.href='/servlet3';"> -
Best way to call web service from Message Driven Bean
I'm q'ing msgs up and would like to use a message driven bean to forward them to
an external web service. Weblogic workshop does not seem to support web service
controls in an EJB project. Any suggestions?
Thanks,
PaulPaul,
A non-trivial alternative, since you have the WSDL, would be to forget about trying
to use generated client code and just use JAX-RPC dynamic invocation instead.
That's how I call external web services from within an EJB in situations in which
generated client code cannot be incorporated prior to deployment. Minimally all
that is required is the WSDL and the service name, port name, and operation name,
although if non-builtin parameter types are used then you will have to manipulate
the service's type mapping registry.
Mark
"Paul" <[email protected]> wrote:
>
I've taken our wsdl and generated a web service in Workshop 8.1 using
XMLBeans.
This produces a web page that contains a link"Java Proxy" for downloading
generated
client code. I assume this is the same as clientgen. It's interesting
that
it does not
use XMLBeans like the web service that generated it. It uses a different
serialization
method.
I've used this generated code to call the web service. Although the
client seems
to run
successfully to completion, I get the following error in the weblogic
server console:
<Sep 29, 2003 7:46:24 AM EDT> <Error> <WLW> <000000> <Failure=com.bea.wlw.runtim
e.core.request.ResponseValidationException: java.lang.RuntimeException:
Protocol
'http-soap' not available on this operation. [ServiceException]>
<Sep 29, 2003 7:46:24 AM EDT> <Warning> <WLW> <000000> <Returning HTTP
500 due
t
o SOAP fault occurring on DispFile=pjm.srcm.webservices.face.Receptor>
Frustrating...
Bruce Stephens <[email protected]> wrote:
Hi Paul,
Could you not first use clientgen on the external webservice, then take
the stubs it created, then add these to your code along with the
onMessage(Message msg) and roll it into the MBean?
We don't have exactly that example, but you might take a look at this
one to get some ideas:
http://webservice.bea.com/message.zip
Hope this helps,
Bruce
Paul wrote:
Bruce,
Don't think this will work for us. We are receiving data internallythrough
a JMS queue. We need to pull it off the queue (MDB), massage it alittle and
send it to an external web service. The link you sent me was howto implement
a web service with JMS.
I started out by trying to use the Web Service and JMS controls butit doesn't
seem like I can use a JMS control because that requires a conversationID,
which we don't have because nothing is comming in through a web services.
Paul
Bruce Stephens <[email protected]> wrote:
Hi Paul,
There is a chapter in the docs on this. See if this helps,
http://edocs.bea.com/wls/docs81/webserv/jms.html#1067060
Thanks,
Bruce
Paul wrote:
I'm q'ing msgs up and would like to use a message driven bean to
forward
them to
an external web service. Weblogic workshop does not seem to supportweb service
controls in an EJB project. Any suggestions?
Thanks,
Paul -
Best way to call web service from MDB?
I'm q'ing msgs up and would like to use a message driven bean to forward them to
an external web service. Weblogic workshop does not seem to support web service
controls in an EJB project. Any suggestions?
Thanks,
Paul
Hi Paul,
This question seems to be generic to any J2EE app bean that calls
into web-services, and I'm not sure how to answer it.
I suggest posting your question to the webservice newsgroup,
also check out dev2dev.bea.com for examples.
Tom, BEA
Paul wrote:
> I'm q'ing msgs up and would like to use a message driven bean to forward them to
> an external web service. Weblogic workshop does not seem to support web service
> controls in an EJB project. Any suggestions?
>
> Thanks,
>
> Paul
-
Call Oracle Reports from Forms ver 9i or 10g
Hi,
Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
What is the best way to call the reports from the form ??? pls help...
Thanks in avdance.
Jitesh ([email protected])You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
In the Forms help you should find examples.
If you have access to Metalink, have a look at Note:207396.1. -
Best way to call EJB - Servlet or Tag Library
Hi,
What is the best way to call an EJB from a JSP? We are using Weblogic 7.0(moving to 8.1 beta). WE have a form on a JSP that needs to get data from an EJB. Our flow goes from JSP --> Controller servlet or tag library -->EJB "Bean" Controller ---> EJB. The specfic EJB we need to populate drop downs and fields will be called by a bean controller. Is it better to call the bean controller using a tag library in the jsp or go to the controller servlet to get the data? If servlet is the answer, where do I lookup the EJB Home and call the create from within the servlet? Any help would be greatly appreciated!!
Thanks!IMO, if you are following some design patterns, like the MVC framework, the best thing is to populate the model(entities that contain the business data) and call the respective getXX methods from the model on the JSP page. The reason for doing so is to keep JSP pages away from any other work other than to just display the business data contained in the respective business entities.
The model can be populated in the servlet and either set in the request or session attribute as per the requirement.
The EJB can be looked up in the servlet as and when required. I would suggest to make use of the Service Locator Pattern to do a look up for the EJB Remote Interface and accordingly make the business calls.
Hopefully this answers some of your questions. -
What is the best way to call a pageflow action from JavaScript?
What is the best way to call a pageflow action from JavaScript?
Thanks,
JohnJohn,
How would I do this from a grid??? Unfortunately there are no JavaScript attributes
on any of the grid tags that I can see.
Thanks,
John
"John H" <[email protected]> wrote:
>
Thanks John!
"John Rohrlich" <[email protected]> wrote:
John,
If you want to put up a confirm dialog before calling an action from
an
anchor it is done as follows.
Here is an example from code of mine that deletes a customer order,if
the
user confirms the delete. I pass the order id as a parameter.
- john
Here is the JavaScript -
function confirmDelete() {
if(confirm('Continue with order delete?'))
return true;
else
return false;
Here is a sample anchor tag -
<netui:anchor action="requestToDeleteOrder" onClick="return
confirmDelete(); return false;">
Delete
<netui:parameter name="orderId" value="{container.item.orderId}"/>
</netui:anchor>
"John H" <[email protected]> wrote in message
news:402138f5$[email protected]..
Thanks for the replies. I figured it was going to require buildingmy own
url
to call the action. I had hoped there was an easier way to do it.Rich,
the
reason I want to do this is because I want to call the JavaScript
function
confirm()
when a user clicks on a link (in a repeater/grid) to drop a record,I only
want
to call the drop action if the user confirms the drop. Maybe thereis a
better
way to do what I am trying to do??? I really appreciate any help
you
guys
can
give me on this, I am pretty new to this sort of stuff.
Thanks,
John
"Rich Kucera" <[email protected]> wrote:
"John H" <[email protected]> wrote:
What is the best way to call a pageflow action from JavaScript?
Thanks,
JohnTry figuring out the URL to the pageflow action, create a hidden
form
in the
page, then use JS to submit the form. Why would you want to though,
isn't
the server going to want to send you to the next page? -
Which is the best option to enter the data from BPEL to Oracle Apps.?
Hi all,
i have a little confusion. I want to enter sales order data into Oracle Apps
from BPEL.But there are two ways 1) API 2) Sales Import Interface ( concurrent program)
So Which option is better. can anyone plz explain.?
/mishit.Ther is a nice chapter in the BPEL cookbook on integrating Apps en PSoft. Maybe this helps you to understand in integration with BPEL.
http://www.oracle.com/technology/pub/articles/bpel_cookbook/pravin.html -
Best way to retreive an attributeValue from the bindings in a backing bean?
What is the best way to retreive a value from an interator in your data bindings inside a backing bean?
I can come up with a way were i resolve the value of an expression like #{bindings.myAttribute.value}
Is this the best way or is there an easier?
I can also place a hidden inputField were i bind the value to the attribute in my bindings and set the bindings of the input field to my backing so i can just call the .getValue in my backing bean...Yannick
What is the best way to retreive a value from an interator in your data bindings inside a backing bean? Using JDeveloper 11.1.1.3.0 I created an example application
at http://www.consideringred.com/files/oracle/2010/Thread1665841AttributeValuesApp-v0.01.zip
It illustrates the behaviour for 3 different approaches to get an attribute value in a managed bean:
public class WithAttributeValues
public int getMyIdFromEL()
return (Integer)ELHelper.get("#{bindings.myId.inputValue}");
public int getMyIdFromAttributeBinding()
BindingContainer vBindingContainer =
BindingContext.getCurrent().getCurrentBindingsEntry();
ControlBinding vControlBinding = vBindingContainer.getControlBinding("myId");
AttributeBinding vAttributeBinding = (AttributeBinding)vControlBinding;
return (Integer)vAttributeBinding.getInputValue();
public int getMyIdFromIterator()
BindingContainer vBindingContainer =
BindingContext.getCurrent().getCurrentBindingsEntry();
DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
DCIteratorBinding vDCIteratorBinding =
vDCBindingContainer.findIteratorBinding("findSomeMyRowsIterator");
Row vRow = vDCIteratorBinding.getCurrentRow();
return (Integer)vRow.getAttribute("myId");
}For some reason the approach using getMyIdFromIterator() does not behave as intended when navigating the current row.
see screencast at http://www.screencast.com/t/nIJ3DpsNE9Y
Maybe John Stegeman can explain why that is because it is basically the same approach as he suggested in this forum thread.
But if you don't have an attribute binding because you only use the iterator... Is it an option to create an attributeValue and bind it to the iterator so you can use it in your backing bean that way? Based on my findings above, using attributeValues bindings seems to be preferable.
or is it only possible when you realy have an inputField bound to the attributeValue? The example application in Thread1665841AttributeValuesApp-v0.01.zip does not have any af:inputText components.
Your question about "the best way" made me wonder if that wouldn't require JSR 227 API, so I posted that question in another forum thread, "How to get an attribute value using JSR 227 API ?"
at How to get an attribute value using JSR 227 API ?
regards
Jan Vervecken -
Best Way to port the data from one DB to another DB using Biztalk
Hi,
please suggest best way to move the data from one db to another DB using biztalk.
Currently I am doing like that, for each transaction(getting from different source tables) through receive port, and do some mapping (some custom logic for data mapping), then insert to target normalized tables(multiple tables) and back to update the status
of transaction in source table in sourceDB. It is processing one by one.
How/best we we can do it using bulk transfer and update the status. Since it has more than 10000 transaction per call.
Thanks,
VinothHi Vinoth,
For SQL Bulk inserts you can always use SQL Bulk Load
adapter.
http://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalksyn/archive/2005/10/23/processing-a-large-flat-file-message-with-biztalk-and-the-sqlbulkinsert-adapter.aspx
However, even though a SQL Bulk Load adapter can efficiently insert a large amount of data into SQL you are still stuck with the issues of transmitting the
MessageBox database and the memory issues of dealing with really large messages.
I would personally suggest you to use SSIS, as you have mentioned that records have to be processed in specific time of day as opposed to when the
records are available.
Please refer to this link to get more information about SSIS: http://msdn.microsoft.com/en-us/library/ms141026.aspx
If you have any more questions related to SSIS, please ask it in
SSIS
forum and you will get specific support.
Rachit -
Best way to update DR database from PROD server automatic ?
Hello Gurus,
I want to decide best solution.
Goal: Best way to update DR Database from PROD Server Database automatic.
System: 32 bit Linux system with Oracle Database 10g Release 10.2.0.4.0 - Production (database version) Oracle version is standard.
Please let me know how i can update my DR server with PROD data and this task should be automatic.
Please ask me more information if required to solve this issue.
Thanks- Priyank
Edited by: Oracle DBA P on Nov 19, 2010 3:06 AMyou mean to say data guard needs to implement ? i think that's one option but what you said is different ?
tell me procedure how i can implement your idea ? steps i have to perform.
Thanks
Edited by: Oracle DBA P on Nov 19, 2010 3:38 AM -
What is the best way to port complete applications from DEV - Test - PROD
Hi,
One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
What is the best way to port complete applications from DEV -> Test -> PROD ??
Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
Best RegardsIt has been discussed here in detail-
SOA 11g Composite Deployment across multiple Instances: Best Practice
since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?You may use deployment plan for this purpose. For access control, you may use Role Based access of Weblogic and EM. Please refer -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10226/appx_roles_privs.htm#BABIHDFJ
Regards,
Anuj -
which is the best way to call a scotland mobile phone from skype? i been using pay as u go credit and its 8 cents a min and was wondering if a monthly thing or a subscription is the way to go
Translation patterns are for internal use to manipulate a number and then a route pattern will be responsible for pushing it out the gateway or some other method. If this DID is still being sent to you you could either manipulate this at the CUBE and hairpin it backout or send it to CUCM and hairpin it back after it gets translated with a translation pattern out a route pattern. I would recommend doing everything at the gateway unless you want to keep some record that the number is in use which CUCM can do more effectively.
This DID being used for a fax is elsewhere offnet at this point I take it? Make sure you have the proper CSS's and partitions set for hair pinning if you do this on CUCM since by nature forwarding to external numbers is disabled by default (or at least it used to be as I recall). -
Call Oracle form from pl/sql
Dear All
How can I call Oracle form from pl/sql and open this form to end user
many thanksHshihadah wrote:
how can I show this form to specific client ?What client?!? Database PL/SQL is executed within a process on the database server, it's not something which is executed on the client. Could you please elaborate a little bit more?
By now I have not the faintest clue if you want to
- call a form from another form ( call_form )
- call a form within a database process (?!?)
- call your form from a client you did not tell us (probably APEX?!?)
For the case you really meant to call a form within Database PL/SQL: Just in case you didn't recognize it, but the database is perfectly capable of PL/SQL and as calling a form within a database process is a one-way street as you cannot interact with it there is no point at all in writing the things you want to do in forms. If you want some PL/SQL code executed on the database then...well...put it in a stored procedure in the database!
cheers
Maybe you are looking for
-
I am using an input field of data type Number. In Norway we use a comma before decimals. I can't get this to work in VC. Have tried to set Number format with 'Local format' checked but this is not helping. (even if my portal is showing Norwegian text
-
Hit list in PA20/PA30 Object Manager
When you do a search in the object manager, it comes up with the hit list at the bottom of the screen, and a label which says "hit list" - my users would like to see a total number in the hit list, in the same way it appears in adhoc query. Doe anyo
-
Download the SAP NetWeaver Application Server ABAP Trial 7:03 64-bit
I can not download the SAP NetWeaver Application Server ABAP Trial 7:03 64-bit complete, the file size is 3,912 gb and I can only download 2 gb. How can I download the full file? thank you
-
LMS 4.0.1 Unable to locate Auto Device support package
in Cisco.com this package supports C881 series routers AutoDev.RME501.vx-y.zip and Mdf.CS30.vx-y.zip are installed in the server has this been replaced with any other package Thanks SJ
-
Downloaded and updated Photoshop, yet no option to run in Creative Cloud.
I just purchased a monthly subscription to Photoshop on Creative Cloud. I had previously downloaded and used a trial version, and I seem to be having trouble now accessing the Creative Cloud version. In the Creative Cloud application manager it lists