tag:blogger.com,1999:blog-2627747309936375689.post5524403782877329637..comments2024-01-09T08:11:30.701-06:00Comments on Blog posts around Oracle SOA Suite,Adobe Experience Manager(AEM),Dispatcher and Web technologies: Oracle SOA Suite – Getting the payload from the Composite instance through Java API - Part1Tech Forumhttp://www.blogger.com/profile/06872295047306188060noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-2627747309936375689.post-33755757954120242252015-03-18T15:08:10.889-05:002015-03-18T15:08:10.889-05:00Albin,
I am getting the following error while co...Albin,<br /> I am getting the following error while compiling the source:<br /><br />C:\>javac GetXMLPayload.java<br />GetXMLPayload.java:43: cannot find symbol<br />symbol : method getChildComponentInstances(oracle.soa.management.util.ComponentInstanceFilter)<br />location: class java.lang.Object<br /> List componentInstance = compositeInstance.get(0).getChildComponentInstances(instanceFilter);<br /> ^<br />GetXMLPayload.java:46: cannot find symbol<br />symbol : method getAuditTrail()<br />location: class java.lang.Object<br /> Document docAudit = XMLUtil.convertToDOM(componentInstance.get(0).getAuditTrail().toString());<br /> ^<br />Note: GetXMLPayload.java uses unchecked or unsafe operations.<br />Note: Recompile with -Xlint:unchecked for details.<br />2 errors<br /><br />Does it require any libraries in the classpath?<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-39874118309637725972013-08-31T08:15:21.417-05:002013-08-31T08:15:21.417-05:00Hi Albin,
Thanks for an excellent post. I was look...Hi Albin,<br />Thanks for an excellent post. I was looking exactly for this, and it worked in my case. However if the payload is too huge, the program fails to fetch. I noticed this happens when the payload is extremely big, say from em console to see the payload, one has to scroll and the server takes a pause to fetch remaining payload. <br /><br />I have 2 questions<br />1. Is there a way to handle it in program to fetch such large payload?<br />2. For knowledge purpose- curious to know where all you learned this stuff? especially picking and using the right APIs<br /><br />Thanks, <br />Antony<br />Anonymoushttps://www.blogger.com/profile/09146727882441009219noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-35885850386039788852013-08-02T01:04:24.889-05:002013-08-02T01:04:24.889-05:00Payload is nothing but a XML message revived by BP...Payload is nothing but a XML message revived by BPEL or send by BPEL to other partner systems invoked.<br /><br />In BPEL perspective all the XML message we will be calling as payload.<br /><br />Please let me know if you need more clarifications.<br /><br />Regards<br />Albin IAlbinhttps://www.blogger.com/profile/17147521573616511847noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-76757700502266020972013-07-17T09:24:01.373-05:002013-07-17T09:24:01.373-05:00Hello,
I heard people talk about payload, but I d...Hello,<br /><br />I heard people talk about payload, but I don't know about it.<br />Could you please tell me what kind of information we can get from payload and what is it used for? If possible, please give me the links to any useful documents that talk about it.<br /><br />many thanks in advance,<br />sopheaSopheahttps://www.blogger.com/profile/09211510265990896764noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-61066726217801115842013-06-17T02:27:17.680-05:002013-06-17T02:27:17.680-05:00I was looking for this exactly. Thanks for the use...I was looking for this exactly. Thanks for the useful post.<br /><br />I noticed that in some cases audit trail doesn't gives the instance payload at all in audit trail. However when you go and trace that bpel instance on em console there it retrieves the payload I don't know from where. Pasting here one sample audit trail where detail node is empty but on em console it gives the payload in trace.<br /><br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br />Look at 7th event node. Is there any solution/workaround for this issue?Ashishhttps://www.blogger.com/profile/07956899421371396447noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-17559185475081447872013-06-12T07:02:54.886-05:002013-06-12T07:02:54.886-05:00We are trying to use this piece of code for reproc...We are trying to use this piece of code for reprocessing bulk orders however we face a problem in extracting the payload. <br /><br />It errors out "[Fatal Error] :1:1: Premature end of file." and on analysis, found that details attribute is missing in audit string for few interfaces. So xpath function is throwing the above error...<br />How to counter such problems..? Any ideas will help us a lot...Sundarnoreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-40768710398362131452013-01-07T03:47:48.553-06:002013-01-07T03:47:48.553-06:00Even i have faced the same issue anyhow for my sce...Even i have faced the same issue anyhow for my scenario the issue has been resolved by setting filter.setId(compInstanceId);<br /><br />Albinhttps://www.blogger.com/profile/17147521573616511847noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-1464726819647398052013-01-02T14:36:36.909-06:002013-01-02T14:36:36.909-06:00Great post! I have found that the CompositeInstan...Great post! I have found that the CompositeInstanceFilter doesn't perform as expected when I try setRevision("1.2"). I end up with both "1.2" revisions and "1.21" revisions of composite. Have you experienced this and do you have a suggestion to avoid the issue?Jon-Erichttps://www.blogger.com/profile/11729409691038698406noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-42469196473815029572012-07-24T08:17:33.438-05:002012-07-24T08:17:33.438-05:00no xpath change required for individual cases.
I ...no xpath change required for individual cases.<br /><br />I guess this issue could be because of class path issue.<br /><br />Provide me the full error stack so that i can try to look into that.<br /><br />Regards<br />Albin IAlbinhttps://www.blogger.com/profile/17147521573616511847noreply@blogger.comtag:blogger.com,1999:blog-2627747309936375689.post-44294123470082131722012-07-23T22:26:35.520-05:002012-07-23T22:26:35.520-05:00Useful post Albin. However, mine ended up in a SAX...Useful post Albin. However, mine ended up in a SAXParserException. Are some changes to the xpath expression needed for individual cases?bitoftechhttp://technicknacks.blogspot.comnoreply@blogger.com