Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Wtp-wst-dev] Using a XSD to create a WSDL in Eclipse

You need to <import> the XSD in the <types> section of the WSDL to make the types available in the WSDL. See [1], e.g.

<?xml version="1.0" ?>
<wsdl:definitions targetNamespace="urn:listing2"
   <xsd:schema targetNamespace="urn:listing2"
     <xsd:import namespace="urn:listing3" schemaLocation="listing3.xsd"

BTW - since this is not a WTP development question, you should ask this on the newsgroup. [2]


Arthur Ryman, Technical Executive (IBM DE)
Project and Portfolio Management, Rational Division

phone:      +1-905-413-3077, TL 313-3077
assistant: +1-905-413-3831, TL 313-3831
fax:            +1-905-413-4920, TL 313-4920
mobile:     +1-416-939-5063

webman82 <jasonjdeacon@xxxxxxxxx>
Sent by: wtp-wst-dev-bounces@xxxxxxxxxxx

09/01/2008 07:01 PM

Please respond to
"Web Standard Tools developer discussions." <wtp-wst-dev@xxxxxxxxxxx>

[Wtp-wst-dev] Using a XSD to create a WSDL in Eclipse

Hi, I am using Eclipse(3.3.0) and the WST(2.0.0) to create a WSDL.
I have managed to create a skeleton WSDL no problem.

I also have an xsd of the input/output (request/response) complex types to
be used as the parameters
of the operations messages.
When I try to define the I/O I only have the option of creating new types.
What I would like to do is use the xsd and select the existing types option
to define the message parameters.

How can I 'attach' the xsd so that I can use the types defined within it in
my WSDL?

View this message in context:
Sent from the Eclipse WST - Dev mailing list archive at

wtp-wst-dev mailing list

Back to the top