Try using this:

<service ...>
  ...
  <wsdlFile>/path/to/real/wsdl"</wsdlFile>

</service>

The Reference Guide should be updated to include this info.  Sorry about that.

--
Tom Jordahl
Macromedia


-----Original Message-----
From: Lasker, Kory [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 5:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: <wsdl:documentation> support?



I tried this in beta1 and it doesn't seem to work.  Here's my WSDD service
declaration:

<service name="theservice" provider="java:RPC" wsdl="/path/to/real/wsdl">
...
</service>

Nevertheless, Axis still auto-generates the response.  Why?

Don't most of you define the WSDL yourself instead of leaving it to Axis?

Kory

-----Original Message-----
From: Tom Jordahl [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 4:01 PM
To: '[EMAIL PROTECTED]'
Subject: RE: <wsdl:documentation> support?



We do support defining a WSDL file in the WSDD for the service.
If we find the WSDL file specified in there, we don't auto generate it.

Thus, you can save the auto generated file, annotate it with comments, put
it on the disk, and add  a wsdl= attribute in the service WSDD.

--
Tom Jordahl
Macromedia


-----Original Message-----
From: Lasker, Kory [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 5:20 PM
To: '[EMAIL PROTECTED]'
Subject: <wsdl:documentation> support?



  Does Axis have anyway to support these documentation elements from the
WSDL 1.1 spec?

  I want to be able to leave comments in my classes such that when the wsdl
is created, these notes will be added for the client's benefit.

  Axis is quite nice in that client stub generation from a WSDL takes these
comments and inserts them as real comments into the Java code.  Handy.

  Kory

Reply via email to