Changeset 606
- Timestamp:
- 04/07/07 22:52:15 (2 years ago)
- Files:
-
- trunk/src/hefeweizen_library_ebMS_message2.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/hefeweizen_library_ebMS_message2.rb
r605 r606 799 799 end 800 800 801 @soap_only = raw_message_to_soap_only801 @soap_only = EBMessage2.raw_message_to_soap_only @raw_message_file_path 802 802 @payloads = EBMessage2.raw_message_to_payloads @raw_message_file_path 803 803 … … 1142 1142 # This is very slow and only good for prototyping. 1143 1143 # TODO Fix this for performance. Use low level IO or a tasker 1144 def raw_message_to_soap_only1144 def EBMessage2.raw_message_to_soap_only raw_message_file_path 1145 1145 soap_only = "" 1146 1146 turn_on = false 1147 1147 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 | 1149 1149 # raw_message.each_line{ | line | 1150 1150 if line =~ /^<.*Envelope.*http:\/\/schemas.xmlsoap.org\/soap\/envelope\/.*<\/.*Envelope>/ then
