Unable to invoke a service with basic authentication using SOAP UI [version 4.5.1 smart bear]., In spite of passing the Authentication Details
SOAP UI Log | Error log |
INFO:SERVHOST:PORT requires authentication with the realm 'weblogic' ERROR:Exception in request: org.apache.http.client.ClientProtocolException ERROR:An error occured [org.apache.http.client.ClientProtocolException], see error log for details INFO:Error getting response for [publishCaseSOAP.publishCaseOutboundtoEAI:Request 1]; org.apache.http.client.ClientProtocolException | ERROR:org.apache.http.client.ClientProtocolException org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:822) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:236) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:345) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:241) |
Fix:
File > preference >HTTP Settings
Tick the check box - Authenticate Preemptively
This would ensure that the it adds the authentication information to the outgoing request.
Save the changes and re-tests the application.
Ø Success- SOAP UI Log
Scheduling garbage collection every 60 seconds
Tue Jan 07 12:26:37 IST 2014:INFO:Got response for [publishCaseSOAP.publishCaseOutboundtoEAI:Request 1] in 527ms (596 bytes)
RIJOY
No comments:
Post a Comment