users@jax-rpc.java.net

Questions on "searchschema"

From: Edoardo Causarano <curious.corn_at_katamail.com>
Date: Thu, 24 Feb 2005 23:59:31 +0100

Trying to get wscompile to generate beans mapped to my schemas I tried
with 'searchschema' with the following result:
[wscompile] error: The WSDL used has operations with literal and
encoded use. -f:searchschema is not supported for this scenario.
Well, my schema doesn't contain encoded operations... I'm really lost,
unless multipartRelated counts as an encoded op.

Examples from the Document Oriented Webservices Examples tarball work
fine, generating the due serailizers like in
"Address__Example__LiteralSerializer.java" while my class only create
the tie, a SerializerRegistry and an interface like:

public DataHandler uploadDataFile (SOAPElement requestPart, DataHandler
dataFile) throws
         RemoteException;

  Why isn't wscompile not generating a signature like the one I'd expect:

public UploadFileResponsePart uploadDataFile (UploadFileRequestPart
requestPart, DataHandler dataFile) throws
         RemoteException;

???

Has anyone successfully written a doc/lit with attachments? If not,
what workarounds have you taken?

e