Sha256: 705c2c496433cffb3605217cb9bb51532219a5a109a798ca76f82bcc11edf964

Contents?: true

Size: 500 Bytes

Versions: 6

Compression:

Stored size: 500 Bytes

Contents

xml.instruct!
xml.tag! "soap:Envelope", "xmlns:soap" => 'http://schemas.xmlsoap.org/soap/envelope/',
                          "xmlns:xsd" => 'http://www.w3.org/2001/XMLSchema',
                          "xmlns:xsi" => 'http://www.w3.org/2001/XMLSchema-instance',
                          "xmlns:tns" => @namespace do
  xml.tag! "soap:Body" do
    key = "tns:#{@operation}#{WashOut::Engine.camelize_wsdl ? 'Response' : '_response'}"

    xml.tag! key do
      wsdl_data xml, result
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
wash_out-0.5.3 app/views/wash_with_soap/response.builder
nogara-wash_out-0.5.2 app/views/wash_with_soap/response.builder
wash_out-0.5.2 app/views/wash_with_soap/response.builder
wash_out-0.4.2 app/views/wash_with_soap/response.builder
wash_out-0.4.1 app/views/wash_with_soap/response.builder
wash_out-0.4.0 app/views/wash_with_soap/response.builder