BPM Process Context Issue
Hi Experts,
Can i use WDJ context as process context in BPM(Once i assigned WDJ component to a Task, i can able to see the WD context in Data types ) or we have to create a separate xsd in BPM. i came to know about this functionality so only asked.
Also i want to pass more values during starting of the process. I know it can be done through WS. Any other option is available?
Regards,
Arun
Hi Arun,
You are triggering the Process in WDJ with a webservice. so the values you assigned to the WS attributes in WD will be available in Start event of the Process.(not in the process context)
Now you can have mapping between your start event and process context to get the data in process context and use it further steps.
Hope it helps.
Thanks.
Priya
Similar Messages
-
ALBPM 5.7 BPM process admin issues with Oracle 11g RAC as directory service
Hi,
Setup ALBPM 5.7 enterprise for weblogic.
BPM Engine deployed on weblogic cluster.
BPM process admin (web console) deployed on tomcat.
BPM process admin uses WEB-INF/directory.properties for directory configuration.
things were fine with oracle SID,
directory.default.url=oracle://<db_host>:1521/schema=diruser,sid=BPMDB { with this, login to process admin was working fine}
But clueless, on how to configure RAC as the directory service in the above directory.properties file. Since this is a old version, no directory.xml in the installation.
Connection string:
(DESCRIPTION =
(LOAD_BALANCE = on)
(FAILOVER = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = BPMDB)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
Please help how to use service name (above connection string) in directory.properties, to be able to login to process admin successfully.
Thanks in advance,
SwamyUsing admin center, able to get the string to be used in directory.properties.
FYI, the string looks like below,
directory.default.url=oracle://customURL:0/schema=bpmdirectory,customURL=jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE = on)(FAILOVER = on)(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = BPMDB.DOMAIN.COM) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC)))) -
Issue with using BRM Ruleset inside a BPM Process
Hi all,
I am trying to use a BRM Ruleset using a Mapping artifact inside my BPM process. I have used the same data type (XSD) for my process context and my ruleset parameters.
Yet on building the Process DC, I get an error that "java.lang.IllegalArgumentException: Invalid restriction, base is not set on... ". I haven't be able to find the cause of the issue as I have passed the same parameter the Ruleset expects.
Wondering if anyone else is experiencing the same issue? Or am I missing somthing here?
Thanks
SureshHi Suresh,
We need more information on the error occured. Can you please provide me with the complete error message you are getting?
Also, if possible can you provide the complete error log here.
Thanks and Regards,
Arti -
BPM Process - Exception handling or timeout issues?
Hi Guys,
I have a BPM process as below.
1. Receive step: Receive the file with multiple transactions.
2. Transformation step: Split the file into individual transactions
3 Block step which includes -- par for each mode
1. Send Step (Synchronus): Each individual transaction needs to contact the 3rd party system and get the response. -- Do i need to handle any exceptions here ?
2. Container : Collect all the responses
Block ends
4. Transformation: combine all the responses in to a single file
5. Send Step: synchronus -- send the above single file and get the response back
6. Transformation : Transform the above response into the target structure.
7. Send: send the message asynchronusly to the target system
I need suggestion regarding the exceptional handling or any time out issues, i need to take care of.
any suggestions would be really appreciated
Thanks,
Raj
Edited by: raj reddy on Feb 12, 2009 10:12 PMHi,
I) For the Block holding the Sync Send, create an Exception Block. (right click on Sync Send -> Insert -> Exception Branch)
II) Name the Exception block (ex: exceptionHandler).
III) in the Sync Send step ->Properties -> Exceptions -> in System Error - add exceptionHandler.
IV) Now within the Exception handler block you can create containers to hold values from payload, throw exception as email etc).
This will cover your sync send step incase there is an error while sending the request of a timeout during receiving the response.
You can also do the same for the Step 7) Asycn send - if required.
Another suggestion in your question Step 6) can be done outside the bpm, when you do the interface determination for that Asycn Send you can add the Interface mapping that will map the responses to the target structure.
Doing this will reduce one step in your BPM. For further information in how more you can fine tune your bpm, read this blog - https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5113. [original link is broken] [original link is broken] [original link is broken]
All the best.
Regards,
Balaji.M -
Issue with Service Group Configuration for a BPM Process
Hi,
I am working on BPM processes on CE 711. I need to use the Service Group settings. I created a BPM process with a automated activity that maps to an enterprise service in HU2 (SAP ES Workplace system).
After setting up the configuration in NWA for service registry and service group, I run the BPM process. The Enterprise Service runs into error and log records it as 'No matching BindingData is found for SOA smart configuration'. I have done most of the configuration as recommended but the matching end point
url seems to be picked wrongly [http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_employeebasicdbyemployeeqr?sap-client=800] .
I could not get any info on notes search and could not get much info about service group config. Any help here is greatly appreciated.
Regards
SureshHi Suresh,
i just got an answer on my ticket. Here it is:
There is a known issue with the upper case of the endpoint published in
the Services Registry and in the WSDL.
Before SP2 the matching for the binding for invocation is done
by the endpoint url. There is a known issue that the endpoint published
in the Services Registry is with lower case of the characters but in theWSDL the endpoint is with upper case. In your case the endpoint url in
the Services Registry is as shown in the exception above:
http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_srvcreqcrtrc?sap-client=800
but in the WSDL the endpoint url is with upper case of the endpoint:
../ECC_SRVCREQCRTRC/..
Because of this difference the call fails. This is fixed is 711 SP2.
Workaround for this is if you create a Provider System based on your
WSDL, not a Services Registry one.
Hope that helps...
Best regards
Michael -
BPM Process Spaces: Attachments and Comments issue
Hi,
I've integrated BPM Process Spaces with WebCenter Spaces. When I'm trying to initiate a Process and send comments and attachment, the values for them is not passed from step to another. For example, if user A initiate a task with comments and attachments and send it to user B; user B can't see the comments and attachments from user A.
I searched the internet and I found conflict answers, some answers are saying that comments and attachments are not supported and others are saying it's working.
Can please someone give me a definitive answer and the configuration required if any?
Also can someone give me a definitive answer about how to configure BPM to store attachment in UCM?
This is urgent as I'm preparing a customer POC next week.
Thanks
Regardsafter some investigations I found the following:
- Users can attach documents and provide comments on task level from the task details page. The attachments and comments will only be available for this specific task but not on the process level.
- Users can attach documents and provide comments on Process level from the Process Tracking page-> Audit Trail part. The attachments and comments will available for all the tasks in the process
- in BPM 11.1.1.5 Features Pack. Integration with UCM has been developed and also comments and attachments can be defined as Task level or Process level when ever the user want to provide one.
Hope this helps.
Thanks
Regards -
BPM: Retrieving info utilizing a JDBC in my BPM process
I receive an IDOC from R/3 which I want to evaluate and send to a third party system(RNIF adapter). Upon receiving the message I transform the data and then attempt to send the required fields through a JDBC adapter to retrieve needed information from a SQL database. This information will then be used to determine what leg of the BPM process it will travel.
My issue is how to configure the send step for connecting to the SQL database using a JDBC adapter.
Mode: Synchronous
Interface: mi_read_sql_abstract
Request_Messsage: cwf_select
Response Message: cwf_info
Receiver From: Send Context
How do I setup the Receiver Determination and Receiver Agreement in the Directory so the process can connect to the database and send the response message? Both, cwf_select and cwf_info, point to Message Interfaces that are defined as Abstract Asynchronous.
Thanks,
AudraAudra,
Receiver determination :
Sender Service :BPM
Sender Interface: Synchronous interface
Configured receivers : target business system[SQL]
Interface Determination:
Sender Service : BPM
Sender Interface :Synch interface
Receiver service:target business system[SQL]
Inbound Interface :Synch interface
Receiver agreement:
Sender Service : BPM
receiver servcie:target business system[SQL]
receiver interface:Synch interface
receiver communication channel : receiver jdbc adapter
Best Regards,
raj. -
Task's Process context doesn't get updated in parallel tasking
All,
I have a parallel task in my BPM process flow; the parallel task can have a max of 3 owners. The owners can either approve / reject the task. There are 3 boolean attributes in the process context that are used to store the decisions of these task owners.
When the process is initiated, these 3 attributes are set to true. So, there is no issue if all the 3 owners approve the task. The flow continues. If one of the owners reject first, followed by the other 2 owners approving the task, then the decisions are not captured. Hence, rejection flow is not triggered at all. But if the first 2 owners claiming the task approve and the last one rejects, the rejection flow is triggered.
Observation: When a owner approves / rejects, I am able to see the changed decision in NWA PROCESS context and in the output mapping of this task. But now, when the 2nd owner claims the task, the input mapping of this task doesnt have the updated value of the first owner's decision.
How to solve this issue?
Can someone please assist?
Many thanks,
Subathra MHi Subathra,
Is it the same webdynpro component that is assigend to the 3 parallel task? In that case you can use one attribute to capture the decision. if tthe first user selects approve and then the second user select reject the attribute will be updated to reject.
Regards,
Shilpa -
Migration of Open Tasks when BPM Processes Change during major releases
Hi
This is the most often scenario faced by many project teams during Go-Lives of BPM Processes.
We would like to migrate BPM tasks from older BPM processes to newer BPM process. And there is substantial changes done between two releases.
Though I am aware that older BPM tasks created get suspended, is there way to do the following:
1. Use any migration tools to migrate old BPM tasks to newer BPM task
2. Simultaneously have both Older and Newer BPM Processes run in Environment, let them co-exist till the old BPM tasks get completed
What is the recommended approach for these kind of situations, when its not possible to either of the above activities.
Thanks and Regards,
SrikantHi Srikant,
we were facing the same issues. We have a solution for this, but it has some prerequisites to make it work. I actually talked about it at the DSAG (German SAP User Group) conference (see blog) and promised the audience to blog about it in more detail, but haven’t yet found the time to do so.
First very important is to understand how the life cycle works. There are two very important documents to read:
SAP Note 1865683
SCN Artikel Understanding Business Process Lifecycle Management Features of SAP NetWeaver BPM
With complex processes and major changes, it is very complex to maintain multiple versions. If you read through the above mentioned documents that becomes very clear. Also there are other complexities, for example code reuse, data, support desk issues or user training. There are also some restrictions running multiple versions of the same process (SAP Note 1865683)
So here is in short what we did.
We keep all our process data outside the process context in a database including the state, i.e. the current process step. When we deploy a new major version, we cancel all running process instances and then restart them with the new process model. To restart processes we use the SAP scheduler which starts a process if a specific status value is found.
If you don’t have your process data easily available you could use the process export function in the NWA. The export is an XML file that you could possible parse, but I haven't actually tried this method.
In the process model we have an exclusive choice gateway where can import a process to specific process step. This happens right at start of the process. The gateway evaluates the status value mentioned above to decide where to go.
I hope to find the time to write the blog soon. Here I could give you a complete example how we do the reimport of processes.
I’m also very interested in other ways to achieve this, so this should be an interesting discussion.
Regards
Detlev -
BPM Process chain takes long time to process
We have BI7, Netweaver 2004s on Oracle and SUN Solaris
There is a process chain (BPM) which pulls data from the CRM system into BW. The scheduled time to run this chain is 0034 hrs. This chain should ideally complete before / around 0830 Hrs. <b>Now the problem is that every alternate day this chain behaves normally and gets completed well before 0830 hrs but every alternate day this chain fails </b> there are almost 40 chains running daily. Some are event triggered (dependent with each other) or some run in parallel. In this, (BPM) process chain, usually there are 5 requests with 3 Delta and 2 full uploads (Master Data). The delta uploads finishes in 30 minutes without any issues with very few record transfers. The first full upload is from 0034 hrs to approximately 0130 hrs and the 2nd upload is from 0130 hrs to 0230 hrs. Now if the 1st upload gets delayed then the people who are initiating these chains, stop the 2nd full upload and continue it after all the process chains are completed. Now this entire BPM process chain sometimes takes 17 -18 hrs to complete!!!!!
No other loads in CRM or BW when these process chains are running
CRM has background jobs to push IDOCS to BW which run every 2 minutes which runs successfully
Yesterday this chain got completed successfully (well within stipulated time) with over 33,00,000 records transferred but sometimes it has failed to transfer even 12,00,000 records!!
Attaching a zip file, please refer the 21 to 26 Analysis screen shot.doc from the zip file
Within the zip file, attaching Normal timings of daily process chains.xls the name explains it .
Also within the zip file refer BPM Infoprovider and data source screen shot.doc please refer this file as the infopackage (page 2) which was used in the process chain is not displayed later on in page number 6 BUT CHAIN GOT SUCESSFULLY COMPLETED
We have analyzed:--
1) The PSA data for BPM process chain for past few days
2) The info providers for BPM process chain for past few days
3) The ODS entries for BPM process chain for past few days
4) The point of failure of BPM process chain for past few days
5) The overall performance of all the process chains for past few days
6) The number of requests in BW for this process chain
7) The load on CRM system for past few days when this process chain ran on BW system
As per our analysis, there are couple of things which can be fixed in the BW system:--
1) The partner agreement (transaction WE20) defined for the partner LS/BP3CLNT475 mentions both message types RSSEND and RSINFO: -- collect IDOCs and pack size = 1 Since the pack size = 1 will generate 1 TRFC call per IDOC, it should be changed to 10 so that less number of TRFCs will be generated thus less overhead for the BW server resulting in the increase in performance
2) In the definition of destination for the concerned RFC in BW (SM59), the Technical Setting tab says the Load balancing option = No. We are planning to make it Yes
But we believe that though these changes will bring some increase in performance, this is not the root cause of the abnormal behavior of this chain as this chain runs successfully on every alternate day with approximately the same amount of load in it.
I was not able to attach the many screen shots or the info which I had gathered during my analysis. Please advice how do I attach these files
Best Regards,Hi,
Normally index creation or deletion can take long time in case your database statistics are not updated properly, so can check stat after your data loading is completed and index generation is done, Do creation of database statistics.
Then try to recheck ...
Regards,
Satya -
Bpm process is not shown on bpm workspace but i see exception on the server
Hi Gurus,
When i try to deploy a simple BPM composite i am getting below exception.
deployment goes fine but when you open BPM workspace to initiate a instance , bpm process is not shown on bpm workspace instead i see below below error can anybody help me on this
===================
ttp://www.omg.org/bpmn20}task>,<{http://www.omg.org/bpmn20}terminateEventDefinition>,<{http://www.omg.org/bpmn20}text>,<{http://www.omg.org/bpmn20}textAnnotation>,<{http://www.omg.org/bpmn20}throwEvent>,<{http://www.omg.org/bpmn20}timerEventDefinition>,<{http://www.omg.org/bpmn20}transaction>,<{http://www.omg.org/bpmn20}userTask>
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642)
at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254)
at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:249)
at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:116)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1049)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:478)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459)
at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1329)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.Abstrac
2013-05-19T03:09:26.301-05:00] [soa_server1] [TRACE] [] [] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: e44dcdbf35e56301:-9a14728:13ebbc2239d:-8000-00000000000016a2,0] [SRC_CLASS: oracle.bpel.services.workflow.client.config.ClientConfigurationUtil] [APP: OracleBPMWorkspace] [SRC_METHOD: getClientConfiguration] WorkflowServiceClientContext: Cannot find client configuration file: wf_client_config.xml
[2013-05-19T03:10:40.511-05:00] [soa_server1] [ERROR] [] [oracle.bpm.common] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: e44dcdbf35e56301:-9a14728:13ebbc2239d:-8000-0000000000001815,0] [APP: OracleBPMWorkspace] [[
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
at oracle.bpm.project.io.serializers.model.bpmn.BPMN20Loader.load(BPMN20Loader.java:110)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.loadBPMN20CompliantModel(DefaultModelFormat.java:383)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.loadInternal(DefaultModelFormat.java:399)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.load(DefaultModelFormat.java:62)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.parse(DefaultModelFormat.java:182)
at oracle.bpm.project.io.fs.loader.ProcessesLoader.loadObject(ProcessesLoader.java:89)
at oracle.bpm.project.io.fs.loader.ProjectModelLoader.loadObject(ProjectModelLoader.java:63)
at oracle.bpm.project.io.fs.loader.ProjectModelLoader.loadObject(ProjectModelLoader.java:29)
at oracle.bpm.project.io.fs.FileProjectLoader.createFromXml(FileProjectLoader.java:148)
at oracle.bpm.project.FuegoProject.createFromXml(FuegoProject.java:901)
at oracle.bpm.client.internal.processmodel.marshalling.ProcessModelLoader.parse(ProcessModelLoader.java:137)
at oracle.bpm.client.internal.processmodel.marshalling.ProcessModelLoader.unmarshall(ProcessModelLoader.java:72)
at oracle.bpm.client.internal.processmodel.ProcessModelServiceRemoteClient.getProcessModel(ProcessModelServiceRemoteClient.java:50)
at oracle.bpm.papi.ora.mgr.SessionProcessManager.getProcess(SessionProcessManager.java:317)
at oracle.bpm.papi.ora.mgr.SessionProcessManager.getProcess(SessionProcessManager.java:119)
at oracle.bpm.papi.ora.mgr.SessionProcessManager.getProcesses(SessionProcessManager.java:142)
at oracle.bpm.papi.ora.ProcessServiceSessionAdapter.processesGet(ProcessServiceSessionAdapter.java:1359)
at oracle.bpm.workspace.model.common.PapiBean.getProcesses(PapiBean.java:3099)
at oracle.bpm.workspace.adf.model.common.BaseViewBean.initProcesses(BaseViewBean.java:600)
at oracle.bpm.workspace.adf.model.common.BaseViewBean.getAvailableProcesses(BaseViewBean.java:316)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
at com.sun.el.parser.AstValue.getValue(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.ForEachTag.doStartTag(ForEachTag.java:117)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag12(__search_jsff.java:750)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag11(__search_jsff.java:712)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag10(__search_jsff.java:650)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag3(__search_jsff.java:310)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag2(__search_jsff.java:250)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag0(__search_jsff.java:139)
at jsp_servlet._jsf._view._search.__search_jsff._jspService(__search_jsff.java:100)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag23(__viewpresentationnormal_jsff.java:1194)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag22(__viewpresentationnormal_jsff.java:1131)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag12(__viewpresentationnormal_jsff.java:734)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag5(__viewpresentationnormal_jsff.java:383)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag4(__viewpresentationnormal_jsff.java:326)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag3(__viewpresentationnormal_jsff.java:281)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag2(__viewpresentationnormal_jsff.java:233)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag0(__viewpresentationnormal_jsff.java:133)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspService(__viewpresentationnormal_jsff.java:94)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag6(__viewpresentationfixed_jsff.java:407)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag5(__viewpresentationfixed_jsff.java:353)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag2(__viewpresentationfixed_jsff.java:238)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag0(__viewpresentationfixed_jsff.java:133)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspService(__viewpresentationfixed_jsff.java:94)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag23(__masterdetails_jsff.java:1180)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag22(__masterdetails_jsff.java:1120)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag21(__masterdetails_jsff.java:1072)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag20(__masterdetails_jsff.java:1027)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag19(__masterdetails_jsff.java:982)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag18(__masterdetails_jsff.java:938)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag6(__masterdetails_jsff.java:414)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag5(__masterdetails_jsff.java:367)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag2(__masterdetails_jsff.java:252)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag0(__masterdetails_jsff.java:139)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspService(__masterdetails_jsff.java:100)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)The above issue is seen when we don't have proper FP patchset. after applying a patchset all issues sloved
-
Serialization Error after adding a new field to BPM Process
Hi,
I have a BPM Process to which I added a new attribute userid and consuming the BPM process in a web dynpro application, I created a model using the BPM Process's Web Service but getting a serialization error that the model does not have a mandatory field with name [userid]. see below.
FYI.. I can trigger my BPM process through the Web Service in wsnavigator , the error I am getting is while executing the BPM Process from the custom webdynpro.
Any idea how to resolve the issue?
XML Serialization Error. GenericObject [
<modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
] does not have a mandatory field with name [userid].
[EXCEPTION]
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. GenericObject [
<modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
] does not have a mandatory field with name [userid].
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFieldContent(SerializationUtil.java:1546)
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFields(SerializationUtil.java:1431)
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1383)
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:168)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeParameter(SOAPTransportBinding.java:1731)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1683)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:254)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1272)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)
at com.sap.demo.wdpoc.wd.comp.wdpoc.Wdpoc.execute(Wdpoc.java:257)This question is not answered but I am marking it answered because I have to post more.
Sorry
-Ashwani -
Calling Oracle BPM Process Web Service from Oracle Service Bus
Hi
I am using Oracle Service Bus 10gR3.
I have developed simple BPM process through Oracle BPM studio 10.3.1.0.I then followed steps below
1. Create a Process.
2. Expose the Process as a Web Service.
3. Run the project. This starts the Process Execution Engine.
4. Create an ALSB External Resource of type Management Host.
5. Create a second ALSB External Resource for registration.
6. Register the End Point
Until this point everything is fine. Then I created one project through Oracle Service Bus console. Under that created WSDL, Proxy Service and Business Service Folders. I am using the web service created through BPM studio as teh Business Service in SB . I then created one proxy service to route the request to the Business Service.
Finally when I try to test the Proxy Service by launching test console, I get the
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380001</con:errorCode>
<con:reason>INTERNAL SERVER ERROR</con:reason>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
I also tried to debug through "Oracle Workshop for WebLogic Version 10.3 " . But I am not getting enough details as to why this is failing.
Please help me . Thanks In advance.
Thanks
Nilay
Edited by: user8950019 on Feb 1, 2010 4:11 AMHi,
When im calling wsdl created when BPM exposed as webservice in SOAP-ui, i first hit the startSession
Request is:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<soapenv:Header/>
<soapenv:Body>
<exp:startSession>
<password>Employee</password>
<user>Employee</user>
</exp:startSession>
</soapenv:Body>
</soapenv:Envelope>
Response i Get is:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:startSessionResponse xmlns:ns1="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<return>3782hecq1s85h</return>
</ns1:startSessionResponse>
</soapenv:Body>
</soapenv:Envelope
but when i put this sessionId in main request:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<soapenv:Header/>
<soapenv:Body>
<exp:expenseReport>
<sessionId>3782hecq1s85h</sessionId>
<reportArg>
<!--Optional:-->
<comments>yes</comments>
<!--Optional:-->
<costCenter>jaa</costCenter>
<!--Optional:-->
<description>aa</description>
<!--Optional:-->
<isApproved>y</isApproved>
<!--Zero or more repetitions:-->
<items>
<!--Optional:-->
<elements>
<!--Optional:-->
<amount>700</amount>
<!--Optional:-->
<date>?</date>
<!--Optional:-->
<description>?</description>
<!--Optional:-->
<receiptChecked>?</receiptChecked>
</elements>
</items>
<!--Optional:-->
<reviewedBy>?</reviewedBy>
<!--Optional:-->
<submitDate>?</submitDate>
<!--Optional:-->
<submittedBy>?</submittedBy>
<!--Optional:-->
<total>?</total>
</reportArg>
</exp:expenseReport>
</soapenv:Body>
</soapenv:Envelope>
Response coming is :-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:244)
at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
at fuego.lang.Invokeable.invoke(Invokeable.java:160)
at fuego.soaptype.SoapListener.invokeDynamic(SoapListener.java:104)
at fuego.lang.Invokeable.invoke(Invokeable.java:160)
at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
at fuego.component.Message.process(Message.java:576)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "jaa"
at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
... 21 more
Caused by: java.lang.NumberFormatException: For input string: "jaa"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at fuego.util.Conversion.tojava_lang_Integer(Conversion.java:934)
at fuego.xobject.runtime.ConversionUtilities.fromString(ConversionUtilities.java:56)
at fuegoblock.xml.XmlElementDeserializer.deserializeElement(XmlElementDeserializer.java:175)
at fuegoblock.xml.XmlElementDeserializer.deserialize(XmlElementDeserializer.java:81)
at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:160)
at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:119)
at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:17)
... 28 more</ns1:stackTrace>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">D-113014550</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
can anyone explain why this error is coming.?
Edited by: user8937128 on May 19, 2010 6:58 AM -
Unable to Trigger BPM Process from ECC --- Need Help
Hi All,
I have created a BPM and exposed the Process as a web service. Now when ECC team is trying to trigger the BPM through the provided Web Service, they are getting the below error.
Issue is that the messages fails in ECC with the Status u201CSystem Erroru201D and this is due to reason below :
"The RM Source endpoint requests this acknowledgement by including an
<AckRequested> header block in the message. An RM Destination that
receives a message that contains an <AckRequested> header block MUST
respond with a message containing a <SequenceAcknowledgement> header
block" (Web Services Reliable Messaging Protocol 1.0).
Below is the structure of WSDL I gave to the ECC team.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/NewWSDLFile/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NewWSDLFile" targetNamespace="http://www.example.org/NewWSDLFile/">
<wsdl:types>
<xsd:schema targetNamespace="http://www.example.org/NewWSDLFile/">
<xsd:element name="NewOperation">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NewValue" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="NewOperationRequest">
<wsdl:part element="tns:NewOperation" name="parameters"/>
</wsdl:message>
<wsdl:portType name="NewWSDLFile">
<wsdl:operation name="NewOperation">
<wsdl:input message="tns:NewOperationRequest"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="NewWSDLFileSOAP" type="tns:NewWSDLFile">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="NewOperation">
<soap:operation soapAction="http://www.example.org/NewWSDLFile/NewOperation"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="NewWSDLFile">
<wsdl:port binding="tns:NewWSDLFileSOAP" name="NewWSDLFileSOAP">
<soap:address location="http://www.example.org/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Please help.This below thread solved my problem.
Start BPM Process Trigger - Read timed out
SrinivaS -
How to set the conversation id programmatically in a BPM process
Hi all,
I am using BPM/SOA 11g PS3.
Is it possible to set the conversation id programmatically in a BPM process starting with a none start event?
I know I can set it easily if I use a BPM process starting with a message start event.
All I have to do is set it in the "wsa:MessageID" node in SOAP Header when I initiate the process instance.
However, I have no idea how to set the conversation id programmatically in a BPM process starting with a none start event.
I looked for if there is any appropriate method in the Java api for the process instance management, such as IInstanceManagementService and CompositeInstance, but no method seems to be appropriate.
Does anyone know how to do this?
Regards,
Kenji
Edited by: Kenji Imamura on 2011/04/20 0:10Hi fifty,
Did you get a solution to the above problem you have mentioned? I have a similar issue i am trying to fix.
I have a webservice call in a process activity and if the call does not work i get a soap fault and the fuego.lang.ComponentExecutionException . My process requires that i catch the exception infact any kind of exceptions that occur on that call and perform another activity in the process.
I have defined an exception handler at the activity level for java.lang.Exception and java.lang.RunTimeException.
i don't see anything in the catalog which would handle the SOAP fault OR the componentexception.
Maybe you are looking for
-
Can't create chart from totals in Row Categories!!
hi folks, My table has a about 50 vendors, and each vendor has 5 -20 individual salesmen. I did not create a header/total row for each vendor and instead, I opted to create categories, which collapsed the rows and gave me totals for each vendor. The
-
Do i have the right equipment for CCNA-Wireless?
Hello community i am Adan Ramirez, an aspiring Cisco Tech, and I'm trying to get the right equipment for the ccna wireless. Here is my shopping list: 1. 2 Cisco LWAP 1252 3. NME-WLC6-K9 module card Here is what i already have at home: 1. 1841(2x) - i
-
Removing power lines using the Stroke path method
I watched a video created by Adobe Product Manager Brian O. Hughes titled Adobe Max: Hidden Gems in Photoshop an excellent video (see link below). I have been trying his easy method of removing power lines from an image using the pen tool and strok
-
Does your "Frequent locations" track every where you go?
I have an iPhone 4S running iOS7, which I updated about 2 weeks ago. However, so far no " Time to next desitination" shows up in the notification center. I went to "Frequent locations" in the Settings and found that while the phone has recorded my
-
Acrobat Pro XI crashes upon opening after downloading CC. Please Help?
Acrobat Pro XI crashes upon opening after downloading CC. Please Help?