3 Replies Latest reply on Jun 9, 2005 4:55 AM by Claire Costello

    Getting Started Guide - Release 4

    Claire Costello Newbie

      Hi All,

      Sys dets:
      JBoss 4.0.1
      JDK 1.4.2
      Getting Started Tutorial Release 4

      The problem reported from the JBoss deployer when I try to deploy Web service (section 5.2) is:

      [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ebank.jboss.com}AccountList
      11:55:57,151 ERROR [ServiceDeployer] Cannot startup webservice for: bankws-ejb.jar
      org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested throwable: (RuntimeErrorException: null Cause: java.lang.NoSuchMethodError: org.apache.axis.utils.JavaUtils.isArrayClass(Ljava/lang/Class;)Z)

      Can anyone help with this error? Is it anything to do with the version of JBoss I'm using?
      Many thanks.
      -Claire

        • 1. Re: Getting Started Guide - Release 4
          Claire Costello Newbie

          Hi,

          A possible answer to my question?

          Originally, to get rid of errors arising from the ant package-ws task (see Sec 5.2 of Getting Started Guide v 4) being unable to find org.jboss.axis.wsdl.Java2WSDL to create the WSDL file for the Duke's bank example, I copied axis. jar into the /lib directory of my server configuration. In addition to this, I edited the jboss-build.xml file that comes with the Getting Started Guide to look for org.apache.axis.wsdl.Java2WSDL rather than org.jboss.axis.wsdl.Java2WSDL. However, even though the wsdl ant command was now creating the WSDL file, the deploy command was failing at the JBoss AS side of things. (see error in initial post). So, I removed axis.jar from where I copied it, left the build file as it was and generated the WSDL file and deployed it successfully. It appears the error was with the build file (jboss-build.xml) in the first place.

          Has anyone else come across this? Is there another explanation?

          Many thanks,
          Claire

          • 2. Re: Getting Started Guide - Release 4
            Norman Richards Master

            For 4.0.1, you need an older version of the getting started guide. There have been some WS changes. Try running with 4.0.2.

            • 3. Re: Getting Started Guide - Release 4
              Claire Costello Newbie

              Hi,

              Thanks for that. I will be installing 4.0.2 soon. Another thing, do you happen to know was this means:

              [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ebank.jboss.com}AccountList

              It occurs when deploying the WS.

              Many thanks,
              Claire