Switchyard: Invoking outbound soap webservice with NTLM authentication fails

Solution Verified - Updated -

Issue

  • We have the below credentials in the switchyard.xml file for using NTML authentication with soap binding,
<sca:reference name="MyService" multiplicity="0..1" promote="mycomponent/MyService">
      <sca:interface.wsdl interface="MyServiceInterface.wsdl#wsdl.porttype(MyServiceInterface)"></sca:interface>
      <soap:binding.soap name="soap1">
        <soap:wsdl>META-INF/CRM_IntegrationService.wsdl</soap:wsdl>
        <soap:wsdlPort>BasicHttpBinding_CRM_IntegrationService</soap:wsdlPort>
        <soap:endpointAddress>http://localhost:8080/switchyard-example-server/CRM_IntegrationService</soap:endpointAddress>
        <soap:ntlm>
          <soap:user>vgohel</soap:user>
          <soap:password>somePass</soap:password>
          <soap:domain>SomeDomain</soap:domain>
        </soap:ntlm>
      </soap:binding.soap>
    </sca:reference>
  • The application deploys fine. The issue is that if JBoss Fuse/FSW server is configured to run as a windows service, it is observed that NTLM authentication is being successfully performed but not with user credentials as specified in the switchyard.xml file as the above. It is being done with the logged in user in the Windows.
  • The credentials specified for NTML in the switchyard.xml seem to be ignored and the authentication does not happen with those credentials.

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content