For Axis-related questions, please use the axis-user list. 

Axis has a java2wsdl utility, but it won't produce a proper WSDL
description from this interface. It needs to know the structure of
your input and output documents to really be effective. And it also
needs those structures to be defined as Java constructs rather than
XML constructs.

Unfortunately, your only real option is what you've already deduced --
contruct the WSDL by hand and use the Axis Messaging provider to pass
the request to your service, which performs the action specified in
action string.

Web services are XML Schema-centric rather than DTD-centric. You'll
need to convert your DTDs to XML Schema to proceed. I think you can
find a few free utilities for converting DTDs to Schema using Google.

I also recommend that you use a WSDL editor to help you write the
WSDL. Cape Clear provides a nice little free one. See
http://www.capescience.com/soa/index.shtml. (requires registration)
 
Anne

On 6/28/05, Marco Laponder <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I have the following situation, I have a java class with the following
> method:
> 
> Document doAction(String action,Document inputDoc){
>         ... my code ...
> }
> 
> The inputDoc and the returned Document does have a format described in a
> DTD ( or Scheme). Now I would like to make a SOAP service and a
> describing WSDL of this service. Can anyone give me some pointers how to
> do this ?
> 
> The only way I came up with was defining the WSDL myself (oh boy) and
> create a axis message service which will call the doAction. I hope there
> is an easier way ;-)
> 
> Kind regards,
> Marco Laponder
> [EMAIL PROTECTED]
> 
> 
> 
> 
>

Reply via email to