1ADA2WSDL(1) AWS User's Guide ADA2WSDL(1)
2
3
4
6 ada2wsdl - Generate a WDSL document from an Ada package specification
7
9 ada2wsdl [options] ada_spec
10
12 The Ada Web Server is a library that allows you to embed a web server
13 into your Ada application. It provides not only HTTP but also SOAP,
14 WSDL and several other facilities. Thus you can write full-fledged web
15 applications.
16
17 WSDL (Web Service Definition Language) is a language based on XML.
18 WSDL documents describe, in a formal way, the interface to Web Ser‐
19 vices. This description consists of the end-point (URL to the server
20 offering the service), the SOAPAction (needed to call the remote proce‐
21 dure), the procedure names and a description of the input and output
22 parameters.
23
24 Using ada2wsdl, you can create a WSDL document that describes Web Ser‐
25 vices provided by an Ada package. ada2wsdl uses ASIS to parse your Ada
26 package specification, and generates a WSDL document by mapping Ada
27 types to Web Services types, and Ada subprograms to operations.
28
29 Please see the AWS User's guide for more details on how ada2wsdl works,
30 and how you can use it to develop web services.
31
32
34 -a url Specify the URL for the Web Server address. Web Services will be
35 available at this address. A port can be specified on the URL,
36 http://server[:port]. The default value is http://.../.
37
38
39 -f Force creation of the WSDL file. Overwrite exiting file with the
40 same name.
41
42
43 -I path
44 Add path option for the ASIS compilation step. This option can
45 appear any number of time on the command line.
46
47
48 -noenum
49 Do not generate WSDL representation for Ada enumerations, map
50 them to standard string.
51
52
53 -o file
54 Generate the WSDL document into file.
55
56
57 -q Quiet mode (no output).
58
59
60 -s name
61 Specify the Web Service name for the WSDL document, by default
62 the spec package's name is used.
63
64
65 -v Verbose mode, display the parsed spec.
66
67
69 ada2wsdl does not handle constrained arrays in records.
70
71 Unbounded_String are supported with full interoperability only inside a
72 record.
73
74 Only unconstrained arrays are supported.
75
76 Arrays with multiple dimensions are not supported.
77
78
80 awsres(1), wsdl2aws(1)
81
82 The Ada Web Server User's Guide in package aws-doc.
83
85 wsdl2aws was written by Dmitriy Anisimkov <anisimkov@yahoo.com> and
86 Pascal Obry <p.obry@wanadoo.fr> as part of the Ada Web Server.
87
88 This manual page was written by Ludovic Brenta
89 <ludovic.brenta@insalien.org> for Debian GNU/Linux adopted by Pavel
90 Zhukov <landgraf@fedoraproject.org> for Fedora Project
91
92
93
94GNU Ada Tools 11 JUN 2004 ADA2WSDL(1)