Changeset 606

Show
Ignore:
Timestamp:
04/07/07 22:52:15 (2 years ago)
Author:
sacha
Message:

reading soap message is no a class method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/hefeweizen_library_ebMS_message2.rb

    r605 r606  
    799799        end 
    800800 
    801         @soap_only = raw_message_to_soap_only 
     801        @soap_only = EBMessage2.raw_message_to_soap_only @raw_message_file_path 
    802802        @payloads = EBMessage2.raw_message_to_payloads @raw_message_file_path 
    803803 
     
    11421142      # This is very slow and only good for prototyping. 
    11431143      # TODO Fix this for performance. Use low level IO or a tasker 
    1144       def raw_message_to_soap_only 
     1144      def EBMessage2.raw_message_to_soap_only raw_message_file_path 
    11451145        soap_only = "" 
    11461146        turn_on = false 
    11471147        is_end = false 
    1148         File.open(@raw_message_file_path, "r").readlines.each{ | line | 
     1148        File.open(raw_message_file_path, "r").readlines.each{ | line | 
    11491149          #        raw_message.each_line{ | line | 
    11501150          if line =~ /^<.*Envelope.*http:\/\/schemas.xmlsoap.org\/soap\/envelope\/.*<\/.*Envelope>/ then