GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOAP::TYPEDPRIMITIVE (3)

.ds Aq ’

NAME

SOAP::TypedPrimitive - Wrapper for xsd primitives that need explicit SOAP type attributes

CONTENTS

SYNOPSIS

use SOAP::TypedPrimitive;

my $body = {
a => SOAP::TypedPrimitive->new(3, ’float’),
b => SOAP::TypedPrimitive->new(4, ’float’), };

DESCRIPTION

In some cases it is desirable to provide explicit types for parameters being passed to SOAP methods. One legitimate case is when you need to disambiguate a call to a method that is one of many with the same name that only differ by the parameter types (i.e., an ’overloaded’ method).

    new(value, typeString)

Returns a blessed object reference that has a custom serializer that will emit explicit xsi:type attributes. For instance, the above example produces the following SOAP representation for ’a’:

<a xsi:type=’xsd:float’>3</a>

Note that this class only supports primitive types defined in the xsd namespace (see XML Schema Part 2: Datatypes)

DEPENDENCIES

SOAP::Defs SOAP::TypedPrimitiveSerializer

AUTHOR

Keith Brown

SEE ALSO

SOAP::EnvelopeMaker
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SOAP::TYPEDPRIMITIVE (3) 2000-09-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.