tag:blogger.com,1999:blog-1839316484051079047.post6890026028788358903..comments2024-03-28T06:38:40.958+01:00Comments on Java / Oracle SOA blog: Invoking Soa Suite 11g Service from javaEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger104125tag:blogger.com,1999:blog-1839316484051079047.post-55744211428188897352016-09-05T12:17:26.622+02:002016-09-05T12:17:26.622+02:00Hi Edwin,
the 12c version of the infrastructure ma...Hi Edwin,<br />the 12c version of the infrastructure management API has been significantly reduced (see https://docs.oracle.com/middleware/1221/soasuite/api-reference-soa/toc.htm). The API you mentioned above is not available anymore in the documentation (most of oracle.soa.management.facade).<br /><br />Do you know if there's some substitution? It seems to me that 12c version has been Anonymoushttps://www.blogger.com/profile/04100957309080344473noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-65506325952616289432016-05-25T09:54:10.818+02:002016-05-25T09:54:10.818+02:00Thanks for your explanation, It's finally work...Thanks for your explanation, It's finally worked in version 12.2.1 + Java 1.8 :)<br /><br />But, How do I call the adf web service in the secured way?<br /><br />After change the url and port to the secure link I am getting this error:<br /><br />javax.naming.NamingException: Couldn't connect to the specified host [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: Hodhttps://www.blogger.com/profile/13920856936924018129noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-54550929608785402692014-04-17T14:56:28.788+02:002014-04-17T14:56:28.788+02:00I am using following code in my project in java em...I am using following code in my project in java embedding<br /><br /> Composite composite = locator.lookupComposite(DName); <br /><br />It is failing with below error<br /><br />Caller doesn't have enough permission to call this method.<br /><br />This code was working fine in my local server with a single node but the same code is not working when i migrate this code to my test Anonymoushttps://www.blogger.com/profile/11063476025464422381noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-81787397400515988592012-10-07T12:32:53.942+02:002012-10-07T12:32:53.942+02:00Hi,
Can you send me a small testcase and I will t...Hi,<br /><br />Can you send me a small testcase and I will take a look. 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-79020528414681207822012-10-04T15:32:06.755+02:002012-10-04T15:32:06.755+02:00Hi Edwin,
I have also tried with adf.binding tag ...Hi Edwin,<br /><br />I have also tried with adf.binding tag as below<br /><br /><br /> <br /> <br /> <br /><br />where,OdiInvokeServiceServiceADF is the unique name that I have given to the reference. And wired the reference to the BPEL Process. Both binding.adf and binding.ws is coexisting with reference names different. I have tested the code with same payload. From BPEL Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-45245659163241403582012-10-04T07:42:26.965+02:002012-10-04T07:42:26.965+02:00Hi Beimond,
For some reason, the text did not get...Hi Beimond,<br /><br />For some reason, the text did not get printed. We are actually using<br />Composite composite = locator.lookupComposite("default/InvokeODIAsyncBPEL4!1.0");<br /><br />Also, I have not used adf.binding in composite.xml. The BPEL Process actually calls the Java WS asynchronously . The issue is when the callbackelement is passed back to the BPEL Process.<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-60684358914585939792012-10-03T23:07:56.019+02:002012-10-03T23:07:56.019+02:00Hi,
you should use something like this in the lo...Hi,<br /><br />you should use something like this in the lookup partition + composite _ version locator.lookupComposite("default/Helloworld!1.0")<br />and not "default/!"<br /><br />can you check this<br /><br />thanks EdwinEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-5058752948784475572012-10-03T16:00:02.540+02:002012-10-03T16:00:02.540+02:00Hi Biemond,
We are trying to send a callback from...Hi Biemond,<br /><br />We are trying to send a callback from Java WS to a BPEL process in 11 g. Both the BPEL Composite and the Java WS are in the same container, ie Weblogic.<br /><br />This was working fine in 10g with IDeliveryService but in 11g we used Locator class to look up the service. We are getting a null pointer exception in at line <br /><br />ds.post(operationName, nm); after adding Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-84527441625819386812012-10-02T13:49:29.867+02:002012-10-02T13:49:29.867+02:00Hi,
Can you try this
locator = LocatorFactory.cr...Hi,<br /><br />Can you try this <br />locator = LocatorFactory.createLocator();<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-11692271008968295092012-09-26T20:29:05.093+02:002012-09-26T20:29:05.093+02:00In your example, Is there any way to create a loca...In your example, Is there any way to create a locator without passing the credentials while creating the context using jndiProps?<br /><br />i.e. We have a scenario where a java(non adf) app which runs within same weblogic server instance of soasuite and it needs to instantiate a bpel process. I can certainly use web service proxy but direct binding might make it faster and efficientAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-17937576365548759342012-09-19T12:23:58.427+02:002012-09-19T12:23:58.427+02:00OK, I'm going to ask Oracle support about it. ...OK, I'm going to ask Oracle support about it. <br /><br />thanks for your support Edwin.Luis Miguel Fernández Teomirohttps://www.blogger.com/profile/17983341260902605117noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-28783393392274741542012-09-18T19:57:53.745+02:002012-09-18T19:57:53.745+02:00Hi,
Are you using bpel 2.0 with PS5 or bpel 1.1 t...Hi,<br /><br />Are you using bpel 2.0 with PS5 or bpel 1.1 these two supports changing endpoint at runtime. But direct binding uses the direct binding java api. This is not a http endpoint but a t3 one, that's why addressing won't work.<br /><br />you can ask for an ER on oracle support. maybe they can show you how or add this feature in the next release.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-53836505954204458282012-09-18T17:07:06.992+02:002012-09-18T17:07:06.992+02:00Hi Edwin,
I can see that in this article comments...Hi Edwin,<br /><br />I can see that in this article comments there is someone that asked you about the best way to change a partner link at runtime. You suggested him the usage of the invoke properties to change the endpoint. Well, I have the same requirement but I my partner links are direct binding adapters. I've tried the solution that you comment and I've tried to assign values to Luis Miguel Fernández Teomirohttps://www.blogger.com/profile/17983341260902605117noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-64799830546030824882012-07-20T03:27:24.892+02:002012-07-20T03:27:24.892+02:00Hi,
see my http binding post http://biemond.blogs...Hi,<br /><br />see my http binding post http://biemond.blogspot.com.au/2010/05/http-binding-in-soa-suite-11g-ps2.html<br />you need to provide the xsd and in the mediator you can use xslt<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-61599971669972644192012-07-16T21:05:15.752+02:002012-07-16T21:05:15.752+02:00We have Large orders XML made HTTP post to SOAsuit...We have Large orders XML made HTTP post to SOAsuite 11g, we Just need to parse/pass the PO's whatever we recieve to another partner via HTTP post, can you provide me some ideas of how to receive using HTTP binding adapter & how to Map large xmls using assign activity or How to parse XMLs.... Thanks.Anilhttps://www.blogger.com/profile/07252019722982209019noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-81838089025430879342012-05-31T04:12:29.026+02:002012-05-31T04:12:29.026+02:00even if i run it says the same thing...
any thou...even if i run it says the same thing... <br /><br />any thought and jars are missing..<br /><br />it is getting stuck at <br /><br /> locator=LocationFactory.createLocator(jndiProps);SOA and OIC Technology for beginners and learnershttps://www.blogger.com/profile/09467951255433102508noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-10821681591433486402012-05-30T21:05:43.097+02:002012-05-30T21:05:43.097+02:00hi,
is this only in debug mode, I saw some strang...hi,<br /><br />is this only in debug mode, I saw some strange errors like this when I do debug which I won't get in normal mode<br />also check if you connect to the soa server .<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-56532900233659518952012-05-30T21:00:15.936+02:002012-05-30T21:00:15.936+02:00Hi Edwin.. when i am running code i am getting the...Hi Edwin.. when i am running code i am getting the following error inspite of adding all the jars mentioned above.. please help..<br /><br />it is giving error at locator=LocationFactory.createLocator(jndiProps);<br /> in the debug mode<br /><br /><br />=====================================================================<br /><br /><br />Exception in thread "Main Thread" SOA and OIC Technology for beginners and learnershttps://www.blogger.com/profile/09467951255433102508noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-53952714509928002872012-03-05T07:54:57.724+01:002012-03-05T07:54:57.724+01:00Thanks Edwin. Will try the direct binding approach...Thanks Edwin. Will try the direct binding approach.<br /><br />ThanksSriharshanoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-83972587057776917512012-03-01T20:41:07.070+01:002012-03-01T20:41:07.070+01:00Hi,
Can you test my example first on your environ...Hi,<br /><br />Can you test my example first on your environment and see how that goes. You can better use directbinding instead of directbinding<br /><br />https://github.com/biemond/soa11g_examples/tree/master/SOA_Directbinding <br />where I use adf binding and directbinding <br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-80956982218494487852012-03-01T20:37:50.146+01:002012-03-01T20:37:50.146+01:00It should work I guess.
But for test you need to ...It should work I guess.<br /><br />But for test you need to have a response, that's why I use BPEL in this demo.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-27696853056541061822012-03-01T20:36:50.215+01:002012-03-01T20:36:50.215+01:00Hi,
Strange, so it is invoked and you see the ins...Hi,<br /><br />Strange, so it is invoked and you see the instance in the EM and get a valid response.<br /> <br />Can you test my example first on your environment and see how that goes. You can better use directbinding.<br /><br />https://github.com/biemond/soa11g_examples/tree/master/SOA_Directbinding where I use adf binding and directbinding <br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-1274655349563601602012-03-01T20:26:19.842+01:002012-03-01T20:26:19.842+01:00hi edwin nice blog
but when i am running startpro...hi edwin nice blog<br /><br />but when i am running startprocess <br /><br />SEVERE: Failed to create a DirectConnectionFactory instance (oracle.soa.api.JNDIDirectConnectionFactory): oracle.soa.api.JNDIDirectConnectionFactorySOA and OIC Technology for beginners and learnershttps://www.blogger.com/profile/09467951255433102508noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-24527036721775083982012-03-01T10:56:28.079+01:002012-03-01T10:56:28.079+01:00Hi,
Can we invoke a mediator service instead of B...Hi,<br /><br />Can we invoke a mediator service instead of BPEL service. I am getting an error.<br /><br />ThanksSriharshanoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-48672242667404359722012-03-01T10:55:22.464+01:002012-03-01T10:55:22.464+01:00Hi,
I am using adf binding to invoke a synchronou...Hi,<br /><br />I am using adf binding to invoke a synchronous BPEL service. Even though the code is running fine and I am able to invoke the service, getting the below error message. But the service is being invoked. Can you please let me know the reason:<br />SEVERE: Failed to create a DirectConnectionFactory instance (oracle.soa.api.JNDIDirectConnectionFactory): Sriharshanoreply@blogger.com