0 Replies Latest reply on Oct 15, 2007 10:23 AM by Aldo Lezza

    How to test a deployed process?

    Aldo Lezza Newbie

      Hi all,
      I realized a project, I succssfully deployed it.

      I don't know how to write a client to test if the process I deployed works fine.

      I tried by modify the ones I find with jboss examples but I got client-side errors. The error is


      
      [junit] 16:22:22,943 WARN JSR109ClientMetaDataBuilder : Cannot obtain the SEI mapping for: {http://esempio/jaws}Login
       [junit] 16:22:22,977 ERROR ServiceObjectFactory : Cannot create service
       [junit] org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://esempio/jaws}logOn
       [junit] at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataRpc(JSR109MetaDataBuilder.java:247)
       [junit] at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:196)
       [junit] at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208)
       [junit] at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126)
       [junit] at org.jboss.ws.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:112)
       [junit] at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:181)
       [junit] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
       [junit] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
       [junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
       [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
       [junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
       [junit] at $Proxy1.lookup(Unknown Source)
       [junit] at javax.naming.InitialContext.lookup(InitialContext.java:351)
       [junit] at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.setUp(AtmFrontEndTest.java:53)
       [junit] at junit.framework.TestCase.runBare(TestCase.java:125)
       [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
       [junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
       [junit] at junit.framework.TestResult.run(TestResult.java:109)
       [junit] at junit.framework.TestCase.run(TestCase.java:118)
       [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
       [junit] at junit.framework.TestSuite.run(TestSuite.java:203)
       [junit] at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
       [junit] at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
       [junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
       [junit] at junit.extensions.TestSetup.run(TestSetup.java:23)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
      
      


      Any help to this is accepted. Bye