4

Hi I am new to SOAP web services and trying to create a client. I am following This tutorial but the problem which I am facing is Sometimes it generates the client stub in the form of .java files and sometimes it generates proper client with some .jsp pages like test.jsp, intput.jsp etc.

I have tried searching a lot on internet. Please let me know why it generates two different kind of clients though I am following the same process.

I have generated my client using wsimport but I just want to know, what is causing eclipse to generate two different clients at different times. may be some bug or some detail that I have missed.

David Brossard
  • 13,584
  • 6
  • 55
  • 88
ankit
  • 4,919
  • 7
  • 38
  • 63
  • 1
    Good question! I always generate stub from WSDL with standard java `wsimport`. [Here is one usefull link for creating web service in Eclipse.](http://pettergraff.blogspot.com/2010/11/developing-web-service-in-eclipse.html) – herry Oct 08 '13 at 06:55
  • @herry thanks for the link, now I also generate my client using wsimport but I just wanted to know, what is causing eclipse to generate two different clients at different times. may be some bug or some detail that we have missed. – ankit Oct 08 '13 at 07:04
  • Yes, your question about why Eclipse generate two different clients. – herry Oct 08 '13 at 07:14

2 Answers2

3

The difference is most likely caused by selecting a different value in step 6 of the tutorial, when you select which kind of client should be generated: Move the Client slider to the Test Client position .

Tobias
  • 2,320
  • 2
  • 19
  • 18
2

When you run the Eclipse WTP wizard, you get to choose which client you want to have. The JSPs that are generated are simply an input test form to test your web service.

David Brossard
  • 13,584
  • 6
  • 55
  • 88