axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Samson" <bsam...@cisco.com>
Subject RE: Another question
Date Wed, 25 Feb 2004 20:46:19 GMT
Eric:

You would need to import the xsd into a wsdl file. The Java
stub/skeleton and other supporting classes get generated from the wsdl.
To import the schema into the wsdl, you could (for example) have it in
the same directory as the wsdl. Then use
<import namespace="schema-target-namespace"
location="schema-file-name"/>.

Then you need an Ant build file set up to call wsdl2java with the
appropriate arguments. There are many great examples of how to do this
in $AXIS_HOME/test/wsdl. I have been working on it for the past few
days, using test/wsdl/wrapped_inout as a template.

Barbara

-----Original Message-----
From: Eric Seifert [mailto:eseifert@waca.com] 
Sent: Wednesday, February 25, 2004 12:02 PM
To: axis-dev@ws.apache.org
Subject: Another question


How would I take an xsd and create a java stub class with it?


Mime
View raw message