diff options
Diffstat (limited to 'lib/wsdl')
-rw-r--r-- | lib/wsdl/soap/operation.rb | 5 | ||||
-rw-r--r-- | lib/wsdl/xmlSchema/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/wsdl/soap/operation.rb b/lib/wsdl/soap/operation.rb index e50356cf35..bb49f2099c 100644 --- a/lib/wsdl/soap/operation.rb +++ b/lib/wsdl/soap/operation.rb @@ -104,7 +104,10 @@ private op_name.namespace = soapbody.namespace end if soapbody.parts - raise NotImplementedError.new("soap:body parts") + target = soapbody.parts.split(/\s+/) + bodyparts = name_info.parts.find_all { |part| + target.include?(part.name) + } else bodyparts = name_info.parts end diff --git a/lib/wsdl/xmlSchema/schema.rb b/lib/wsdl/xmlSchema/schema.rb index 1d7759605e..b2a195d41f 100644 --- a/lib/wsdl/xmlSchema/schema.rb +++ b/lib/wsdl/xmlSchema/schema.rb @@ -43,6 +43,9 @@ class Schema < Info o = ComplexType.new @complextypes << o o + when SimpleTypeName + STDERR.puts("Restriction of basetype with simpleType definition is ignored for now.") + nil when ElementName o = Element.new @elements << o |