Contributions
- 7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes0Comments
Re: Testing WCF Webservice using Soap UI when Authorization is NTLM but security mode is Transport
Hi, Thanks for the reply.. I have already configured the username, password and Domain in the Auth Tab. I have checked"Authenticate preemptively" option under SoapUI (Ready! API) Preferences Unfortunately the authentication is going in the soap header but my application does not worry about soapheader instead it expects Authorization in the Request header as given in the original post. Can we add Negotiate token in the Request header for NTLM auth? Thanks, Chandra7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.9KViews0likes1CommentTesting WCF Webservice using Soap UI when Authorization is NTLM but security mode is Transport
We are using WCF Webservices and it is exposed for Webservice Testing. We are using SoapUI opensource to test this. I am capturing the soap request using Fiddler. POST https://lb-go01.xxxxxxx.com:4432/xxxx/xxxxxx/xxxxx.svc/soap HTTP/1.1 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://www.xxxx.com/xxxx/xxxxxxxxxxx/xxxxxxxxxx/xxxxxxxxxxxxxx" Accept-Encoding: gzip, deflate Authorization: Negotiate TlRMTVNTUAADAAAAGAAYAKQAAAA+...... Host: lb-go01.xxxxxxx.com:4432 Content-Length: 824 Expect: 100-continue By seeing Authorization, I understand that it is using NTLM Authorization since it starts with TlR (Referring How to find if NTLM or Kerberos is used from WWW-Authenticate: Negotiate header) I have Configured the username, password and Domain for NTLM Authorization in Soap UI. NTLM Authorization sends the credentials in the Soap Header as given below: <soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse ...... </soapenv:Header> The server config file is: <security mode="Transport"> <transport clientCredentialType="Windows" /> </security> ONLY Basic Authorization in soap ui sends Authorization as a Request Header. But server expects NTLMV2 where as SoapUI sends Authorization as Soap Header if it is NTLM. How to over come this issue using SoapUI.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.9KViews0likes3CommentsWARN:Authentication error: ntlm authorization challenge expected, but not found
Hi, I am testing WCF webservice using SoapUI. It supports ONLY windows authentication. Following are the set up done at my level.. 1. NTLM Authentication is given on the Request 2. WSS-Password Type is given as Password Text/PasswordDigest/None 3. Checked the Add Default wsa:To 4. Added the following command in the vmoptions file -Djava.net.preferIPv4Stack=true Still I am gettingWARN:Authentication error: ntlm authorization challenge expected, but not found. whether SoapUI supports WCF webservice with windows authentication or not? Please let me know7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes2Comments