Skip to content

Commit

Permalink
[WFLY-6048] jboss-webservices.xml descriptor doesn't override @webcon…
Browse files Browse the repository at this point in the history
…text annotation
  • Loading branch information
treblereel committed Feb 9, 2016
1 parent c654359 commit 15fa4af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ private static String getAuthMethod(final EJBEndpoint ejbEndpoint, final JBossPo
}

private static String getTransportGuarantee(final EJBEndpoint ejbEndpoint, final JBossPortComponentMetaData portComponentMD) {
if (ejbEndpoint.getTransportGuarantee() != null) return ejbEndpoint.getTransportGuarantee();
return portComponentMD != null ? portComponentMD.getTransportGuarantee() : null;
if (portComponentMD != null && portComponentMD.getTransportGuarantee() != null) return portComponentMD.getTransportGuarantee();
return ejbEndpoint != null ? ejbEndpoint.getTransportGuarantee() : null;
}

private static boolean isSecureWsdlAccess(final EJBEndpoint ejbEndpoint, final JBossPortComponentMetaData portComponentMD) {
Expand Down

0 comments on commit 15fa4af

Please sign in to comment.