Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAW - Epic Interface Broken Bug #2330

Merged
merged 1 commit into from May 7, 2020
Merged

Conversation

SamWord
Copy link
Contributor

@SamWord SamWord commented May 5, 2020

Instead of manually setting the WSA values in the SOAP headers, use Savon's default WSA headers. If this doesn't work for Epic we should be able to manually set the WSA headers using the soap_header option, otherwise we can override Savon again. They are nearly identical to what was originally used in the SOAP headers previously:

Old Epic Interface Override:

{
  'wsa:Action' => "#{@namespace}:#{soap_action}",
  'wsa:MessageID' => "uuid:#{SecureRandom.uuid}",
  'wsa:To' => @client.endpoint,
}

Savon's WSA headers:

'wsa:Action' => @locals[:soap_action],
'wsa:To' => @globals[:endpoint],
'wsa:MessageID' => "urn:uuid:#{SecureRandom.uuid}",
attributes!: {
  'wsa:MessageID' => {
    "xmlns:wsa" => "http://schemas.xmlsoap.org/ws/2004/08/addressing"
  }
}

@Stuart-Johnson Stuart-Johnson merged commit ea6d17e into v3.7.0 May 7, 2020
@Stuart-Johnson Stuart-Johnson deleted the saw-epic-interface-bug branch May 7, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants