java - How do I call a NTLM secured webservice using Camel-cxf? -
I want my camel (2.13) flow, I use Uml-Siaksf call a webservice. Web service was revealed to me to have been secured using NTLM that Siaksf supports itself NTLM, but I could find nothing on camel-Siaksf I tried parameters username and password, but it works Was not doing The IC seems like Camel-CXF does not support it.
div class = "post-text" Itemprop = "text">
& lt; cxf: cxfEndpoint id = "sharepointQueryEndpoint" address = "http: //yourhostwithpathtowsdl/_vti_bin/search.asmx" serviceClass = "com Somewhere.special.generated.QueryServiceSoap" endpointName = "SSP: Sikyorknekshn" xmlns: ssp = "http: / /microsoft.com/webservices/OfficeServer/QueryService "& gt; & Lt; CXF: Properties & gt; & Lt; Entry key = "data format" value = "POJO" /> & Lt; Entry key = "logging feature enabled" value = "true" /> & Lt; / CXF: Properties & gt; & Lt; CXF: inInceptors & gt; & Lt; Bean square = "org.apache.cxf.interceptor.loggingInInceptor" /> & Lt; / CXF: inInceptceptors & gt; & Lt; CXF: outInterceptors & gt; & Lt; Bean class = "org.apache.cxf.interceptor.LoggingOutInterceptor" /> & Lt; / CXF: outInterceptors & gt; & Lt; / CXF: cxfEndpoint & gt; & Lt; Http: conduit name = "{http://microsoft.com/webservices/OfficeServer/QueryService}SecureConnection.http-conduit" & gt; & Lt; http: client AllowChunking = "false" MaxRetransmits = "11" connection = "keep-Elive" ReceiveTimeout = "60000" CacheControl = "no-cache" / & gt; & Lt; Http: authorization & gt; & Lt; Second: username & gt; Domain \ Username & lt; / Sec: username & gt; & Lt; Second: Password & gt; Password & lt; / Sec: Password & gt; & Lt; Second: authorization & gt; NTLM & lt; / Sec: authorization & gt; & Lt; / Http: Authorization & gt; & Lt; / Http: drain & gt;
attribute cxfEndpoint configuration is generated by wsdl2java that indicates Sewaclaint interface. Enter code here
Note: When this circulation is run from Windows based machine, the machine is not working Currently the user name / password configured in the HTB-pulse with the credentials of the logged in user Will be the option. See
Comments
Post a Comment