wood burning stoves 2.0*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes artifacts generated for doc/lit/bare? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "artifacts generated for doc/lit/bare? " Watch "artifacts generated for doc/lit/bare? " New topic

artifacts generated for doc/lit/bare?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 721
In MZ's notes, there is a quote "The wsgen tool generates JAX-WS portable artifacts used in JAX-WS web service...."
And "any document style service , wrapped or unwrapped requires the kind of artifacts that the wsgen utility produces."

When I try doc/lit/bare, I did not get any jaxws artifact generated from wsgen:

But when I try this doc/lit/wrapped, the wsgen generates these artifacts GetWeather.class, GetWeatherResponse.class, getWeatherByCityNameRequest.class, getWeatherByCityNameResponse.class:

I am wondering if wsgen won't generate any artifact for doc/lit/bare all the time?
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 721
Let me answer my own question. From MZ's version 5 notes, I saw a quote "wsgen generates server artifacts, including WSDL..."
From the above post, I guess what it means is doc/lit/bare or doc/lit/wrapped requires the wsgen generated artifacts, which includes the WSDL, not only the request or response wrapper classes.
wood burning stoves
subject: artifacts generated for doc/lit/bare?
Similar Threads
Is RPC/Encoded not allowed in JAX-WS?
Service for Asynchronous Client calls (polling, callback)
A wrapped parameter style become a bare style
Calculator example
404 Error for wsdl.