[JBossWS] - Accessing jaxws web service gives error complaining about no
by rickcr
This is driving me nuts. I have installed jbossws on jboss (both on 4.0.5 and 4.2). I deploy my ear and the webservice is created and I can access the wsdl. I then use wsconsume to create some stubs. For now, I'm just trying to test this from a client running on the same server, so I thought I'd only need the generated Service stub.
I call it from my client as:
| SpecProcessorService specService = new SpecProcessorService();
| SpecProcessor specProcessor = specService.getSpecProcessorPort();
| //...
|
It errors out on trying to get the Port...
| 00:27:39,375 ERROR [SpecProcessClient] Error in SpecProcessClient client:
| org.jboss.ws.WSException: Cannot load java type: net.learntechnology.sample.ejb.slsb.jaxws.ProcessSpec
| at org.jboss.ws.metadata.umdm.ParameterMetaData.getJavaType(ParameterMetaData.java:275)
| ...
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: net.learntechnology.sample.ejb.slsb.jaxws.ProcessSpec
|
...
What I don't even get is why it's complaining about not being able to find:
net.learntechnology.sample.ejb.slsb.jaxws.ProcessSpec
I don't even have a package by that name. I have packages that start with net.learntechnology.sample.ejb.slsb but nothing with jaxws.ProcessSpec
I'm really stumped here. Any idea what I'm doing wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059002#4059002
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059002
18Â years, 9Â months
[JBoss jBPM] - Testing lengthy process: is it possible to snapshot a proces
by alex.x.zhang
I am new to jBPM so this question may sound dumb.
I just joined a project which uses jBPM with a process of 100+ tasks. Now in the integration testing, in order to test a task, for example task #75, we have to go through the first 74 tasks to prepare the process instance, which is obviously very time consuming.
My question is that: is it possible to make a snapshot of the process instance, its token tree, and its task instances, then restore the whole thing later? In my example, I will make a snapshot right after task #74 is done, then do my testing of #75, then rewind back to the snapshot so I can retake #75 if needed.
I am thinking of serialize all these objects into an external file.
Please let me if there is an existing approach out there. and please comment on this approach if it is possible.
Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059001#4059001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059001
18Â years, 9Â months