tag:blogger.com,1999:blog-1839316484051079047.post8317107774615016932..comments2024-03-28T06:38:40.958+01:00Comments on Java / Oracle SOA blog: Using an EJB Service / Reference in Soa Suite 11GEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-1839316484051079047.post-80451043881632048402013-08-26T00:20:18.150+02:002013-08-26T00:20:18.150+02:00Hi,
The wizard to create service interface in JDev...Hi,<br />The wizard to create service interface in JDeveloper 11g R1 does not work. It does not create .xsd files etc. How can I pass this step?<br /><br />thx,<br />ParisaAnonymoushttps://www.blogger.com/profile/00517941405153805677noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-14254328934253631592013-08-05T06:28:18.340+02:002013-08-05T06:28:18.340+02:00Hi,
I think you get a binding error which you can...Hi,<br /><br />I think you get a binding error which you can handle in BPEL with catch all or the specific error catch or do it in the fault framework<br /><br />plus with transactions you can better set the EJB method to requires new else you will see the error when BPEL finishes and then it is too late.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-281054109529801282013-08-03T11:51:13.964+02:002013-08-03T11:51:13.964+02:00Hi Pino,
I have a Question, I have one composite ...Hi Pino,<br /><br />I have a Question, I have one composite which is having BPEL component and Calling the EJB webserive as referece.<br /><br />Bpel is calling one method of the EJB serive, if that method give exception then how to handle and i want to retry to call that method to get the output.<br /><br />so now how can write the retry exception mechanism in bpel. <br /><br />Advance Thanks,<Ramanathhttps://www.blogger.com/profile/04502082922073609152noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30630313789157544302011-08-01T20:16:20.567+02:002011-08-01T20:16:20.567+02:00Hi,
I also use the latest eclipselink and it is w...Hi,<br /><br />I also use the latest eclipselink and it is working fine for jpa.<br /><br />Do you use it for soa suite or for deploying adf bc sdo web services.<br /><br />Nowadays you can call the ejb session bean without any sdo.<br /><br />sdo wizard in jdev was very buggy and is now a little bit better.<br /><br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-80293316560355158262011-08-01T15:17:44.294+02:002011-08-01T15:17:44.294+02:00Sorry to resurrect this post but we are facing the...Sorry to resurrect this post but we are facing the similar class cast exception <br />--------------------------------<br />java.lang.ClassCastException: org.eclipse.persistence.sdo.helper.ListWrapper cannot be cast to org.eclipse.persistence.sdo.SDODataObject<br />--------------------------------<br />as we have upgraded SOA Middle from 11.1.1.2 (PS1) to 11.1.1.5 (PS4). <br />What we detect is Guillaume FRANCOIS 55https://www.blogger.com/profile/09583236330130068269noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-32935481889835127052011-06-06T10:44:15.325+02:002011-06-06T10:44:15.325+02:00Hi Pino,
Indeed, it seems like a bug. I think its...Hi Pino,<br /><br />Indeed, it seems like a bug. I think its need the some kind of configuration for the DMS which is located in the SOA MDS.<br /><br />I think it should not use DMS ( I think it is something for performance ) or detect that is not necessary. <br /><br />Maybe Oracle made some different client classes for this or it has to remove the dependency to DMS<br /><br />can you check theEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-81734520763558333882011-06-04T15:10:26.426+02:002011-06-04T15:10:26.426+02:00Hi Edwin,
FYI. There must be a lot of changes in ...Hi Edwin,<br /><br />FYI. There must be a lot of changes in 11.1.1.5 because I got a lot of issues when I run your sample client "callejb.java" in JDeveloper 11.1.1.5. The same is true with my own samples that I have made. Aside from the missing classes, I am stuck with the following error:<br /><br />"Caused by: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to Rommel Pinohttps://www.blogger.com/profile/18179809528284596087noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-48685921812626048512011-03-22T20:16:39.729+01:002011-03-22T20:16:39.729+01:00Hi,
Can you check if you made a service interface...Hi,<br /><br />Can you check if you made a service interface jar and use that everywhere and dont include the bean, only the interface and entities.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-21008156186285641882011-03-22T14:33:50.662+01:002011-03-22T14:33:50.662+01:00Hi Edwin,
We followed the steps to use an EJB Ser...Hi Edwin,<br /><br />We followed the steps to use an EJB Service. We have deployed and can successfully call a SOA composite. We've added an EJB Adapter to provide an additional method of calling the composite. When trying to call the composite EJB, we get:<br /><br />java.lang.reflect.UndeclaredThrowableException<br />at $Proxy1.getRetail(Unknown Source)<br />at testejbclient.callejb.main(Subhanoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-11457047331243240332010-11-07T20:42:37.080+01:002010-11-07T20:42:37.080+01:00Hi,
Can you check the reference part in the comp...Hi, <br /><br />Can you check the reference part in the composite , sometimes the wizard is not working well ( uses wrong attributes). check the jndiName attribute if it contains the jndi name.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-74411019010225369262010-11-07T07:32:20.081+01:002010-11-07T07:32:20.081+01:00Hi Edwin,
I am using 11g PS2. I have created EJB ...Hi Edwin,<br /><br />I am using 11g PS2. I have created EJB and created data source as you mentioned. In bpel i am calling remove operation of EJB. I am getting binding fault saying "Invocation Exeption: :" as summary. <br />I have tested StandaloneEJB and it is ok. Seems some configuration issues.<br />Please show me the way.<br /><br />Regards<br />PavanKumar.Mpavan4shttps://www.blogger.com/profile/09200863808814434480noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-23322019451133446782010-11-02T17:19:43.542+01:002010-11-02T17:19:43.542+01:00Hi,
can you explain your problem.
The datasourc...Hi,<br /><br />can you explain your problem. <br /><br />The datasource will be used in the EJB. ( persistence.xml ) .<br /><br />the same datasource can be used in a db or aq resource adapter. <br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-55264801594946116802010-11-01T06:39:35.154+01:002010-11-01T06:39:35.154+01:00Hi Edwin,
Can you please expalin JNDI of the EJB o...Hi Edwin,<br />Can you please expalin JNDI of the EJB on soa suite server.<br />And after creating datasource for HR schema in weblogic console, do we need to update that any where?<br /><br />Regards<br />PavanKumar.Mpavan4shttps://www.blogger.com/profile/09200863808814434480noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-20476602164667209992010-04-20T22:06:58.222+02:002010-04-20T22:06:58.222+02:00Ok, Now I know what you mean.
indeed , the ejb se...Ok, Now I know what you mean.<br /><br />indeed , the ejb service does nothing , in that case you will use the ejb interface as starting point , after that bpel takes it over. and BPEL you can do what you want.<br /><br />Only the ejb reference does the retrievel , merge and persists.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-15548335885459690152010-04-20T21:57:00.890+02:002010-04-20T21:57:00.890+02:00Hi Edwin,
I did not have problems with the Employ...Hi Edwin,<br /><br />I did not have problems with the EmployeeReferenceService (Reference swimlane). In that, I was able to have a test case where the persistEmployeeSDO() works.<br /><br />My problem is in the EmployeeService (Service swimlane). When I run your client calledejb the BPEL activities were executed successfully, but the persistEmployeesSDO() was not invoked even though that I had Rommel Pinohttps://www.blogger.com/profile/18179809528284596087noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-24661536203738470902010-04-20T21:23:11.303+02:002010-04-20T21:23:11.303+02:00Hi
Can you check two things for me , make a entit...Hi<br /><br />Can you check two things for me , make a entity and try to call the remote persist method not the sdo one and look in the database <br /><br />and in PS1 somehow the jndi name in the composite.xml reference is mixed up with a wrong element<br />this is the right one <br /><br /> <reference name="EmployeeReferenceService"<br /> ui:wsdlLocation="Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-75123026077945232032010-04-20T21:10:01.994+02:002010-04-20T21:10:01.994+02:00I can test the getemployeenameprocess
in the enter...I can test the getemployeenameprocess<br />in the enterprise manager and the corresponding SQL and SysOut statements are reflected in the console, but running the main method of callejb class does not invoke the persistEmployeesSDO() session bean method even though the steps in the BPEL were executed.<br /><br />PinoRommel Pinohttps://www.blogger.com/profile/18179809528284596087noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-5423383475327851122010-04-20T19:06:46.891+02:002010-04-20T19:06:46.891+02:00Hi,
that should work, can you check modelunit of...Hi, <br /><br />that should work, can you check modelunit of the persistence.xml <br />if you use the transaction manager of the application server and use a datasource.<br /><br />and can you put the logging on fine ( persistence.xml ) then you can see in the console of the wls server the SQL output. you should see the update statement.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-69492708046093671212010-04-20T16:16:03.686+02:002010-04-20T16:16:03.686+02:00Hi Edwin,
Can you confirm if running the callejb ...Hi Edwin,<br /><br />Can you confirm if running the callejb class will persist the employee data in the database?<br />I have tried running it without errors but the data was not persisted. Did I miss something?<br /><br />Regards,<br />PinoRommel Pinohttps://www.blogger.com/profile/18179809528284596087noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-19757273093779879052009-11-05T00:50:25.850+01:002009-11-05T00:50:25.850+01:00Hi guys,
we have same problem, this example won...Hi guys,<br />we have same problem, this example won't work if bpel is asynch or instanced by file adapter. if you replace input parameters with simple types ejb method call will work in sync or asynch or bpels instanced by file adapter. this is not a problem with method result,results can be SDO objects in any case.<br /><br />this issue is raised on metalink without response for a month.<brmarkohttps://www.blogger.com/profile/15826231364288586222noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-82634668215544209122009-11-02T13:16:01.342+01:002009-11-02T13:16:01.342+01:00Hi Edwin,
Thanks for your support once again.
I ...Hi Edwin,<br /><br />Thanks for your support once again.<br /><br />I observed one strange thing. If my composite contains a synchronous BPEL process, then I am able to invoke a persistEmployee method successfully. Your test case also contains a synchronous BPEL process.<br /><br />I don't have any clue why it is working for synchronous BPEL process and not working for asynchronous BPEL Vidyahttps://www.blogger.com/profile/13210885021192370285noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-86896098263979406532009-10-31T20:43:17.139+01:002009-10-31T20:43:17.139+01:00Hi Vidya,
it is working with me , I send your tes...Hi Vidya,<br /><br />it is working with me , I send your testcase back with some working bpel examples<br /><br />hope this helping .<br /><br />thanks EdwinEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-63711648302950350252009-10-28T07:59:47.292+01:002009-10-28T07:59:47.292+01:00Hi,
I had sent you Test Case to your gmail mail i...Hi,<br /><br />I had sent you Test Case to your gmail mail id.<br /><br />Thanks,<br />VidyaVidyahttps://www.blogger.com/profile/13210885021192370285noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-2311899930213719332009-10-27T23:16:03.301+01:002009-10-27T23:16:03.301+01:00Hi,
Does retrieving from the ejb works. ( only a ...Hi,<br /><br />Does retrieving from the ejb works. ( only a persist problem )<br /><br />Can you make a testcase for me or for Oracle support.<br /><br />you can send it to biemond at gmail dot com<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-40115438126488512922009-10-27T10:28:37.219+01:002009-10-27T10:28:37.219+01:00Hi Edwin,
I don't see any list variables in e...Hi Edwin,<br /><br />I don't see any list variables in employee entity.<br /><br />Still i am facing same issue.<br /><br />Thanks,<br />VidyaVidyahttps://www.blogger.com/profile/13210885021192370285noreply@blogger.com