WebService Exception text is: LDAP: error code 49 - Invalid Credentials


Article ID: 76403


Updated On:


CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)


Sending a HTTPS Request using the Webservice step in DevTest 10.x  is throwing the below error.  But the same test works fine in Soap UI.  

The Login failed because of an exception: com.ibm.broker.axis2.MbSoapLoginException: IBM Integration Bus BIP2702 (authentication failure) 

org.apache.axis2.AxisFault: CWWSS6521E: The Login failed because of an exception: com.ibm.broker.axis2.MbSoapLoginException: IBM Integration Bus BIP2702 (authentication failure) 
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) 
 at com.ibm.ws.wssecurity.handler.WSSecurityConsumerBase.invoke(WSSecurityConsumerBase.java:131) 
 at com.ibm.ws.wssecurity.handler.WSSecurityConsumerHandler._invoke(WSSecurityConsumerHandler.java:537) 
 at com.ibm.ws.wssecurity.handler.WSSecurityConsumerHandler.invoke(WSSecurityConsumerHandler.java:236) 
 at org.apache.axis2.handlers.AbstractHandler.invoke_stage2(AbstractHandler.java:133) 
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:343) 
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313) 


The password was incorrect


DevTest 10.x


Use the TCPMON.bat/.sh utility that we ship with DevTest to verify the Raw traffic that is send from Soap Ui  VS.  what is send from DevTest. TCPMon is a utility that lets you monitor the messages that are passed in a TCP-based conversation. 


To run TCPMon:

You can find a tcpmon.bat file in the DEVTEST_HOME\bin directory
Double-click the .bat file on Windows or execute the shell script on UNIX.

Provide a listen port,   
Listen Port ,  enter  8010 ( for example) 
Enter the fields for  Target Host & Port  ,  using the details from the real ENDPOINT URL 

1. In SoapUi,  the endpoint should be pointing to:   http://localhost:8010/baseUrl.../...
 Send the Request,  and you should be able to capture the traffic in Tcpmon  with the Headers and the Soap Body details. 

2.  Do the Same for DevTest,  In the enpoint field enter: http://localhost:8010/baseUrl.../...
Click the green arrow at the top , to send the request and capture the traffic in Tcpmon.

Save the Traffic that is captured and Compare the two Raw request in Notepad.  

We noticed that the password used  in Soap UI  was different from  what was used in  Devtest. 

 <wsse:Password Type="http://abc.org/wss/2004/01/abc-200401-wss-username-token-profile-1.0#PasswordText">AcdEF</wsse:Password>  

Modified the password in the DevTest request  and that resolved the issue.     


Additional Information