1WSDL2PERL(1)          User Contributed Perl Documentation         WSDL2PERL(1)
2
3
4

NAME

6       wsdl2perl.pl - create perl bindings for SOAP webservices.
7

SYNOPSIS

9        wsdl2perl.pl -t TYPE_PREFIX -e ELEMENT_PREFIX -m TYPEMAP_PREFIX \
10          -i INTERFACE_PREFIX -b BASE_DIR URL
11

OPTIONS

13        NAME            SHORT  DESCRIPTION
14        ----------------------------------------------------------------------------
15        prefix            p   Prefix for all generated classes. If you set "-p=Foo",
16                              you will get "FooAttributes", "FooTypes",
17                                                  "FooElements" and so on.
18        attribute_prefix  a   Prefix for XML attribute classes.
19                              Default: MyAttributes
20        type_prefix       t   Prefix for type classes.
21                              Default: MyTypes
22        element_prefix    e   Prefix for element classes.
23                              Default: MyElements
24        typemap_prefix    m   Prefix for typemap classes.
25                              Default: MyTypemaps
26        interface_prefix  i   Prefix for interface classes.
27                              Default: MyInterfaces
28        server_prefix     sp  Prefix for server classes.
29                              Default: MyServer
30        base_path         b   Path to create classes in.
31                              Default: .
32        typemap_include   mi  File to include in typemap. Must eval() to a valid
33                              perl hash (not a hash ref !).
34        proxy             x   HTTP(S) proxy to use (if any). wsdl2perl will also
35                              use the proxy settings specified via the HTTP_PROXY
36                              and HTTPS_PROXY environment variables.
37        keep_alive            Use http keep_alive.
38        user                  Username for HTTP authentication
39        password              Password. wsdl2perl will prompt if not given.
40        generator         g   Generator to use.
41                              Default: XSD
42        server            s   Generate a server interface (currently only CGI
43                              supported)
44        help              h   Show help content
45

DESCRIPTION

47       Generates a interface class for a SOAP web service described by a WSDL
48       definition.
49
50       The following classes are created:
51
52       ·   A interface class for every SOAP port in service
53
54           Interface classes are what you will mainly deal with: They provide
55           a method for accessing every web service method.
56
57           If you chose to generate Server interfaces, a class for every SOAP
58           port in every Web service.
59
60           You'll have to implement a method for each of the implemented
61           methods. You may implement these methods in the CGI script /
62           handler, or in any class to dispatch calls to.
63
64       ·   A typemap for every service
65
66           Typemaps are used internally by SOAP::WSDL for parsing the SOAP
67           message into object trees.
68
69           If the WSDL definition is incomplete, you may need to add some
70           lines to your typemap. Especially definitions for faults are
71           sometimes left out.
72
73           Additional typemap content may be included by passing a file name
74           as typemap_include (mi) option.
75
76       ·   A type class for every element, complexType or simpleType
77           definition
78
79           You may need to write additional type classes if your WSDL is
80           incomplete.
81
82           For writing your own lib classes, see
83           SOAP::WSDL::XSD::Typelib::Element,
84           SOAP::WSDL::XSD::Typelib::ComplexType and
85           SOAP::WSDL::XSD::Typelib::SimpleType.
86

TROUBLESHOOTING

88   Accessing HTTPS URLs
89       You need Crypt::SSLeay installed for accessing HTTPS URLs.
90
91   Accessing protected documents
92       Use the -u option for specifying the user name. You will be prompted
93       for a password.
94
95       Alternatively, you may specify a passowrd with --password on the
96       command line.
97
98   Accessing documents protected by NTLM authentication
99       Set the --keep_alive option.
100
101       Note that accessing documents protected by NTLM authentication is
102       currently untested, because I have no access to a system using NTLM
103       authentication.  If you try it, I would be glad if you could just drop
104       me a note about success or failure.
105

LICENSE

107       Copyright 2007 Martin Kutter.
108
109       This file is part of SOAP-WSDL. You may distribute/modify it under the
110       same terms as perl itself
111

AUTHOR

113       Martin Kutter <martin.kutter fen-net.de>
114
115
116
117perl v5.30.1                      2020-01-30                      WSDL2PERL(1)
Impressum