[JBossWS] - Re: Call a web service
by rodosa
The before exception was solucionated putting the libraries into the endorsed lib folder of my JAVA_HOME. But now I have another problem. I was looking information about that in google and I think that is a problem of bad situation of my files I don't now exactly. This is the exception:
| Exception in thread "main" com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class ws.jaxws.Hola is not found. Have you run APT to generate them?
| at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:249)
| at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:545)
| at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:492)
| at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:334)
| at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:220)
| at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:588)
| at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:291)
| at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:274)
| at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:267)
| at javax.xml.ws.Service.getPort(Service.java:92)
| at client.JbpmServiceService.getJbpmServicePort(JbpmServiceService.java:52)
| at client.JbpmWSClient.main(JbpmWSClient.java:91)
|
|
And my files are in the following directories:
*client* //The client and the files generated with wsconsume
-Hola.java
-HolaResponse.java
-JbpmService.java
-JbpmServiceService.java
-JbpmWSClient.java
-ObjectFactory.java
-package-info.java
*ws*
-JbpmService.java
Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137009#4137009
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137009
18 years, 1 month
[EJB/JBoss] - Re: Hot deploying EJBs
by FrankTheTank
Do *.jar files even get read by the JBoss hot deploy scanner?
Or do you mean a *.ear?
Did you replace the *.ear?
Just to make sure you are using the correct files. Countless times I have tripped over that one.
Are you using exploded deployment?
If not, skip this part. If you are curious, read on.
What I presume javarebel means is when you do exploded deployment.
Meaning you can unpack the contents of your ear/war/whatever into a folder with the name of your package + extension (unpack MyApp.ear -> ./MyApp.ear/) then you can simply replace the embedded jar file but need to touch the controlling .xml file JBoss requires the package to have.
Note, you can only have one of the possibilities in your deploy folder.
Either the directory or the package.
Sounds more complicated then it is.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136990#4136990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136990
18 years, 1 month