3 Replies Latest reply on Jul 22, 2005 11:10 AM by Thomas Diesler

    Hey ... I need a complete example of web service ... could y

    Thomas Diesler Master

      What specifically is not clear about the wiki and the samples?

      http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS

        • 1. Re: Hey ... I need a complete example of web service ... cou
          darren hartford Expert

          Probably looking for an example to go with this one:

          http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSandXdoclet

          xdoclet-1.2.3 seems to have corrected some of the little annoyances.

          My sample project I'm still getting on jboss-4.0.2 deploy:
          [TypeMappingDescription] Class not found: MyBean

          But I haven't asked for help yet for fear of getting the 'use WSCOMPILE' or make sure to follow WS-Basic-Profile-1.0. Still, xdoclet-1.2.3 seems to be a lot closer, just some ignorance in figuring out what's missing/incorrect.

          -D

          • 2. Re: Hey ... I need a complete example of web service ... cou
            Barry Sheward Newbie

             

            "thomas.diesler@jboss.com" wrote:
            What specifically is not clear about the wiki and the samples?


            Thomas,

            I would like to see what JARs we should have in the classpath to run a simple JAX-RPC client. I just read a post which stated I was using Sun's implementation of JAX-RPC rather than the JBoss one. I didn't really know there was a JBoss one!

            I also read that I was using rpc/literal in my server, and rpc/encoded in my client, but I have no idea about how I did that. I wonder if I use the JBoss implementation of JAX-RPC, will it cure this problem? I'll try it, but it would be great if the Wiki contained the answers to these questions.

            Thanks and Regards,

            Barry

            • 3. Re: Hey ... I need a complete example of web service ... cou
              Thomas Diesler Master

              All the wikis assume that when talking about WS clients, either from container components or as standalone java apps, that you use the jboss jars. These are

               <path id="client.classpath">
               <fileset dir="${jboss.home}/client">
               <include name="activation.jar"/>
               <include name="axis-ws4ee.jar"/>
               <include name="commons-discovery.jar"/>
               <include name="commons-logging.jar"/>
               <include name="jbossall-client.jar"/>
               <include name="jboss-saaj.jar"/>
               <include name="jboss-jaxrpc.jar"/>
               <include name="jboss-ws4ee-client.jar"/>
               <include name="log4j.jar"/>
               <include name="namespace.jar"/>
               <include name="wsdl4j.jar"/>
               </fileset>
               </path>