[JBoss jBPM] - [jBPM-BPEL]Endpoint does not contain operation metadata????
by rainstar79
Hi,
When I want to invoke my deployed BPEL process, I got a strange exception:
| 17:25:34,241 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
| javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://SampleProject}ProcessRol
| ePort does not contain operation meta data for: {http://SampleProject}operation1
|
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.getDispatchDe
| stination(AbstractServiceEndpointInvoker.java:267)
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(Abstra
| ctServiceEndpointInvoker.java:149)
| at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoin
| t.java:204)
| at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(Se
| rviceEndpointManager.java:440)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(Abstra
| ctServiceEndpointServlet.java:114)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Abstr
| actServiceEndpointServlet.java:75)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:173)
| ....
|
|
The deployment of the process goes perfect, but the invocation fails all the time. It is a pretty simple BPEL process - according to the hello world example. It assigns an input-string directly to an output string.
Has anyone an idea how to solve this problem?!?
I am using jBoss 4.0.5.GA, jbpm-bpel-1.1beta3, jwsdp 2.0, jdk 1.5.0_12
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058258#4058258
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058258
18Â years, 10Â months
[JBoss Seam] - best way of using application scope constants?
by enzhao
In my application there are a lot of application scope values (read most, very seldom update/insert/delete), things like all Zip Codes in a country, names of all agents, etc. They resides in various different tables in the database. I want to _always_ cache them in the memory, once and for all, so that other stateful beans can use these values without creating new instances of these data wrapper class. For example,
| @Stateful
| @Name("fooAction")
| @Scope(CONVERSATION)
| public class FooAction implements Serializable, Foo{
|
| //here i want to load the in-memory data like all zipcodes....
| private SomeBean applicationScopeValues;
| .....
|
| }
|
|
What is the best way?
If I use bijection, I would need to create a stateful bean (or stateless, if the data is 100% read-only), annotate the application scope, and then in this bean, do things like:
|
| @Stateful
| @Scope(APPLICATION)
| @Name("dataStore")
| public class DataStoreImpl implements Serializable, DataStore{
|
| //how do I get reference of this list from other action beans if I use
| // use the @Out here?
| private List<Zipcode> allZipcodes;
|
| @Create
| public void findAllZipcodes(){
| String query ="select z from Zipcode z";
| this.allZipcodes = entityManager.createQuery(query).getResultList();
| }
|
| //getters and setters
| }
|
|
Then in the FooAction class, I would need to do:
| @In(create=true) private DataStore dataStore;
|
Am I doing right this way? Can I avoid creating multiple instances of the DataStore this way?
Any better options? Thanks very much in advance!!
Regards,
Ellen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058257#4058257
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058257
18Â years, 10Â months