Sha256: 07c6f08b7d190dc9dbb34fbb5214cf458b070b0a62b36abde2f8f72ed96af666
Contents?: true
Size: 626 Bytes
Versions: 5
Compression:
Stored size: 626 Bytes
Contents
# encoding: ASCII-8BIT require 'xsd/mapping' require 'enumsample.rb' module EnumsampleMappingRegistry Registry = ::SOAP::Mapping::LiteralRegistry.new Registry.register( :class => HobbitType, :schema_ns => "urn:org.example.enumsample", :schema_type => "hobbit.type", :schema_qualified => false, :schema_element => [ ["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]], ["age", ["SOAP::SOAPInt", XSD::QName.new(nil, "age")]] ] ) Registry.register( :class => HobbitNameType, :schema_ns => "urn:org.example.enumsample", :schema_type => "hobbit.name.type" ) end
Version data entries
5 entries across 5 versions & 1 rubygems