Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the criteria for accepting valid WSA headers, to adhere with …

  • Loading branch information...
commit 25c78b99dc8c05925e21df16974ed7a4ffb2cea6 1 parent 749eb01
@redbar0n authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/savon/wsa.rb
View
9 lib/savon/wsa.rb
@@ -29,7 +29,14 @@ def []=(key, value)
attr_accessor :action, :message_id, :reply_to, :to
def ws_addressing?
- action && message_id && reply_to && to
+ ret_val = false
+ if (action && to)
+ ret_val = true
+ if reply_to && !message_id
+ ret_val = false
+ end
+ end
+ ret_val
end
# Returns the XML for a WSA header.
Please sign in to comment.
Something went wrong with that request. Please try again.