Shipment

 view release on metacpan or  search on metacpan

lib/Shipment/SOAP/WSDL.pm  view on Meta::CPAN

  use Class::Std::Fast::Storable;
  use List::Util;
  use base qw(SOAP::WSDL::Base);
  
  use version; our $VERSION = qv('2.00.99_3');
  
  my %operation_of :ATTR(:name<operation> :default<()>);
  
  #
  #=head2 find_operation
  #
  #$port_type->find_operation($namespace, $name)
  #
  #Returns the PortType's operation object matching the given namespace and
  #name
  #
  
  sub find_operation {
      return List::Util::first {
          ( $_->get_targetNamespace() eq $_[1] ) && ( $_->get_name() eq $_[2] )
      } @{ $operation_of{ ${ $_[0] } } };
  };
  
  1;
SOAP_WSDL_PORTTYPE

    $fatpacked{"SOAP/WSDL/SOAP/Address.pm"} = <<'SOAP_WSDL_SOAP_ADDRESS';
  package
    SOAP::WSDL::SOAP::Address;
  use strict;
  use warnings;
  use base qw(SOAP::WSDL::Base);
  use Class::Std::Fast::Storable;
  
  use version; our $VERSION = qv('2.00.99_3');
  
  my %location   :ATTR(:name<location> :default<()>);
  1;
SOAP_WSDL_SOAP_ADDRESS

    $fatpacked{"SOAP/WSDL/SOAP/Body.pm"} = <<'SOAP_WSDL_SOAP_BODY';
  package
    SOAP::WSDL::SOAP::Body;
  use strict;
  use warnings;
  use base qw(SOAP::WSDL::Base);
  use Class::Std::Fast::Storable;
  
  use version; our $VERSION = qv('2.00.99_3');
  
  my %use_of              :ATTR(:name<use>            :default<q{}>);
  my %namespace_of        :ATTR(:name<namespace>      :default<q{}>);
  my %encodingStyle_of    :ATTR(:name<encodingStyle>  :default<q{}>);
  my %parts_of            :ATTR(:name<parts>          :default<q{}>);
  
  1;
SOAP_WSDL_SOAP_BODY

    $fatpacked{"SOAP/WSDL/SOAP/Header.pm"} = <<'SOAP_WSDL_SOAP_HEADER';
  package
    SOAP::WSDL::SOAP::Header;
  use strict;
  use warnings;
  use base qw(SOAP::WSDL::Base);
  use Class::Std::Fast::Storable;
  
  use version; our $VERSION = qv('2.00.99_3');
  
  my %use_of              :ATTR(:name<use>            :default<q{}>);
  my %namespace_of        :ATTR(:name<namespace>      :default<q{}>);
  my %encodingStyle_of    :ATTR(:name<encodingStyle>  :default<q{}>);
  my %message_of          :ATTR(:name<message>        :default<()>);
  my %part_of             :ATTR(:name<part>          :default<q{}>);
  
  
  1;
SOAP_WSDL_SOAP_HEADER

    $fatpacked{"SOAP/WSDL/SOAP/HeaderFault.pm"} =
      <<'SOAP_WSDL_SOAP_HEADERFAULT';
  package
    SOAP::WSDL::SOAP::HeaderFault;
  use strict;
  use warnings;
  use base qw(SOAP::WSDL::Header);
  
  use version; our $VERSION = qv('2.00.99_3');
  
  1;
SOAP_WSDL_SOAP_HEADERFAULT

    $fatpacked{"SOAP/WSDL/SOAP/Operation.pm"} = <<'SOAP_WSDL_SOAP_OPERATION';
  package
    SOAP::WSDL::SOAP::Operation;
  use strict;
  use warnings;
  use Class::Std::Fast::Storable;
  use base qw(SOAP::WSDL::Base);
  
  use version; our $VERSION = qv('2.00.99_3');
  
  my %style_of :ATTR(:name<style> :default<()>);
  my %soapAction_of :ATTR(:name<soapAction> :default<()>);
  
  1;
SOAP_WSDL_SOAP_OPERATION

    $fatpacked{"SOAP/WSDL/SOAP/Typelib/Fault.pm"} =
      <<'SOAP_WSDL_SOAP_TYPELIB_FAULT';
  package
    SOAP::WSDL::SOAP::Typelib::Fault;
  use strict;
  use warnings;
  use Class::Std::Fast::Storable constructor => 'none';
  
  use version; our $VERSION = qv('2.00.99_3');
  
  1;
SOAP_WSDL_SOAP_TYPELIB_FAULT

    $fatpacked{"SOAP/WSDL/SOAP/Typelib/Fault11.pm"} =
      <<'SOAP_WSDL_SOAP_TYPELIB_FAULT11';
  package
    SOAP::WSDL::SOAP::Typelib::Fault11;
  {
      use strict;
      use warnings;
      use Class::Std::Fast::Storable constructor => 'none';
  
      use version; our $VERSION = qv('2.00.99_3');
  
      use Scalar::Util qw(blessed);
  
      use SOAP::WSDL::XSD::Typelib::ComplexType;
      use SOAP::WSDL::XSD::Typelib::Element;
  
      use base qw(
        SOAP::WSDL::SOAP::Typelib::Fault
        SOAP::WSDL::XSD::Typelib::Element
        SOAP::WSDL::XSD::Typelib::ComplexType
      );
  

lib/Shipment/SOAP/WSDL.pm  view on Meta::CPAN

          portType => {
              type => 'CLASS',
              class => 'SOAP::WSDL::PortType',
          },
          message => {
              type => 'CLASS',
              class => 'SOAP::WSDL::Message',
          },
          part => {
              type => 'CLASS',
              class => 'SOAP::WSDL::Part',
          },
          service => {
              type => 'CLASS',
              class => 'SOAP::WSDL::Service',
          },
          port => {
              type => 'CLASS',
              class => 'SOAP::WSDL::Port',
          },
          operation => {
              type => 'CLASS',
              class => 'SOAP::WSDL::Operation',
          },
          input => {
              type => 'CLASS',
              class => 'SOAP::WSDL::OpMessage',
          },
          output => {
              type => 'CLASS',
              class => 'SOAP::WSDL::OpMessage',
          },
          fault => {
              type => 'CLASS',
              class => 'SOAP::WSDL::OpMessage',
          },
          types => {
              type => 'CLASS',
              class => 'SOAP::WSDL::Types',
          },
          documentation => {
              type => 'CONTENT',
              method => 'set_documentation',
          }
      },
      # soap:
      'http://schemas.xmlsoap.org/wsdl/soap/' => {
          operation => {
              type => 'CLASS',
              class => 'SOAP::WSDL::SOAP::Operation',
          },
          binding => {
              type => 'PARENT',
          },
          body => {
              type => 'CLASS',
              class => 'SOAP::WSDL::SOAP::Body',
          },
          header => {
              type => 'CLASS',
              class => 'SOAP::WSDL::SOAP::Header',
          },
          address => {
              type => 'CLASS',
              class => 'SOAP::WSDL::SOAP::Address',
          }
      },
      'http://www.w3.org/2001/XMLSchema' => {
          'import' => {
              type => 'HANDLER',
              method => 'xml_schema_import',
          },
          schema => {
              type => 'CLASS',
              class => 'SOAP::WSDL::XSD::Schema',
          },
          attribute => {
              type => 'CLASS',
              class => 'SOAP::WSDL::XSD::Attribute',
          },
          attributeGroup  => {
              type => 'CLASS',
              class => 'SOAP::WSDL::XSD::AttributeGroup',
          },
          key => {
              type => 'SKIP',     # not implemented yet
          },
          keyref => {
              type => 'SKIP',     # not implemented yet
          },
          unique => {
              type => 'SKIP',     # not implemented yet
          },
          notation => {
              type => 'SKIP',     # not implemented yet
          },
          annotation => {
              type => 'CLASS',     # not implemented yet
              class => 'SOAP::WSDL::XSD::Annotation',
          },
          documentation => {
              type => 'CONTENT',
              method => 'set_documentation',
          },
          appinfo => {
              type => 'SKIP',     # not implemented yet
          },
          description => {
              type => 'SKIP',     # not implemented yet
          },
          element => {
              type => 'CLASS',
              class => 'SOAP::WSDL::XSD::Element',
          },
          simpleType => {
              type => 'CLASS',
              class => 'SOAP::WSDL::XSD::SimpleType',
          },
          complexType => {
              type => 'CLASS',
              class => 'SOAP::WSDL::XSD::ComplexType',



( run in 2.858 seconds using v1.01-cache-2.11-cpan-437f7b0c052 )