![]() |
![]()
| ![]() |
![]()
NAMESOAP::TypedPrimitive - Wrapper for xsd primitives that need explicit SOAP type attributes SYNOPSISuse SOAP::TypedPrimitive; my $body = {
DESCRIPTIONIn 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) DEPENDENCIESSOAP::Defs SOAP::TypedPrimitiveSerializer AUTHORKeith Brown SEE ALSOSOAP::EnvelopeMaker
|