1 Reply Latest reply on Jun 6, 2007 1:47 PM by cowsudders

    Error Deploying documentliteral Web Service created in Netbe

    cowsudders

      Hi all

      I'm attempting to create a simple document literal web-service in JBoss 4.0.5 by using Netbeans 5.5. All is fine in Netbeans, but I receive the following error when deploying into JBoss:

      org.jboss.ws.WSException: Cannot load java type: company.name.lsp.security.interfaces.SecurityServiceSEI_InitialiseSession_RequestStruct

      Can someone please provide some help/guidance as to the commands/tools I need to use in order to create these server artefacts? I assume I need to use wstools - but what command do I need to use?

      Can I amend the Netbeans build.xml file to run the command automatically?

      Here is the SEI file:
      public interface SecurityServiceSEI extends Remote {
      /**
      * Web service operation
      */
      public SessionMsg InitialiseSession(SessionMsg msg) throws java.rmi.RemoteException;

      }


      Here is the Impl file:

      public SessionMsg InitialiseSession(SessionMsg msg) throws java.rmi.RemoteException {
      System.out.println("We are in Initialise Session");
      return msg;
      }


      If anyone requires more information, please ask and I will provide.

      Any help that can be provided will be much appreciated - thanks!

      Dave

        • 1. Re: Error Deploying documentliteral Web Service created in N
          cowsudders

          I've now solved the problem if anyone else is suffering the same problem.

          I abandoned Netbeans and manually used wscompile to build the web-service server artefacts (including the mapping XML file). I then manually created the following:

          web.xml
          webservices.xml
          SEI_Implementation_Class

          and it successfully deployed into JBoss and it is being called successfully from a .NET application.

          Cheers
          Dave