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
SOAP::TypedPrimitive(3) User Contributed Perl Documentation SOAP::TypedPrimitive(3)

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

use SOAP::TypedPrimitive;

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

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).

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)

SOAP::Defs SOAP::TypedPrimitiveSerializer

Keith Brown

SOAP::EnvelopeMaker
2000-09-05 perl v5.32.1

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

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