8 Replies Latest reply on Apr 7, 2008 9:21 AM by pramod_bs

    JBoss web service client

      I m a hardcore amateur to JBoss Appn server and Jboss Web services......can neone pls throw light on how to devolop a client for a JBoss web service in Java in Eclipse.....plz provide a detailed step-wise procedure or redirect me to some page that could help me out.....plz its urgent.....would b highly obliged.....thnk u.

        • 1. Re: JBoss web service client
          peterj

          Are you more interested in "how to create a web service and client" or "how to use Eclipse"? (I was going to write more but decided to wait for your reply.)

          • 2. Re: JBoss web service client

            thnnx for reciprocating.....i want to devolop a web service from an existing EJB and its corresponding client using eclipse and jboss web services(obviously).....Plz help Peter....its a lil urgent......awaiting a reply at the earliest.

            • 3. Re: JBoss web service client
              peterj

              Let me rephrase the question. If I told you how to turn the EJB into a web service, but I did not mention Eclipse, would that work for you?

              Oh, and are you using EJB3?

              • 4. Re: JBoss web service client

                I m using EJB3.....i m using Eclipse Europa......so ejb3 and eclipse would be a necessity....i have a ejb .....n i need to implement it as a web service......so that part n devoloping a client that could use the web service ....again in eclipse.....so to summarise.....i need to devolop a web service from an existing ejb(ejb3) and a web service client that could use the web service n both these things have to b done using eclipse.....plz help....thnx.

                • 5. Re: JBoss web service client
                  peterj

                  Based on your answer, it would not help you if I told you how to turn your EJB3 session bean into a web service if I did not tell you the steps to take in Eclipse. I am not familiar with what tools Eclipse, or any of its addons, provide for creating web services, so I will let someone who has created web services in Eclipse answer you.

                  • 6. Re: JBoss web service client
                    pramod_bs

                    You can use wsconsume utility from JBoss (JBOSS_HOME/bin) to create all the artifacts needed for creating a client.

                    wsconsume -k -o <dir name>

                    • 7. Re: JBoss web service client

                      Thanx Pramod for replying.....already done with the wsconsume part......tell me something about the client.....got some kind of error related to SOAP messages.

                      • 8. Re: JBoss web service client
                        pramod_bs

                        Can you please post your code.