Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa4d5dd884 | ||
|
|
3d11524449 |
@@ -4,7 +4,7 @@ $build = Module::Build->new(
|
|||||||
create_makefile_pl => 'passthrough',
|
create_makefile_pl => 'passthrough',
|
||||||
dist_abstract => 'SOAP with WSDL support',
|
dist_abstract => 'SOAP with WSDL support',
|
||||||
dist_name => 'SOAP-WSDL',
|
dist_name => 'SOAP-WSDL',
|
||||||
dist_version => '2.00_18',
|
dist_version => '2.00_20',
|
||||||
module_name => 'SOAP::WSDL',
|
module_name => 'SOAP::WSDL',
|
||||||
license => 'artistic',
|
license => 'artistic',
|
||||||
requires => {
|
requires => {
|
||||||
@@ -40,6 +40,11 @@ $build = Module::Build->new(
|
|||||||
'XML::Parser::Expat' => 0,
|
'XML::Parser::Expat' => 0,
|
||||||
},
|
},
|
||||||
recursive_test_files => 1,
|
recursive_test_files => 1,
|
||||||
|
meta_add => {
|
||||||
|
no_index => {
|
||||||
|
namespace => 'SOAP::WSDL::Generator::Template::XSD',
|
||||||
|
},
|
||||||
|
}
|
||||||
);
|
);
|
||||||
$build->add_build_element('tt');
|
$build->add_build_element('tt');
|
||||||
$build->create_build_script;
|
$build->create_build_script;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Release notes for SOAP::WSDL 2.00_18
|
Release notes for SOAP::WSDL 2.00_20
|
||||||
-------
|
-------
|
||||||
|
|
||||||
I'm proud to present a new pre-release version of SOAP::WSDL.
|
I'm proud to present a new pre-release version of SOAP::WSDL.
|
||||||
@@ -33,6 +33,42 @@ Features:
|
|||||||
|
|
||||||
The following changes have been made:
|
The following changes have been made:
|
||||||
|
|
||||||
|
2.00_20
|
||||||
|
----
|
||||||
|
The following features were added (the numbers in square brackets are the
|
||||||
|
tracker IDs from https://sourceforge.net/tracker/?group_id=111978&atid=660924):
|
||||||
|
|
||||||
|
* [ 1815646 ] Only include last part of port name in interface
|
||||||
|
* [ 1815648 ] Methods with empty body cannot be called as ->method()
|
||||||
|
* [ 1815651 ] Empty complexType definitions not supported
|
||||||
|
|
||||||
|
The following bugs have been fixed (the numbers in square brackets are the
|
||||||
|
tracker IDs from https://sourceforge.net/tracker/?group_id=111978&atid=660921):
|
||||||
|
|
||||||
|
* [ 1815643 ] ComplexTypes cannot be freezed/thawed
|
||||||
|
|
||||||
|
The following uncategorized improvements have been made:
|
||||||
|
|
||||||
|
* WSDL definitions are decoded into utf8
|
||||||
|
* fixed tests to use correct path on windows
|
||||||
|
|
||||||
|
2.00_19
|
||||||
|
----
|
||||||
|
The following features were added (the numbers in square brackets are the
|
||||||
|
tracker IDs from https://sourceforge.net/tracker/?group_id=111978&atid=660924):
|
||||||
|
|
||||||
|
* [ 1810395 ] Implement complexType complexContent extension
|
||||||
|
|
||||||
|
The following bugs have been fixed (the numbers in square brackets are the
|
||||||
|
tracker IDs from https://sourceforge.net/tracker/?group_id=111978&atid=660921):
|
||||||
|
|
||||||
|
* [ 1813144 ] Typemap not used in interface class
|
||||||
|
* [ 1810058 ] .tt's pod indexed on CPAN
|
||||||
|
|
||||||
|
The following uncategorized improvements have been made:
|
||||||
|
|
||||||
|
* Documentation improvements
|
||||||
|
|
||||||
2.00_18
|
2.00_18
|
||||||
----
|
----
|
||||||
The following features were added (the numbers in square brackets are the
|
The following features were added (the numbers in square brackets are the
|
||||||
|
|||||||
@@ -59,12 +59,14 @@ lib/SOAP/WSDL/Generator/Template/XSD/complexType/all.tt
|
|||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/atomicTypes.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/atomicTypes.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/complexContent.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/complexContent.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/contentModel.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/contentModel.tt
|
||||||
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/extension.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/all.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/all.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/choice.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/choice.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/complexContent.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/complexContent.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/restriction.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/restriction.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/structure.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/POD/structure.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/complexType/restriction.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/restriction.tt
|
||||||
|
lib/SOAP/WSDL/Generator/Template/XSD/complexType/variety.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/element.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/element.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/element/POD/structure.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/element/POD/structure.tt
|
||||||
lib/SOAP/WSDL/Generator/Template/XSD/Interface.tt
|
lib/SOAP/WSDL/Generator/Template/XSD/Interface.tt
|
||||||
|
|||||||
@@ -1,248 +1,250 @@
|
|||||||
---
|
---
|
||||||
name: SOAP-WSDL
|
name: SOAP-WSDL
|
||||||
version: 2.00_18
|
version: 2.00_20
|
||||||
author: []
|
author:
|
||||||
abstract: SOAP with WSDL support
|
abstract: SOAP with WSDL support
|
||||||
license: artistic
|
license: artistic
|
||||||
resources:
|
requires:
|
||||||
license: http://opensource.org/licenses/artistic-license.php
|
Class::Std: v0.0.8
|
||||||
requires:
|
Class::Std::Storable: 0
|
||||||
Class::Std: v0.0.8
|
Data::Dumper: 0
|
||||||
Class::Std::Storable: 0
|
Date::Format: 0
|
||||||
Data::Dumper: 0
|
Date::Parse: 0
|
||||||
Date::Format: 0
|
File::Basename: 0
|
||||||
Date::Parse: 0
|
File::Path: 0
|
||||||
File::Basename: 0
|
Getopt::Long: 0
|
||||||
File::Path: 0
|
LWP::UserAgent: 0
|
||||||
Getopt::Long: 0
|
List::Util: 0
|
||||||
LWP::UserAgent: 0
|
Template: 0
|
||||||
List::Util: 0
|
Term::ReadKey: 0
|
||||||
Template: 0
|
XML::Parser::Expat: 0
|
||||||
Term::ReadKey: 0
|
generated_by: Module::Build version 0.2808
|
||||||
XML::Parser::Expat: 0
|
meta-spec:
|
||||||
provides:
|
url: http://module-build.sourceforge.net/META-spec-v1.2.html
|
||||||
SOAP::WSDL:
|
version: 1.2
|
||||||
file: lib/SOAP/WSDL.pm
|
no_index:
|
||||||
version: 2.00_17
|
namespace: SOAP::WSDL::Generator::Template::XSD
|
||||||
SOAP::WSDL::Base:
|
provides:
|
||||||
file: lib/SOAP/WSDL/Base.pm
|
SOAP::WSDL:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL.pm
|
||||||
SOAP::WSDL::Binding:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Binding.pm
|
SOAP::WSDL::Base:
|
||||||
SOAP::WSDL::Client:
|
file: lib/SOAP/WSDL/Base.pm
|
||||||
file: lib/SOAP/WSDL/Client.pm
|
version: 2.00_17
|
||||||
version: 2.00_17
|
SOAP::WSDL::Binding:
|
||||||
SOAP::WSDL::Client::Base:
|
file: lib/SOAP/WSDL/Binding.pm
|
||||||
file: lib/SOAP/WSDL/Client/Base.pm
|
SOAP::WSDL::Client:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Client.pm
|
||||||
SOAP::WSDL::Definitions:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Definitions.pm
|
SOAP::WSDL::Client::Base:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Client/Base.pm
|
||||||
SOAP::WSDL::Deserializer::Hash:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Deserializer/Hash.pm
|
SOAP::WSDL::Definitions:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Definitions.pm
|
||||||
SOAP::WSDL::Deserializer::SOAP11:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Deserializer/SOAP11.pm
|
SOAP::WSDL::Deserializer::Hash:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Deserializer/Hash.pm
|
||||||
SOAP::WSDL::Deserializer::SOM:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Deserializer/SOM.pm
|
SOAP::WSDL::Deserializer::SOAP11:
|
||||||
version: 2.00_15
|
file: lib/SOAP/WSDL/Deserializer/SOAP11.pm
|
||||||
SOAP::WSDL::Expat::Base:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Expat/Base.pm
|
SOAP::WSDL::Deserializer::SOM:
|
||||||
SOAP::WSDL::Expat::Message2Hash:
|
file: lib/SOAP/WSDL/Deserializer/SOM.pm
|
||||||
file: lib/SOAP/WSDL/Expat/Message2Hash.pm
|
version: 2.00_15
|
||||||
SOAP::WSDL::Expat::MessageParser:
|
SOAP::WSDL::Expat::Base:
|
||||||
file: lib/SOAP/WSDL/Expat/MessageParser.pm
|
file: lib/SOAP/WSDL/Expat/Base.pm
|
||||||
SOAP::WSDL::Expat::MessageStreamParser:
|
SOAP::WSDL::Expat::Message2Hash:
|
||||||
file: lib/SOAP/WSDL/Expat/MessageStreamParser.pm
|
file: lib/SOAP/WSDL/Expat/Message2Hash.pm
|
||||||
SOAP::WSDL::Factory::Deserializer:
|
SOAP::WSDL::Expat::MessageParser:
|
||||||
file: lib/SOAP/WSDL/Factory/Deserializer.pm
|
file: lib/SOAP/WSDL/Expat/MessageParser.pm
|
||||||
SOAP::WSDL::Factory::Generator:
|
SOAP::WSDL::Expat::MessageStreamParser:
|
||||||
file: lib/SOAP/WSDL/Factory/Generator.pm
|
file: lib/SOAP/WSDL/Expat/MessageStreamParser.pm
|
||||||
version: 2.00_18
|
SOAP::WSDL::Factory::Deserializer:
|
||||||
SOAP::WSDL::Factory::Serializer:
|
file: lib/SOAP/WSDL/Factory/Deserializer.pm
|
||||||
file: lib/SOAP/WSDL/Factory/Serializer.pm
|
SOAP::WSDL::Factory::Generator:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Factory/Generator.pm
|
||||||
SOAP::WSDL::Factory::Transport:
|
version: 2.00_18
|
||||||
file: lib/SOAP/WSDL/Factory/Transport.pm
|
SOAP::WSDL::Factory::Serializer:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Factory/Serializer.pm
|
||||||
SOAP::WSDL::Generator::Template:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Generator/Template.pm
|
SOAP::WSDL::Factory::Transport:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/Factory/Transport.pm
|
||||||
SOAP::WSDL::Generator::Template::XSD:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Generator/Template/XSD.pm
|
SOAP::WSDL::Generator::Template:
|
||||||
SOAP::WSDL::Generator::Visitor:
|
file: lib/SOAP/WSDL/Generator/Template.pm
|
||||||
file: lib/SOAP/WSDL/Generator/Visitor.pm
|
version: 2.00_17
|
||||||
version: 2.00_17
|
SOAP::WSDL::Generator::Template::XSD:
|
||||||
SOAP::WSDL::Generator::Visitor::Typelib:
|
file: lib/SOAP/WSDL/Generator/Template/XSD.pm
|
||||||
file: lib/SOAP/WSDL/Generator/Visitor/Typelib.pm
|
SOAP::WSDL::Generator::Visitor:
|
||||||
SOAP::WSDL::Generator::Visitor::Typemap:
|
file: lib/SOAP/WSDL/Generator/Visitor.pm
|
||||||
file: lib/SOAP/WSDL/Generator/Visitor/Typemap.pm
|
version: 2.00_17
|
||||||
SOAP::WSDL::Message:
|
SOAP::WSDL::Generator::Visitor::Typelib:
|
||||||
file: lib/SOAP/WSDL/Message.pm
|
file: lib/SOAP/WSDL/Generator/Visitor/Typelib.pm
|
||||||
SOAP::WSDL::OpMessage:
|
SOAP::WSDL::Generator::Visitor::Typemap:
|
||||||
file: lib/SOAP/WSDL/OpMessage.pm
|
file: lib/SOAP/WSDL/Generator/Visitor/Typemap.pm
|
||||||
SOAP::WSDL::Operation:
|
SOAP::WSDL::Message:
|
||||||
file: lib/SOAP/WSDL/Operation.pm
|
file: lib/SOAP/WSDL/Message.pm
|
||||||
SOAP::WSDL::Part:
|
SOAP::WSDL::OpMessage:
|
||||||
file: lib/SOAP/WSDL/Part.pm
|
file: lib/SOAP/WSDL/OpMessage.pm
|
||||||
SOAP::WSDL::Port:
|
SOAP::WSDL::Operation:
|
||||||
file: lib/SOAP/WSDL/Port.pm
|
file: lib/SOAP/WSDL/Operation.pm
|
||||||
SOAP::WSDL::PortType:
|
SOAP::WSDL::Part:
|
||||||
file: lib/SOAP/WSDL/PortType.pm
|
file: lib/SOAP/WSDL/Part.pm
|
||||||
SOAP::WSDL::SOAP::Address:
|
SOAP::WSDL::Port:
|
||||||
file: lib/SOAP/WSDL/SOAP/Address.pm
|
file: lib/SOAP/WSDL/Port.pm
|
||||||
SOAP::WSDL::SOAP::Body:
|
SOAP::WSDL::PortType:
|
||||||
file: lib/SOAP/WSDL/SOAP/Body.pm
|
file: lib/SOAP/WSDL/PortType.pm
|
||||||
SOAP::WSDL::SOAP::Header:
|
SOAP::WSDL::SOAP::Address:
|
||||||
file: lib/SOAP/WSDL/SOAP/Header.pm
|
file: lib/SOAP/WSDL/SOAP/Address.pm
|
||||||
SOAP::WSDL::SOAP::HeaderFault:
|
SOAP::WSDL::SOAP::Body:
|
||||||
file: lib/SOAP/WSDL/SOAP/HeaderFault.pm
|
file: lib/SOAP/WSDL/SOAP/Body.pm
|
||||||
SOAP::WSDL::SOAP::Operation:
|
SOAP::WSDL::SOAP::Header:
|
||||||
file: lib/SOAP/WSDL/SOAP/Operation.pm
|
file: lib/SOAP/WSDL/SOAP/Header.pm
|
||||||
version: 2.00_17
|
SOAP::WSDL::SOAP::HeaderFault:
|
||||||
SOAP::WSDL::SOAP::Typelib::Fault11:
|
file: lib/SOAP/WSDL/SOAP/HeaderFault.pm
|
||||||
file: lib/SOAP/WSDL/SOAP/Typelib/Fault11.pm
|
SOAP::WSDL::SOAP::Operation:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/SOAP/Operation.pm
|
||||||
SOAP::WSDL::Serializer::SOAP11:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Serializer/SOAP11.pm
|
SOAP::WSDL::SOAP::Typelib::Fault11:
|
||||||
version: 2.00_13
|
file: lib/SOAP/WSDL/SOAP/Typelib/Fault11.pm
|
||||||
SOAP::WSDL::Service:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/Service.pm
|
SOAP::WSDL::Serializer::SOAP11:
|
||||||
SOAP::WSDL::Transport::HTTP:
|
file: lib/SOAP/WSDL/Serializer/SOAP11.pm
|
||||||
file: lib/SOAP/WSDL/Transport/HTTP.pm
|
version: 2.00_13
|
||||||
SOAP::WSDL::Transport::Loopback:
|
SOAP::WSDL::Service:
|
||||||
file: lib/SOAP/WSDL/Transport/Loopback.pm
|
file: lib/SOAP/WSDL/Service.pm
|
||||||
version: 2.00_17
|
SOAP::WSDL::Transport::HTTP:
|
||||||
SOAP::WSDL::Transport::Test:
|
file: lib/SOAP/WSDL/Transport/HTTP.pm
|
||||||
file: lib/SOAP/WSDL/Transport/Test.pm
|
SOAP::WSDL::Transport::Loopback:
|
||||||
version: 2.00_14
|
file: lib/SOAP/WSDL/Transport/Loopback.pm
|
||||||
SOAP::WSDL::TypeLookup:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/TypeLookup.pm
|
SOAP::WSDL::Transport::Test:
|
||||||
SOAP::WSDL::Types:
|
file: lib/SOAP/WSDL/Transport/Test.pm
|
||||||
file: lib/SOAP/WSDL/Types.pm
|
version: 2.00_14
|
||||||
SOAP::WSDL::XSD::Builtin:
|
SOAP::WSDL::TypeLookup:
|
||||||
file: lib/SOAP/WSDL/XSD/Builtin.pm
|
file: lib/SOAP/WSDL/TypeLookup.pm
|
||||||
SOAP::WSDL::XSD::ComplexType:
|
SOAP::WSDL::Types:
|
||||||
file: lib/SOAP/WSDL/XSD/ComplexType.pm
|
file: lib/SOAP/WSDL/Types.pm
|
||||||
version: 2.00_17
|
SOAP::WSDL::XSD::Builtin:
|
||||||
SOAP::WSDL::XSD::Element:
|
file: lib/SOAP/WSDL/XSD/Builtin.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Element.pm
|
SOAP::WSDL::XSD::ComplexType:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/XSD/ComplexType.pm
|
||||||
SOAP::WSDL::XSD::Schema:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/XSD/Schema.pm
|
SOAP::WSDL::XSD::Element:
|
||||||
SOAP::WSDL::XSD::Schema::Builtin:
|
file: lib/SOAP/WSDL/XSD/Element.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Schema/Builtin.pm
|
version: 2.00_17
|
||||||
SOAP::WSDL::XSD::SimpleType:
|
SOAP::WSDL::XSD::Schema:
|
||||||
file: lib/SOAP/WSDL/XSD/SimpleType.pm
|
file: lib/SOAP/WSDL/XSD/Schema.pm
|
||||||
version: 2.00_17
|
SOAP::WSDL::XSD::Schema::Builtin:
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin:
|
file: lib/SOAP/WSDL/XSD/Schema/Builtin.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin.pm
|
SOAP::WSDL::XSD::SimpleType:
|
||||||
version: 2.00_17
|
file: lib/SOAP/WSDL/XSD/SimpleType.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::ENTITY:
|
version: 2.00_17
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/ENTITY.pm
|
SOAP::WSDL::XSD::Typelib::Builtin:
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::ID:
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/ID.pm
|
version: 2.00_17
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::IDREF:
|
SOAP::WSDL::XSD::Typelib::Builtin::ENTITY:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/IDREF.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/ENTITY.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::IDREFS:
|
SOAP::WSDL::XSD::Typelib::Builtin::ID:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/IDREFS.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/ID.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::NCName:
|
SOAP::WSDL::XSD::Typelib::Builtin::IDREF:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NCName.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/IDREF.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::NMTOKEN:
|
SOAP::WSDL::XSD::Typelib::Builtin::IDREFS:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NMTOKEN.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/IDREFS.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::NMTOKENS:
|
SOAP::WSDL::XSD::Typelib::Builtin::NCName:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NMTOKENS.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NCName.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::NOTATION:
|
SOAP::WSDL::XSD::Typelib::Builtin::NMTOKEN:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NOTATION.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NMTOKEN.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::Name:
|
SOAP::WSDL::XSD::Typelib::Builtin::NMTOKENS:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/Name.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NMTOKENS.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::QName:
|
SOAP::WSDL::XSD::Typelib::Builtin::NOTATION:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/QName.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/NOTATION.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::anySimpleType:
|
SOAP::WSDL::XSD::Typelib::Builtin::Name:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/anySimpleType.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/Name.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::anyType:
|
SOAP::WSDL::XSD::Typelib::Builtin::QName:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/anyType.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/QName.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::anyURI:
|
SOAP::WSDL::XSD::Typelib::Builtin::anySimpleType:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/anyURI.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/anySimpleType.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::base64Binary:
|
SOAP::WSDL::XSD::Typelib::Builtin::anyType:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/base64Binary.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/anyType.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::boolean:
|
SOAP::WSDL::XSD::Typelib::Builtin::anyURI:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/boolean.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/anyURI.pm
|
||||||
version: 2.00_17
|
SOAP::WSDL::XSD::Typelib::Builtin::base64Binary:
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::byte:
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/base64Binary.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/byte.pm
|
SOAP::WSDL::XSD::Typelib::Builtin::boolean:
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::date:
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/boolean.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/date.pm
|
version: 2.00_17
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::dateTime:
|
SOAP::WSDL::XSD::Typelib::Builtin::byte:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/byte.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::decimal:
|
SOAP::WSDL::XSD::Typelib::Builtin::date:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/decimal.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/date.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::double:
|
SOAP::WSDL::XSD::Typelib::Builtin::dateTime:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/double.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::duration:
|
SOAP::WSDL::XSD::Typelib::Builtin::decimal:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/duration.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/decimal.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::float:
|
SOAP::WSDL::XSD::Typelib::Builtin::double:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/float.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/double.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::gDay:
|
SOAP::WSDL::XSD::Typelib::Builtin::duration:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gDay.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/duration.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::gMonth:
|
SOAP::WSDL::XSD::Typelib::Builtin::float:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gMonth.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/float.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::gMonthDay:
|
SOAP::WSDL::XSD::Typelib::Builtin::gDay:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gMonthDay.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gDay.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::gYear:
|
SOAP::WSDL::XSD::Typelib::Builtin::gMonth:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gYear.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gMonth.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::gYearMonth:
|
SOAP::WSDL::XSD::Typelib::Builtin::gMonthDay:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gYearMonth.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gMonthDay.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::hexBinary:
|
SOAP::WSDL::XSD::Typelib::Builtin::gYear:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/hexBinary.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gYear.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::int:
|
SOAP::WSDL::XSD::Typelib::Builtin::gYearMonth:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/int.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/gYearMonth.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::integer:
|
SOAP::WSDL::XSD::Typelib::Builtin::hexBinary:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/integer.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/hexBinary.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::language:
|
SOAP::WSDL::XSD::Typelib::Builtin::int:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/language.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/int.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::list:
|
SOAP::WSDL::XSD::Typelib::Builtin::integer:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/list.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/integer.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::long:
|
SOAP::WSDL::XSD::Typelib::Builtin::language:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/long.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/language.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::negativeInteger:
|
SOAP::WSDL::XSD::Typelib::Builtin::list:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/negativeInteger.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/list.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger:
|
SOAP::WSDL::XSD::Typelib::Builtin::long:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/nonNegativeInteger.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/long.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::nonPositiveInteger:
|
SOAP::WSDL::XSD::Typelib::Builtin::negativeInteger:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/nonPositiveInteger.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/negativeInteger.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::normalizedString:
|
SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/normalizedString.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/nonNegativeInteger.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger:
|
SOAP::WSDL::XSD::Typelib::Builtin::nonPositiveInteger:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/positiveInteger.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/nonPositiveInteger.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::short:
|
SOAP::WSDL::XSD::Typelib::Builtin::normalizedString:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/short.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/normalizedString.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::string:
|
SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/string.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/positiveInteger.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::time:
|
SOAP::WSDL::XSD::Typelib::Builtin::short:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/time.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/short.pm
|
||||||
version: 2.00_18
|
SOAP::WSDL::XSD::Typelib::Builtin::string:
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::token:
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/string.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/token.pm
|
SOAP::WSDL::XSD::Typelib::Builtin::time:
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::unsignedByte:
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/time.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedByte.pm
|
version: 2.00_18
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::unsignedInt:
|
SOAP::WSDL::XSD::Typelib::Builtin::token:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedInt.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/token.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::unsignedLong:
|
SOAP::WSDL::XSD::Typelib::Builtin::unsignedByte:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedLong.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedByte.pm
|
||||||
SOAP::WSDL::XSD::Typelib::Builtin::unsignedShort:
|
SOAP::WSDL::XSD::Typelib::Builtin::unsignedInt:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedShort.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedInt.pm
|
||||||
SOAP::WSDL::XSD::Typelib::ComplexType:
|
SOAP::WSDL::XSD::Typelib::Builtin::unsignedLong:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedLong.pm
|
||||||
version: 2.00_16
|
SOAP::WSDL::XSD::Typelib::Builtin::unsignedShort:
|
||||||
SOAP::WSDL::XSD::Typelib::Element:
|
file: lib/SOAP/WSDL/XSD/Typelib/Builtin/unsignedShort.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/Element.pm
|
SOAP::WSDL::XSD::Typelib::ComplexType:
|
||||||
SOAP::WSDL::XSD::Typelib::SimpleType:
|
file: lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/SimpleType.pm
|
version: 2.00_16
|
||||||
SOAP::WSDL::XSD::Typelib::SimpleType::restriction:
|
SOAP::WSDL::XSD::Typelib::Element:
|
||||||
file: lib/SOAP/WSDL/XSD/Typelib/SimpleType.pm
|
file: lib/SOAP/WSDL/XSD/Typelib/Element.pm
|
||||||
generated_by: Module::Build version 0.2808
|
SOAP::WSDL::XSD::Typelib::SimpleType:
|
||||||
meta-spec:
|
file: lib/SOAP/WSDL/XSD/Typelib/SimpleType.pm
|
||||||
url: http://module-build.sourceforge.net/META-spec-v1.2.html
|
SOAP::WSDL::XSD::Typelib::SimpleType::restriction:
|
||||||
version: 1.2
|
file: lib/SOAP/WSDL/XSD/Typelib/SimpleType.pm
|
||||||
|
resources:
|
||||||
|
license: http://opensource.org/licenses/artistic-license.php
|
||||||
|
|||||||
+31
-31
@@ -1,31 +1,31 @@
|
|||||||
# Note: this file was auto-generated by Module::Build::Compat version 0.03
|
# Note: this file was auto-generated by Module::Build::Compat version 0.03
|
||||||
|
|
||||||
unless (eval "use Module::Build::Compat 0.02; 1" ) {
|
unless (eval "use Module::Build::Compat 0.02; 1" ) {
|
||||||
print "This module requires Module::Build to install itself.\n";
|
print "This module requires Module::Build to install itself.\n";
|
||||||
|
|
||||||
require ExtUtils::MakeMaker;
|
require ExtUtils::MakeMaker;
|
||||||
my $yn = ExtUtils::MakeMaker::prompt
|
my $yn = ExtUtils::MakeMaker::prompt
|
||||||
(' Install Module::Build now from CPAN?', 'y');
|
(' Install Module::Build now from CPAN?', 'y');
|
||||||
|
|
||||||
unless ($yn =~ /^y/i) {
|
unless ($yn =~ /^y/i) {
|
||||||
die " *** Cannot install without Module::Build. Exiting ...\n";
|
die " *** Cannot install without Module::Build. Exiting ...\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
require Cwd;
|
require Cwd;
|
||||||
require File::Spec;
|
require File::Spec;
|
||||||
require CPAN;
|
require CPAN;
|
||||||
|
|
||||||
# Save this 'cause CPAN will chdir all over the place.
|
# Save this 'cause CPAN will chdir all over the place.
|
||||||
my $cwd = Cwd::cwd();
|
my $cwd = Cwd::cwd();
|
||||||
|
|
||||||
CPAN::Shell->install('Module::Build::Compat');
|
CPAN::Shell->install('Module::Build::Compat');
|
||||||
CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
|
CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
|
||||||
or die "Couldn't install Module::Build, giving up.\n";
|
or die "Couldn't install Module::Build, giving up.\n";
|
||||||
|
|
||||||
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
|
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
|
||||||
}
|
}
|
||||||
eval "use Module::Build::Compat 0.02; 1" or die $@;
|
eval "use Module::Build::Compat 0.02; 1" or die $@;
|
||||||
|
|
||||||
Module::Build::Compat->run_build_pl(args => \@ARGV);
|
Module::Build::Compat->run_build_pl(args => \@ARGV);
|
||||||
require Module::Build;
|
require Module::Build;
|
||||||
Module::Build::Compat->write_makefile(build_class => 'Module::Build');
|
Module::Build::Compat->write_makefile(build_class => 'Module::Build');
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ TODO list for SOAP::WSDL
|
|||||||
|
|
||||||
2.00 Pre-releases
|
2.00 Pre-releases
|
||||||
--------
|
--------
|
||||||
* Implement a Generator Plugin API
|
|
||||||
|
|
||||||
* Implement a interface similar to SOAP::Schema (#1783639)
|
* Implement a interface similar to SOAP::Schema (#1783639)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -734,7 +734,7 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
$Rev: 308 $
|
$Rev: 308 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: WSDL.pm 308 2007-10-05 17:35:28Z kutterma $
|
$Id: WSDL.pm 308 2007-10-05 17:35:28Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
$Rev: 303 $
|
$Rev: 303 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: Client.pm 303 2007-10-01 18:51:50Z kutterma $
|
$Id: Client.pm 303 2007-10-01 18:51:50Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Client.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Client.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ our $VERSION = '2.00_17';
|
|||||||
sub call {
|
sub call {
|
||||||
my ($self, $method, $body, $header) = @_;
|
my ($self, $method, $body, $header) = @_;
|
||||||
if (not blessed $body) {
|
if (not blessed $body) {
|
||||||
|
$body = {} if not defined $body;
|
||||||
my $class = $method->{ body }->{ parts }->[0];
|
my $class = $method->{ body }->{ parts }->[0];
|
||||||
eval "require $class" || die $@;
|
eval "require $class" || die $@;
|
||||||
$body = $class->new($body);
|
$body = $class->new($body);
|
||||||
@@ -116,9 +117,9 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
|
|
||||||
=head1 REPOSITORY INFORMATION
|
=head1 REPOSITORY INFORMATION
|
||||||
|
|
||||||
$Rev: 303 $
|
$Rev: 323 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: Base.pm 303 2007-10-01 18:51:50Z kutterma $
|
$Id: Base.pm 323 2007-10-17 15:23:05Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Client/Base.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Client/Base.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|||||||
@@ -234,9 +234,9 @@ This module may be used under the same terms as perl itself.
|
|||||||
|
|
||||||
$ID: $
|
$ID: $
|
||||||
|
|
||||||
$LastChangedDate: 2007-10-07 19:27:58 +0200 (Son, 07 Okt 2007) $
|
$LastChangedDate: 2007-10-07 19:27:58 +0200 (So, 07 Okt 2007) $
|
||||||
$LastChangedRevision: 313 $
|
$LastChangedRevision: 313 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
|
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageParser.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageParser.pm $
|
||||||
|
|
||||||
|
|||||||
@@ -68,9 +68,9 @@ This module may be used under the same terms as perl itself.
|
|||||||
|
|
||||||
$ID: $
|
$ID: $
|
||||||
|
|
||||||
$LastChangedDate: 2007-10-07 19:27:58 +0200 (Son, 07 Okt 2007) $
|
$LastChangedDate: 2007-10-07 19:27:58 +0200 (So, 07 Okt 2007) $
|
||||||
$LastChangedRevision: 313 $
|
$LastChangedRevision: 313 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
|
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageStreamParser.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageStreamParser.pm $
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ class should be used for, and $class is the class name.
|
|||||||
SOAP::WSDL::Factory::Serializer->register( $version, $class);
|
SOAP::WSDL::Factory::Serializer->register( $version, $class);
|
||||||
|
|
||||||
To auto-register your transport class on loading, execute register() in
|
To auto-register your transport class on loading, execute register() in
|
||||||
your tranport class (see L<SYNOPSIS|SYNOPSIS> above).
|
your tranport class (see L</SYNOPSIS> above).
|
||||||
|
|
||||||
=head2 Serializer package layout
|
=head2 Serializer package layout
|
||||||
|
|
||||||
@@ -138,9 +138,9 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
|
|
||||||
=head1 REPOSITORY INFORMATION
|
=head1 REPOSITORY INFORMATION
|
||||||
|
|
||||||
$Rev: 302 $
|
$Rev: 325 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: Serializer.pm 302 2007-09-30 19:25:25Z kutterma $
|
$Id: Serializer.pm 325 2007-10-18 10:27:46Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Factory/Serializer.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Factory/Serializer.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|||||||
@@ -239,6 +239,6 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
$Rev: 304 $
|
$Rev: 304 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: Transport.pm 304 2007-10-02 20:07:21Z kutterma $
|
$Id: Transport.pm 304 2007-10-02 20:07:21Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Factory/Transport.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Factory/Transport.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|||||||
@@ -24,9 +24,10 @@ sub BUILD {
|
|||||||
|
|
||||||
sub generate {
|
sub generate {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->generate_typelib();
|
my $opt = shift;
|
||||||
$self->generate_interface();
|
$self->generate_typelib( $opt );
|
||||||
$self->generate_typemap();
|
$self->generate_interface( $opt );
|
||||||
|
$self->generate_typemap( $opt );
|
||||||
}
|
}
|
||||||
|
|
||||||
sub generate_typelib {
|
sub generate_typelib {
|
||||||
@@ -54,17 +55,22 @@ sub generate_interface {
|
|||||||
next if not $port->first_address;
|
next if not $port->first_address;
|
||||||
next if not $port->first_address->isa('SOAP::WSDL::SOAP::Address');
|
next if not $port->first_address->isa('SOAP::WSDL::SOAP::Address');
|
||||||
|
|
||||||
|
my $port_name = $port->get_name;
|
||||||
|
$port_name =~s{ \A .+\. }{}xms;
|
||||||
my $output = $arg_ref->{ output }
|
my $output = $arg_ref->{ output }
|
||||||
? $arg_ref->{ output }
|
? $arg_ref->{ output }
|
||||||
: $self->_generate_filename( $self->get_interface_prefix(), $service->get_name(), $port->get_name );
|
: $self->_generate_filename(
|
||||||
|
$self->get_interface_prefix(),
|
||||||
|
$service->get_name(),
|
||||||
|
$port_name,
|
||||||
|
);
|
||||||
$self->_process('Interface.tt',
|
$self->_process('Interface.tt',
|
||||||
{
|
{
|
||||||
service => $service,
|
service => $service,
|
||||||
port => $port,
|
port => $port,
|
||||||
NO_POD => $arg_ref->{ NO_POD } ? 1 : 0 ,
|
NO_POD => $arg_ref->{ NO_POD } ? 1 : 0 ,
|
||||||
},
|
},
|
||||||
$output);
|
$output, binmode => ':utf8');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,16 @@
|
|||||||
package [% interface_prefix %]::[% service.get_name %]::[% port.get_name %];
|
package [% interface_prefix %]::[% service.get_name.replace('\.', '::') %]::[% port.get_name.replace('^.+\.','') %];
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Class::Std::Storable;
|
use Class::Std::Storable;
|
||||||
use base qw(SOAP::WSDL::Client::Base);
|
use base qw(SOAP::WSDL::Client::Base);
|
||||||
|
|
||||||
|
# only load if it hasn't been loaded before
|
||||||
|
require [% typemap_prefix %]::[% service.get_name.replace('\.', '::') %]
|
||||||
|
if not [% typemap_prefix %]::[% service.get_name.replace('\.', '::') %]->can('get_class');
|
||||||
|
|
||||||
sub START {
|
sub START {
|
||||||
$_[0]->set_proxy('[% port.first_address.get_location %]') if not $_[2]->{proxy};
|
$_[0]->set_proxy('[% port.first_address.get_location %]') if not $_[2]->{proxy};
|
||||||
$_[0]->set_class_resolver('[% typemap_prefix %]::[% service.get_name %]')
|
$_[0]->set_class_resolver('[% typemap_prefix %]::[% service.get_name.replace('\.', '::') %]')
|
||||||
if not $_[2]->{class_resolver};
|
if not $_[2]->{class_resolver};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
use Class::Std::Storable;
|
||||||
use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
|
use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
|
||||||
|
|
||||||
{ # BLOCK to scope variables
|
{ # BLOCK to scope variables
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[% IF (complexType.get_variety == 'restriction');
|
[% IF (complexType.get_variety == 'restriction');
|
||||||
INCLUDE complexType/restriction.tt(complexType = complexType);
|
INCLUDE complexType/restriction.tt(complexType = complexType);
|
||||||
ELSIF (complexType.get_variety == 'sequence');
|
ELSIF (complexType.get_variety == 'sequence');
|
||||||
THROW NOT_IMPLEMENTED, "${ complexType.get_name } - complexType complexContent extension not implemented yet";
|
INCLUDE complexType/extension.tt(complexType = complexType);
|
||||||
ELSE;
|
ELSE;
|
||||||
THROW UNKNOWN, "unknown variety ${ complexType.get_variety }";
|
THROW UNKNOWN, "unknown variety ${ complexType.get_variety }";
|
||||||
END;
|
END;
|
||||||
|
|||||||
@@ -1,15 +1,7 @@
|
|||||||
[% IF (complexType.get_variety == 'all');
|
[% IF (complexType.get_contentModel == 'simpleContent');
|
||||||
INCLUDE complexType/all.tt(complexType = complexType);
|
|
||||||
ELSIF (complexType.get_variety == 'sequence');
|
|
||||||
INCLUDE complexType/all.tt(complexType = complexType);
|
|
||||||
ELSIF (complexType.get_variety == 'group');
|
|
||||||
THROW NOT_IMPLEMENTED, "${ element.get_name } - complexType group not implemented yet";
|
|
||||||
ELSIF (complexType.get_variety == 'choice');
|
|
||||||
INCLUDE complexType/all.tt(complexType = complexType);
|
|
||||||
ELSIF (complexType.get_contentModel == 'simpleContent');
|
|
||||||
THROW NOT_IMPLEMENTED, "${ element.get_name } - complexType simpleContent not implemented yet";
|
THROW NOT_IMPLEMENTED, "${ element.get_name } - complexType simpleContent not implemented yet";
|
||||||
ELSIF (complexType.get_contentModel == 'complexContent');
|
ELSIF (complexType.get_contentModel == 'complexContent');
|
||||||
INCLUDE complexType/complexContent.tt(complexType = complexType);
|
INCLUDE complexType/complexContent.tt(complexType = complexType);
|
||||||
ELSE;
|
ELSE;
|
||||||
THROW NOT_IMPLEMENTED, "Unknown content model ${ complexType.get_contentModel }";
|
INCLUDE complexType/variety.tt(complexType = complexType);
|
||||||
END %]
|
END %]
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
[%
|
||||||
|
|
||||||
|
base_name=complexType.expand( complexType.get_base);
|
||||||
|
base_type = definitions.first_types.find_type( base_name );
|
||||||
|
|
||||||
|
element_from = complexType.get_element;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Sanity check: All original elements must be noted first
|
||||||
|
#
|
||||||
|
FOREACH element = base_type.get_element;
|
||||||
|
IF element_from.${ loop.index }.get_name != element.get_name;
|
||||||
|
THROW WSDL "${element.get_name} not found at position ${ loop.index } in extension type ${ complexType.get_name }";
|
||||||
|
END;
|
||||||
|
END;
|
||||||
|
|
||||||
|
|
||||||
|
-%]
|
||||||
|
use base qw([% type_prefix %]::[% base_name.1.replace('\.', '::') %]);
|
||||||
|
[%
|
||||||
|
|
||||||
|
INCLUDE complexType/variety.tt(complexType = complexType);
|
||||||
|
|
||||||
|
%]
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[% IF (base=complexType.get_base);
|
[% IF (base=complexType.get_base);
|
||||||
base_name=complexType.expand(base);
|
base_name=complexType.expand(base);
|
||||||
-%]
|
-%]
|
||||||
use base qw([% type_prefix %]::[% base_name.1 %]);
|
use base qw([% type_prefix %]::[% base_name.1.replace('\.', '::') %]);
|
||||||
[%
|
[%
|
||||||
ELSE;
|
ELSE;
|
||||||
THROW NOT_IMPLEMENTED, "restriction without base not supported";
|
THROW NOT_IMPLEMENTED, "restriction without base not supported";
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
[%
|
||||||
|
IF (complexType.get_variety == 'all');
|
||||||
|
INCLUDE complexType/all.tt(complexType = complexType);
|
||||||
|
ELSIF (complexType.get_variety == 'sequence');
|
||||||
|
INCLUDE complexType/all.tt(complexType = complexType);
|
||||||
|
ELSIF (complexType.get_variety == 'group');
|
||||||
|
THROW NOT_IMPLEMENTED, "${ element.get_name } - complexType group not implemented yet";
|
||||||
|
ELSIF (complexType.get_variety == 'choice');
|
||||||
|
INCLUDE complexType/all.tt(complexType = complexType);
|
||||||
|
ELSIF (complexType.get_variety);
|
||||||
|
THROW NOT_IMPLEMENTED, "Unknown variety ${ complexType.get_variety } in ${ complexType.get_name } (${ element.get_name })";
|
||||||
|
ELSE;
|
||||||
|
# There's no variety - might be empty complexType
|
||||||
|
END;
|
||||||
|
%]
|
||||||
@@ -178,6 +178,13 @@ no check for occurence are made.
|
|||||||
|
|
||||||
=head3 complexType with complexContent content model
|
=head3 complexType with complexContent content model
|
||||||
|
|
||||||
|
Note that complexType classes with complexContent content model don't exhibit
|
||||||
|
their type via the xsi:type attribute yet, so they currently cannot be used
|
||||||
|
as a replacement for their base type.
|
||||||
|
|
||||||
|
SOAP::WSDL's XSD deserializer backend does not recognize the xsi:type=""
|
||||||
|
attribute either yet.
|
||||||
|
|
||||||
=over
|
=over
|
||||||
|
|
||||||
=item * restriction variety
|
=item * restriction variety
|
||||||
@@ -192,12 +199,30 @@ No additional processing or content checking is performed yet.
|
|||||||
complexType
|
complexType
|
||||||
restriction
|
restriction
|
||||||
|
|
||||||
Note that complexType with restriction variety classes don't exhibit their
|
|
||||||
type via the xsi:type attribute yet, so they currently cannot be used as
|
|
||||||
a replacement for their base type.
|
|
||||||
|
|
||||||
=item * extension variety
|
=item * extension variety
|
||||||
|
|
||||||
|
ComplexType classes with extension variety inherit from the XSD base
|
||||||
|
complexType class and from their base type.
|
||||||
|
|
||||||
|
Extension classes are checked for (re-)defining all elements of their parent
|
||||||
|
class.
|
||||||
|
|
||||||
|
Note that a derived type's elements (=properties) overrides the getter /
|
||||||
|
setter methods for all inherited elements. All object data is stored in the
|
||||||
|
derived type's class, not in the defining class (See L<Class::Std> for a
|
||||||
|
discussion on inside out object data storage).
|
||||||
|
|
||||||
|
No additional processing or content checking is performed yet.
|
||||||
|
|
||||||
|
complexType complexType
|
||||||
|
base class base type class
|
||||||
|
^ ^
|
||||||
|
| |
|
||||||
|
-----------------
|
||||||
|
|
|
||||||
|
complexType
|
||||||
|
extension
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=head2 SimpleType
|
=head2 SimpleType
|
||||||
@@ -217,8 +242,6 @@ SOAP::WSDL::XSD::Typelib::XSD::list.
|
|||||||
Derivation by restriction is implemented by inheriting from a base type and
|
Derivation by restriction is implemented by inheriting from a base type and
|
||||||
applying the required restrictions.
|
applying the required restrictions.
|
||||||
|
|
||||||
=head2 Complex Types
|
|
||||||
|
|
||||||
=head1 FACETS
|
=head1 FACETS
|
||||||
|
|
||||||
XML Schema facets are not implemented yet.
|
XML Schema facets are not implemented yet.
|
||||||
@@ -244,7 +267,6 @@ The following XML Schema declaration elements are not supported yet:
|
|||||||
|
|
||||||
=item * Type definition elements
|
=item * Type definition elements
|
||||||
|
|
||||||
complexContent - only restriction supported
|
|
||||||
simpleContent
|
simpleContent
|
||||||
union
|
union
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
$Rev: 288 $
|
$Rev: 288 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: HTTP.pm 288 2007-09-29 19:34:20Z kutterma $
|
$Id: HTTP.pm 288 2007-09-29 19:34:20Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Transport/HTTP.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Transport/HTTP.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|||||||
@@ -136,6 +136,10 @@ my %TYPES = (
|
|||||||
type => 'METHOD',
|
type => 'METHOD',
|
||||||
method => 'set_restriction',
|
method => 'set_restriction',
|
||||||
},
|
},
|
||||||
|
extension => {
|
||||||
|
type => 'METHOD',
|
||||||
|
method => 'set_extension',
|
||||||
|
},
|
||||||
list => {
|
list => {
|
||||||
type => 'METHOD',
|
type => 'METHOD',
|
||||||
method => 'set_list',
|
method => 'set_list',
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ my %abstract_of :ATTR(:name<abstract> :default<()>);
|
|||||||
my %mixed_of :ATTR(:name<mixed> :default<()>); # default is false
|
my %mixed_of :ATTR(:name<mixed> :default<()>); # default is false
|
||||||
|
|
||||||
# is set to simpleContent/complexContent
|
# is set to simpleContent/complexContent
|
||||||
my %content_model_of :ATTR(:name<contentModel> :default<()>);
|
my %content_model_of :ATTR(:name<contentModel> :default<NONE>);
|
||||||
|
|
||||||
sub get_variety; *get_variety = \&get_flavor;
|
sub get_variety; *get_variety = \&get_flavor;
|
||||||
|
|
||||||
@@ -45,6 +45,12 @@ sub set_restriction {
|
|||||||
$base_of{ ident $self } = $element->{ Value };
|
$base_of{ ident $self } = $element->{ Value };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub set_extension {
|
||||||
|
my $self = shift;
|
||||||
|
my $element = shift;
|
||||||
|
$flavor_of{ ident $self } = 'extension';
|
||||||
|
$base_of{ ident $self } = $element->{ Value };
|
||||||
|
}
|
||||||
|
|
||||||
sub init {
|
sub init {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|||||||
@@ -19,10 +19,11 @@ my %CLASSES_OF;
|
|||||||
# We could also handle them via AUTOMETHOD,
|
# We could also handle them via AUTOMETHOD,
|
||||||
# but AUTOMETHOD should always croak...
|
# but AUTOMETHOD should always croak...
|
||||||
# Do we really need this ?
|
# Do we really need this ?
|
||||||
#sub STORABLE_freeze_pre {}
|
# ... looks like we do...
|
||||||
#sub STORABLE_freeze_post {}
|
sub STORABLE_freeze_pre {}
|
||||||
#sub STORABLE_thaw_pre {}
|
sub STORABLE_freeze_post {}
|
||||||
#sub STORABLE_thaw_post {}
|
sub STORABLE_thaw_pre {}
|
||||||
|
sub STORABLE_thaw_post {}
|
||||||
|
|
||||||
# for error reporting. Eases working with data objects...
|
# for error reporting. Eases working with data objects...
|
||||||
sub AUTOMETHOD {
|
sub AUTOMETHOD {
|
||||||
@@ -376,10 +377,10 @@ Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
|
|||||||
|
|
||||||
=head1 REPOSITORY INFORMATION
|
=head1 REPOSITORY INFORMATION
|
||||||
|
|
||||||
$Rev: 309 $
|
$Rev: 323 $
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$Id: ComplexType.pm 309 2007-10-05 17:48:37Z kutterma $
|
$Id: ComplexType.pm 323 2007-10-17 15:23:05Z kutterma $
|
||||||
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm $
|
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ if ($@)
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
||||||
|
my ($volume, $dir) = File::Spec->splitpath($path, 1);
|
||||||
|
my @dir_from = File::Spec->splitdir($dir);
|
||||||
|
unshift @dir_from, $volume if $volume;
|
||||||
|
my $url = join '/', @dir_from;
|
||||||
|
|
||||||
|
# print $url;
|
||||||
|
|
||||||
use_ok(qw/SOAP::WSDL/);
|
use_ok(qw/SOAP::WSDL/);
|
||||||
|
|
||||||
@@ -24,7 +30,7 @@ my $soap;
|
|||||||
|
|
||||||
#2
|
#2
|
||||||
ok( $soap = SOAP::WSDL->new(
|
ok( $soap = SOAP::WSDL->new(
|
||||||
wsdl => 'file://' . $path . '/../../acceptance/wsdl/03_complexType-all.wsdl',
|
wsdl => 'file://' . $url . '/../../acceptance/wsdl/03_complexType-all.wsdl',
|
||||||
), 'Instantiated object' );
|
), 'Instantiated object' );
|
||||||
|
|
||||||
#3
|
#3
|
||||||
|
|||||||
@@ -12,14 +12,17 @@ use_ok(qw/SOAP::WSDL/);
|
|||||||
print "# SOAP::WSDL Version: $SOAP::WSDL::VERSION\n";
|
print "# SOAP::WSDL Version: $SOAP::WSDL::VERSION\n";
|
||||||
|
|
||||||
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
||||||
|
my ($volume, $dir) = File::Spec->splitpath($path, 1);
|
||||||
|
my @dir_from = File::Spec->splitdir($dir);
|
||||||
|
unshift @dir_from, $volume if $volume;
|
||||||
|
my $url = join '/', @dir_from;
|
||||||
|
|
||||||
my $xml;
|
my $xml;
|
||||||
my $soap;
|
my $soap;
|
||||||
|
|
||||||
#2
|
#2
|
||||||
ok( $soap = SOAP::WSDL->new(
|
ok( $soap = SOAP::WSDL->new(
|
||||||
wsdl => 'file://' . $path . '/../../acceptance/wsdl/03_complexType-element-ref.wsdl',
|
wsdl => 'file://' . $url . '/../../acceptance/wsdl/03_complexType-element-ref.wsdl',
|
||||||
no_dispatch => 1,
|
no_dispatch => 1,
|
||||||
), 'Instantiated object' );
|
), 'Instantiated object' );
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,14 @@ use_ok(qw/SOAP::WSDL/);
|
|||||||
my $xml;
|
my $xml;
|
||||||
|
|
||||||
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
||||||
|
my ($volume, $dir) = File::Spec->splitpath($path, 1);
|
||||||
|
my @dir_from = File::Spec->splitdir($dir);
|
||||||
|
unshift @dir_from, $volume if $volume;
|
||||||
|
my $url = join '/', @dir_from;
|
||||||
|
|
||||||
#2
|
#2
|
||||||
ok( $soap = SOAP::WSDL->new(
|
ok( $soap = SOAP::WSDL->new(
|
||||||
wsdl => 'file://' . $path . '/../../acceptance/wsdl/03_complexType-sequence.wsdl'
|
wsdl => 'file://' . $url . '/../../acceptance/wsdl/03_complexType-sequence.wsdl'
|
||||||
), 'Instantiated object' );
|
), 'Instantiated object' );
|
||||||
|
|
||||||
#3
|
#3
|
||||||
|
|||||||
@@ -17,10 +17,14 @@ use_ok(qw/SOAP::WSDL/);
|
|||||||
my $soap;
|
my $soap;
|
||||||
my $xml;
|
my $xml;
|
||||||
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
my $path = File::Spec->rel2abs( dirname __FILE__ );
|
||||||
|
my ($volume, $dir) = File::Spec->splitpath($path, 1);
|
||||||
|
my @dir_from = File::Spec->splitdir($dir);
|
||||||
|
unshift @dir_from, $volume if $volume;
|
||||||
|
my $url = join '/', @dir_from;
|
||||||
|
|
||||||
#2
|
#2
|
||||||
ok( $soap = SOAP::WSDL->new(
|
ok( $soap = SOAP::WSDL->new(
|
||||||
wsdl => 'file://' . $path . '/../../acceptance/wsdl/04_element.wsdl'
|
wsdl => 'file://' . $url . '/../../acceptance/wsdl/04_element.wsdl'
|
||||||
), 'Instantiated object' );
|
), 'Instantiated object' );
|
||||||
|
|
||||||
#3
|
#3
|
||||||
|
|||||||
@@ -19,14 +19,8 @@ my $generator = SOAP::WSDL::Generator::Template::XSD->new({
|
|||||||
definitions => $definitions,
|
definitions => $definitions,
|
||||||
});
|
});
|
||||||
my $output = q{};
|
my $output = q{};
|
||||||
$generator->generate_interface({
|
|
||||||
NO_POD => 1,
|
|
||||||
output => \$output,
|
|
||||||
});
|
|
||||||
|
|
||||||
ok eval $output;
|
|
||||||
|
|
||||||
$output = q{};
|
|
||||||
$generator->generate_typemap({
|
$generator->generate_typemap({
|
||||||
NO_POD => 1,
|
NO_POD => 1,
|
||||||
output => \$output,
|
output => \$output,
|
||||||
@@ -35,7 +29,19 @@ $generator->generate_typemap({
|
|||||||
ok eval $output;
|
ok eval $output;
|
||||||
print $@ if $@;
|
print $@ if $@;
|
||||||
|
|
||||||
print $output;
|
#print $output;
|
||||||
|
|
||||||
|
$output = q{};
|
||||||
|
$generator->generate_interface({
|
||||||
|
NO_POD => 1,
|
||||||
|
output => \$output,
|
||||||
|
});
|
||||||
|
|
||||||
|
ok eval $output;
|
||||||
|
print $@ if $@;
|
||||||
|
|
||||||
|
|
||||||
|
# print $output;
|
||||||
__END__
|
__END__
|
||||||
|
|
||||||
my $tt = Template->new(
|
my $tt = Template->new(
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
use Test::More tests => 26;
|
use Test::More tests => 30;
|
||||||
use File::Basename qw(dirname);
|
use File::Basename qw(dirname);
|
||||||
use File::Spec;
|
use File::Spec;
|
||||||
use File::Path;
|
use File::Path;
|
||||||
@@ -107,5 +107,15 @@ $complexRestriction = MyTypes::testComplexTypeRestriction->new({
|
|||||||
is $complexRestriction->get_Test1(), 'test1';
|
is $complexRestriction->get_Test1(), 'test1';
|
||||||
is $complexRestriction->get_Test2(), 'test2';
|
is $complexRestriction->get_Test2(), 'test2';
|
||||||
|
|
||||||
|
ok eval { require MyTypes::testComplexTypeExtension };
|
||||||
|
$complexExtension = MyTypes::testComplexTypeExtension->new({
|
||||||
|
Test1 => 'test1',
|
||||||
|
Test2 => 'test2',
|
||||||
|
Test3 => 'test3',
|
||||||
|
});
|
||||||
|
is $complexExtension->get_Test1(), 'test1';
|
||||||
|
is $complexExtension->get_Test2(), 'test2';
|
||||||
|
is $complexExtension->get_Test3(), 'test3';
|
||||||
|
|
||||||
|
|
||||||
rmtree "$path/testlib";
|
rmtree "$path/testlib";
|
||||||
|
|||||||
@@ -84,6 +84,21 @@
|
|||||||
</xsd:complexContent>
|
</xsd:complexContent>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
|
|
||||||
|
<xsd:complexType name="testComplexTypeExtension">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>complexType extension test</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:complexContent>
|
||||||
|
<xsd:extension base="tns:testComplexTypeAll">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="Test1" type="xsd:string" />
|
||||||
|
<xsd:element name="Test2" type="xsd:string" minOccurs="1"/>
|
||||||
|
<xsd:element name="Test3" type="xsd:string" minOccurs="1"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:extension>
|
||||||
|
</xsd:complexContent>
|
||||||
|
</xsd:complexType>
|
||||||
|
|
||||||
<xsd:complexType name="testComplexTypeChoice">
|
<xsd:complexType name="testComplexTypeChoice">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation>
|
<xsd:documentation>
|
||||||
|
|||||||
Reference in New Issue
Block a user