def extract_soap_operations(full_soap_xml)
      doc = Nokogiri::XML(full_soap_xml)
      operations = doc.css('wsdl|operations')
      operations.attr('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance')
      operations.each do |element|
        check_xsi_type(element)
      end
      return operations.to_s
    end
def extract_soap_operations(full_soap_xml)
      doc = Nokogiri::XML(full_soap_xml)
      operations = doc.css('wsdl|operations')
      operations.attr('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance')
      operations.each do |element|
        check_xsi_type(element)
      end
      return operations.to_s
    end
def extract_soap_operations ( full_soap_xml ) doc = Nokogiri :: XML ( full_soap_xml ) operations = doc . css ( 'wsdl|operations' ) operations . attr ( 'xmlns:xsi' , 'http://www.w3.org/2001/XMLSchema-instance' ) operations . each do | element | check_xsi_type ( element ) end return operations . to_s end
Given a full SOAP xml string, extract just the operations element
 from the SOAP body as a string.
Given a full SOAP xml string extract just the operations element from the SOAP body as a string .