This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Do you have to use a dynamic client, that is, a client that uses a SOAPConnection, to issue requests?
If you generate client artifacts using wsimport, the task will become much easier.
Just want to make sure before I answer the question.
I am new in WebService, and currently i'm still using SOAPConnection object to pass parameters and getting data that generated by webservice..
in your reply, you mentioned about dynamic client..
Hm, i'm wondering about it, what is the mean of dynamic client itself?
is it client built with across java platform such as .NET?..
For learn scope, i just want to use Swing or Servlet to access the WebService that i want to build..
Just to simplifies it..
And then i'm wondering about wsimport, currently i use glassfish v2 and Netbeans 6.5..
I've used wsimport before for make client artifacts...
but I found strength problem while used wsimport,.. There's a file contains an error..
Perhaps, this is just my fool mistake..
Sir, may i know your implementation in developing WebService?..
Have you used JAX-WS before?.. and then what's the better way to use wsimport?..
Thanks in advance..
Joined: Oct 04, 2006
Yes, I have developed web services using JAX-WS.
To learn the difference between dynamic and static clients, I recommend you to read section 4.9 in the following document that I have written:
http://faq.javaranch.com/content/Exam-Objectives-5.pdf In that document there are also a description, including an Ant script, on how to generate artifacts for static client using wsimport.