[JBossWS] - IllegalStateException: Cannot load SecurityAdaptor while run
by timeagentess
Hello all,
I am trying to run the SwaRef test sample from JBossWS 2.0 (working under JBoss 4.0.5).
After building the tests, I execute ant -Dtest=jaxws/samples/swaref and I get this exception:
java.lang.IllegalStateException: Cannot load SecurityAdaptor
| at org.jboss.wsf.spi.invocation.SecurityAdaptorFactory.getSecurityAdaptor(SecurityAdaptorFactory.java:40)
| at org.jboss.wsf.spi.test.TestDeployerJBoss.invokeMainDeployer(TestDeployerJBoss.java:81)
| at org.jboss.wsf.spi.test.TestDeployerJBoss.deploy(TestDeployerJBoss.java:68)
| at org.jboss.wsf.spi.test.JBossWSTestHelper.deploy(JBossWSTestHelper.java:58)
| at org.jboss.wsf.spi.test.JBossWSTestSetup.setUp(JBossWSTestSetup.java:94)
| at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
| at junit.framework.TestResult.runProtected(TestResult.java:128)
| at junit.extensions.TestSetup.run(TestSetup.java:27)
| at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
| at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
| at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
|
Same exception is thrown for every other test sample in the suite.
Can someone please offer some insight as to why this might be happening?
Thank you!
--Chris.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086502#4086502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086502
17 years, 3 months
[JBossWS] - could not find deserializer
by itrahulsoni
HI,
All
Tools I have used: JBoss 4.0.5GA wstools shiped with this server
Ant 1.6.5
I am developing webservice using the wstools that is shiped with the {JBoss_home}/bin directory
I have created simple service that will make addition of two numbers I have created wstools-config.xml file and web.xml file and rest of the files are generated by wstools like jax-rpc_mapping.xml and webservices.xml and the .wsdl file now when I am developing method that return void that works fine for me and when I am developing the method that return any type means String or Int it will throw the error could not find deserializer for the resule where encoding type = null when I am trying to invoke service using client.
Please help me to come out of the Problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086444#4086444
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086444
17 years, 3 months