tag:blogger.com,1999:blog-1839316484051079047.post8103753945918711239..comments2024-03-28T06:38:40.958+01:00Comments on Java / Oracle SOA blog: Publish to EDN from java & OSB with JMSEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-1839316484051079047.post-39872761595487113232015-04-14T14:35:44.565+02:002015-04-14T14:35:44.565+02:00Hey Edwin,
Can you help me on how to get SOA Com...Hey Edwin, <br /><br />Can you help me on how to get SOA Composites status by a script may be WLST or by Java? i want to fetch the status of some of the composites, how should i proceed? Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-55614750394318479752014-02-07T09:17:41.930+01:002014-02-07T09:17:41.930+01:00Hi Edwin,
Thanks for all the great articles.
I fo...Hi Edwin,<br /><br />Thanks for all the great articles.<br />I followed this article to post an event to EDN.. It works perfectly!<br /><br />But the Java client (Eclipse project) has dependency on following list of jars -<br /><br />SOAMiddleware/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1./fabric-runtime.jar<br />SOAMiddleware/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1./Praveen Kumar Jayaramhttps://www.blogger.com/profile/02923963144739167876noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-84888609757162574492014-01-27T23:25:24.234+01:002014-01-27T23:25:24.234+01:00Hi,
it's made it in Jdeveloper 11.1.1.7 with ...Hi,<br /><br />it's made it in Jdeveloper 11.1.1.7 with the matching soa addon. <br />I think I used this project https://github.com/biemond/soa11g_examples/tree/master/EDN_JAVA<br /><br />jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar<br />jdeveloper/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar<br />/oracle_common/modules/oracle.fabriccommon_11.1.1/Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-11550653183358671882014-01-27T14:50:24.396+01:002014-01-27T14:50:24.396+01:00Which jar files did you include? The sceenshot doe...Which jar files did you include? The sceenshot doesn't list their names to build it with another IDE.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-11415855199461247882013-11-04T15:13:56.340+01:002013-11-04T15:13:56.340+01:00Hi,
Did you use a Java Callout to create a byte M...Hi,<br /><br />Did you use a Java Callout to create a byte Message. By the way are you using the OSB JMS transport . BPEL uses the JMS JCA adapter. Maybe you can use that in OSB.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-25016721636015873772013-10-31T18:30:18.076+01:002013-10-31T18:30:18.076+01:00Hi Edwin,
we all know that OSB can publish to qu...Hi Edwin, <br /><br />we all know that OSB can publish to queue/topic in text or byte message formats. Here I am trying to publish Map Message type to a topic with OSB. I am getting error while invoking the service that it is not either text or byte message. I tried the same with BPEL and it worked fine but trying with OSB always failing. Can you please direct me in right direction. <br />whetherAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-19314740017905383212012-11-01T16:27:35.237+01:002012-11-01T16:27:35.237+01:00Hi,
do you mean EDN, just switch to JMS and use a...Hi,<br /><br />do you mean EDN, just switch to JMS and use a Topic with durable subscripbers or a Queue. it works the same.<br /><br />thanks<br /><br />Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-67839170723159875922012-10-26T16:13:35.678+02:002012-10-26T16:13:35.678+02:00Hi Edwin,
We are using mediator to listen a Item ...Hi Edwin,<br /><br />We are using mediator to listen a Item Business event (Oracle Applications (PIM)) and from there we use AIA architecture to target applications. But as the message flow is very slow and very heavy they wanted to rewrite the fusion layer with OSB. Iam trying to do a POC on that by using a java client to read business event and then using service callout to call some web Vijayhttps://www.blogger.com/profile/00703746263053933891noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-49236080755271373432012-09-27T16:59:19.571+02:002012-09-27T16:59:19.571+02:00Thanks Edwin. Really appreciate you for all your p...Thanks Edwin. Really appreciate you for all your posts.<br /><br />They really help us.Anonymoushttps://www.blogger.com/profile/11861945005428442352noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-29074871098257732512012-09-27T15:46:47.888+02:002012-09-27T15:46:47.888+02:00Hi,
did you see this comment
I have managed to g...Hi,<br /><br />did you see this comment <br />I have managed to get this working... It worked once I deployed the listener code to the server. I presume that it was throwing away the messages if there were no subscribers to the queue.<br /><br />So you need to have a listening and maybe also an edn producing composite to activate EDN<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-77366295940476937082012-09-26T21:10:14.107+02:002012-09-26T21:10:14.107+02:00Hi Edwin,
I successfully could able to post the m...Hi Edwin,<br /><br />I successfully could able to post the message to the queue, but was not able to consume this.. and i followed the steps from your post - http://biemond.blogspot.com/2011/06/configure-en-test-jms-based-edn-in-soa.html <br /><br />So any idea on why the message is not consumed.<br /><br />Please advise.<br /><br />Srini<br />Anonymoushttps://www.blogger.com/profile/11861945005428442352noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-31643238603941829712012-09-02T22:18:17.143+02:002012-09-02T22:18:17.143+02:00Hi,
1) No use a JMS topic, Only SOA Suite can lis...Hi,<br /><br />1) No use a JMS topic, Only SOA Suite can listen for edn events other can publish , Only advantage of EDN is de event xsd can be seen and used everywhere and no need for JMS configuration.<br /><br />2) OWSM only works for web services , EDN is more JMS. In weblogic JMS you can protect the topics and queues.<br /><br />3) Gone in the wind. Don't think EDN has durable subcribersEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-27367631376522844292012-08-30T08:27:33.315+02:002012-08-30T08:27:33.315+02:00Hi Biemond,
I have some couple of questions.
...Hi Biemond,<br /><br /> I have some couple of questions.<br /><br />1. Is there way to subscribe the events using Java API<br />2. What level of OWSM security we can use in the event.<br />3. If there are no event subscribers, what happened to published message?<br /><br />-MadhavMadshttps://www.blogger.com/profile/00855145157323012739noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-11665945264395466802012-07-20T03:43:17.469+02:002012-07-20T03:43:17.469+02:00Hi,
I don't know exactly but I think it is fo...Hi,<br /><br />I don't know exactly but I think it is for defining a remote edn event. in this blogpost it should be remote, soa composites can't be part of the same transaction.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-19743220660512932502012-04-19T15:57:57.132+02:002012-04-19T15:57:57.132+02:00Hi,
You can try it with a JCA AQ adapter Business...Hi,<br /><br />You can try it with a JCA AQ adapter Business service , don't know what you need to fill for AQ header and payload. probably the same.<br /><br />I need to set the MessageType and only mq got this. No problem it works also for jms transport<br /><br />I think EDN needs this, to route the message so it does not need to analyze the payload.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-51746140718902611282012-04-19T15:43:24.035+02:002012-04-19T15:43:24.035+02:00Hi,
Did you this as jms endpoint url
jms://soa_s...Hi,<br /><br />Did you this as jms endpoint url <br />jms://soa_server:8001/jms.fabric.xaEDNConnectionFactory/jms.fabric.EDNQueue<br /><br />no need for foreign server and did you try it in the Java client.<br /><br />Good luckEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-60004419814006186172012-04-19T03:35:52.597+02:002012-04-19T03:35:52.597+02:00I liked your post. Can you please tell me does it ...I liked your post. Can you please tell me does it work for only EDN-JMS? Can I use osb to publish to EDN-AQ? why did you use mq in transport header? In the transport header you added another business event what is it? I am sorry for asking lot of questions.<br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-8300959936208189612012-04-19T02:09:58.117+02:002012-04-19T02:09:58.117+02:00Hi Edwin
Thanks for posting nice article but I did...Hi Edwin<br />Thanks for posting nice article but I did not understand how it will work for osb. Are there any disadvantages if we directly produce message to the edn queue from osb? I tried to produce the message but did not see in the queue.compnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30111133736567038232012-04-16T20:17:00.086+02:002012-04-16T20:17:00.086+02:00Indeed you are right.Indeed you are right.Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-77968406874132360712012-04-13T21:50:29.369+02:002012-04-13T21:50:29.369+02:00Shouldn't you close your connections in a fina...Shouldn't you close your connections in a finally block?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-14635296200186826122011-09-18T22:19:40.642+02:002011-09-18T22:19:40.642+02:00Hi,
what you can do is to go directly to the soa ...Hi,<br /><br />what you can do is to go directly to the soa server instead of the foreign jndi<br /><br />use this url in the BS service jms://soa:8001/jms.fabric.xaEDNConnectionFactory/jms.fabric.EDNQueue<br /><br />good luckEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-18290052113988616922011-09-18T22:12:55.771+02:002011-09-18T22:12:55.771+02:00Hi Edwin, I am trying to run the OSB on my local s...Hi Edwin, I am trying to run the OSB on my local server whereas the EDNQueue has been configured on remote server. I am getting the Failed to resolve error. I have provided the endpoint of remote Queue, Do you reckon there is a need of any other setting?Nitinhttps://www.blogger.com/profile/00922028679092212056noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-7540984438221120482011-06-30T06:52:20.238+02:002011-06-30T06:52:20.238+02:00Ya I tested with PS3 only , might be making some m...Ya I tested with PS3 only , might be making some mistake will recreate ...<br />For the OSB part its working fine with me but JMS endpoint for EDN queue is different ,<br />jms://:/weblogic.jms.XAConnectionFactory/jms/fabric/EDNQueueshrikworldhttps://www.blogger.com/profile/15125967837612155092noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-12525983026940846692011-06-26T18:04:10.352+02:002011-06-26T18:04:10.352+02:00Hi,
I tested it with jdev ps3 and the matching SO...Hi,<br /><br />I tested it with jdev ps3 and the matching SOA plugin . I think ps4 should also work. Not 11gR2<br /><br />Did you use jdev and do you have the same libraries on your project.<br /><br />Thanks EdwinEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-19625455311030886212011-06-25T14:53:47.108+02:002011-06-25T14:53:47.108+02:00Nice Post!
But while running Java code to publish ...Nice Post!<br />But while running Java code to publish message to JMS queue of EDN I'm getting below error,<br />cannot find constructor JmsRemoteBusinessEventConnectionFactory(javax.jms.QueueConnectionFactory,javax.jms.QueueConnectionFactory,java.util.Queue,javax.transaction.UserTransaction)<br /><br />at line ,<br /> BusinessEventConnectionFactory factory =<br /> shrikworldhttps://www.blogger.com/profile/15125967837612155092noreply@blogger.com