1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
require 'echo.rb'
require 'soap/mapping'
module WSDL; module Group
module EchoMappingRegistry
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
NsGrouptype = "urn:grouptype"
NsXMLSchema = "http://www.w3.org/2001/XMLSchema"
EncodedRegistry.register(
:class => WSDL::Group::Groupele_type,
:schema_type => XSD::QName.new(NsGrouptype, "groupele_type"),
:schema_element => [
["comment", "SOAP::SOAPString", [0, 1]],
["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]],
[ :choice,
["element", ["SOAP::SOAPString", XSD::QName.new(nil, "element")]],
["eletype", ["SOAP::SOAPString", XSD::QName.new(nil, "eletype")]]
],
["var", ["SOAP::SOAPString", XSD::QName.new(nil, "var")]]
],
:schema_attribute => {
XSD::QName.new(nil, "attr_min") => "SOAP::SOAPDecimal",
XSD::QName.new(nil, "attr_max") => "SOAP::SOAPDecimal"
}
)
LiteralRegistry.register(
:class => WSDL::Group::Groupele_type,
:schema_type => XSD::QName.new(NsGrouptype, "groupele_type"),
:schema_element => [
["comment", "SOAP::SOAPString", [0, 1]],
["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]],
[ :choice,
["element", ["SOAP::SOAPString", XSD::QName.new(nil, "element")]],
["eletype", ["SOAP::SOAPString", XSD::QName.new(nil, "eletype")]]
],
["var", ["SOAP::SOAPString", XSD::QName.new(nil, "var")]]
],
:schema_attribute => {
XSD::QName.new(nil, "attr_min") => "SOAP::SOAPDecimal",
XSD::QName.new(nil, "attr_max") => "SOAP::SOAPDecimal"
}
)
LiteralRegistry.register(
:class => WSDL::Group::Groupele_type,
:schema_name => XSD::QName.new(NsGrouptype, "groupele"),
:schema_element => [
["comment", "SOAP::SOAPString", [0, 1]],
["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]],
[ :choice,
["element", ["SOAP::SOAPString", XSD::QName.new(nil, "element")]],
["eletype", ["SOAP::SOAPString", XSD::QName.new(nil, "eletype")]]
],
["var", ["SOAP::SOAPString", XSD::QName.new(nil, "var")]]
],
:schema_attribute => {
XSD::QName.new(nil, "attr_min") => "SOAP::SOAPDecimal",
XSD::QName.new(nil, "attr_max") => "SOAP::SOAPDecimal"
}
)
end
end; end
|