Doug,

We already provide a way for services to specify a static WSDL file in place of the 
generated version, which may meet the needs of people like yourself who would like to 
customize the WSDL in various ways.

That being said, I don't have any real objection to giving users the ability to add 
include schemas in generated WSDL.  

Note that I recently added an --extraClasses switch and API to the WSDL generator to 
generate Schema for extra Java classes, but did NOT add this option to the service 
WSDD.  Perhaps it needs to be added to the WSDD, and that would satisfy 90% of the 
cases.

--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: Douglas Bitting [mailto:Douglas.Bitting@;agile.com]
Sent: Saturday, October 19, 2002 12:22 PM
To: [EMAIL PROTECTED]
Subject: Loading external schemas into WSDL...


Hi.

I have a question about how to go about including externally-generated schemas into 
the Axis-generated WSDL.  Basically, I've put together a
thoroughly-documented (via annotations) schema, which I'd like to physically include 
in the WSDL Axis generates.  However, I'm not exactly sure how
best to go about this.

I've put together some modifications that allow for the following WSDD construct:

  <service name="..." ...>
    <parameter name="wsdlInputSchema" value="<some-url-here>"/>
  ...

This causes the referenced schema to be physically included into the generated WSDL.  
Is there already some support for this type of thing in Axis
that I didn't see?  Am I going about this in an odd fashion?  Should I do it 
differently?

If the above mechanism turns out to be a good way to handle this, I'll be happy to 
submit the modifications.  What do you guys think about this?

Cheers,
--Doug

Doug Bitting
Agile Software
1 Almaden Blvd
San Jose, CA  95113
(408) 999-7120

Reply via email to