This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes wsimport generates portable artifacts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "wsimport generates portable artifacts" Watch "wsimport generates portable artifacts" New topic
Author

wsimport generates portable artifacts

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 723
In MZ's notes, there is a question like this :
"A developer is implementing a web service using code first (java-to-wsdl) approach. Which JAX-WS tools should be used to generate portable artifacts?

1. xjc
2. apt
3. wsgen
4. wsimport

Option 4 is not the answer according to the notes.
However, I still think wsimport is one of the answers because:
1. the developer can generate client side artifacts based on the wsdl generated by apt or the wsdl generated when the Endpoint.publish method is executed.
2. the question does not mention which side's (client/server) portable artifacts. If I am taking the exam, I will consider portable artifacts include server side artifacts and client side artifacts.

By the way, I just found out that apt tool is deprecated since JDK 7 according to this web site :http://docs.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.html
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1642
    
  23

Hi Himai,

The answer is not correct because the problem statement clearly says java-to-wsdl approach. wsimport requires a WSDL which would be the wsdl-to-java approach.

I did not get any question about any of the tooling on the actual exam, but I think basic knowledge about wsimport and wsgen should be enough.

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsimport generates portable artifacts
 
Similar Threads
Query regarding RPC/Document Style,WSGEN and WSIMPORT
Webservice internals
difference between wsimport and wsgen command
Spring-WS client domain classes
Generating client-side artifacts from the client machine