Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SOAP::TypedPrimitive(3User Contributed Perl DocumentatiSOAP::TypedPrimitive(3)

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

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

perl v5.24.1			  2000-09-05	       SOAP::TypedPrimitive(3)

NAME | SYNOPSIS | DESCRIPTION | DEPENDENCIES | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SOAP::TypedPrimitive&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help