Linux SoftwareProgrammingLibrariesSOAP::Data 0.69

SOAP::Data 0.69


SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way in which Perl
Developer:   Paul Kulchenko, Randy J. Ray and Byrne Reese
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   232K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way in which Perl data gets expressed as SOAP data entities.

The SOAP::Data class provides the means by which to explicitly manipulate and control all aspects of the way in which Perl data gets expressed as SOAP data entities. Most of the methods are accessors, which like those in SOAP::Lite are designed to return the current value if no new one is passed, while returning the object reference otherwise (allowing for chained method calls). Note that most accessors (except value) accept a new value for the data object as a second argument.

METHODS

new(optional key/value pairs)
$obj = SOAP::Data->new(name => 'idx', value => 5);

This is the class constructor. Almost all of the attributes related to the class may be passed to the constructor as key/value pairs. This method isn't often used directly because SOAP::Data objects are generally created for temporary use. It is available for those situations that require it.

name(new name, optional value)
$obj->name('index');

Gets or sets the current value of the name, as the object regards it. The name is what the serializer will use for the tag when generating the XML for this object. It is what will become the accessor for the data element. Optionally, the object's value may be updated if passed as a second argument.

type(new type, optional value)
$obj->type('int');

Gets or sets the type associated with the current value in the object. This is useful for those cases where the SOAP::Data object is used to explicitly specify the type of data that would otherwise be interpreted as a different type completely (such as perceiving the string 123 as an integer, instead). Allows the setting of the object's value, if passed as a second argument to the method.

uri(new uri, optional value)
$obj->uri('http://www.perl.com/SOAP');

Gets or sets the URI that will be used as the namespace for the resulting XML entity, if one is desired. This doesn't set the label for the namespace. If one isn't provided by means of the prefix method, one is generated automatically when needed. Also allows the setting of the object's value, if passed as a second argument to the method.

prefix(new prefix, optional value)
$obj->prefix('perl');

Provides the prefix, or label, for use when associating the data object with a specific namespace. Also allows the setting of the object's value, if passed as a second argument to the method.

attr(hash reference of attributes, optional value)
$obj->attr({ attr1 => 'value' });

Allows for the setting of arbitrary attributes on the data object. Keep in mind the requirement that any attributes not natively known to SOAP must be namespace-qualified. Also allows the setting of the object's value, if passed as a second argument to the method.

value(new value)
$obj->value(10);

Fetches the current value encapsulated by the object, or explicitly sets it.
The last four methods are convenience shortcuts for the attributes that SOAP itself supports. Each also permits inclusion of a new value, as an optional second argument.

actor(new actor, optional value)
$obj->actor($new_actor_name);

Gets or sets the value of the actor attribute; useful only when the object generates an entity for the message header.

mustUnderstand(boolean, optional value)
$obj->mustUnderstand(0);

Manipulates the mustUnderstand attribute, which tells the SOAP processor whether it is required to understand the entity in question.

encodingStyle(new encoding URN, optional value)
$obj->encodingStyle($soap_11_encoding);

This method is most likely to be used in places outside the header creation. Sets encodingStyle, which specifies an encoding that differs from the one that would otherwise be defaulted to.

root(boolean, optional value)
$obj->root(1);

When the application must explicitly specify which data element is to be regarded as the root element for the sake of generating the object model, this method provides the access to the root attribute.

Requirements:
  • Perl
    tags the object  value obj  optional value  for the  second argument  soap data  the setting  allows the  current value  sets the  data object  the data  the current  

    Download SOAP::Data 0.69


     http://mirrors.evolva.ro/CPAN/authors/id/B/BY/BYRNE/SOAP-Lite-0.69.tar.gz


    Authors software

    SOAP::Data 0.69 (by Paul Kulchenko, Randy J. Ray and Byrne Reese)
    SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way in which Perl


    Similar software

    SOAP::Data 0.69 (by Paul Kulchenko, Randy J. Ray and Byrne Reese)
    SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way in which Perl

    ASNMTAP::Asnmtap::Plugins::SOAP 3.000.010 (by Alex Peeters)

    SOAP::WSDL 1.20 (by Martin Kutter)
    SOAP::WSDL is a Perl module.

    SYNOPSIS

    use SOAP::WSDL;

    my $soap=SOAP::WSDL->new( wsdl => 'http://server.com/ws.wsdl' )

    SOAP::Data::ComplexType 0.041 (by Eric Rybski)
    SOAP::Data::ComplexType is an abstract class for creating and handling complex SOAP::Data objects.

    SYNOPSIS

    package My:

    Unix::Conf::Bind8::DB::A 0.3 (by Karthik Krishnamurthy)
    Unix::Conf::Bind8::DB::A is a Class representing A records.

    METHODS

    Methods specified here are overridden

    ebXML::Message 0.03 (by ebXML::Message Team)
    ebXML::Message is a Perl module to encapsulate an ebMS message.

    SYNOPSIS

    use ebXML::Message;

    # create new message

    m

    Business::Associates::XML 1.00 (by Allan Engelhardt)
    Business::Associates::XML is a Perl module for encapsulating XML, XSL, and XSLT operations for the Associates package.

    SYNOPSIS

    Class::Meta::Declare 0.04 (by Curtis Poe)
    Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express.

    SYNOPSIS

    This was a first attempt at making

    XML::DOM::Document 1.44 (by XML::DOM Team)
    XML::DOM::Document is an XML document node in XML::DOM.

    XML::DOM::Document extends XML::DOM::Node.

    It is the main root of the X

    XML::SimpleObject 0.53 (by Dan Brian)
    XML::SimpleObject is a Perl extension allowing a simple object representation of a parsed XML::Parser tree.

    SYNOPSIS

    use XML:


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags