search cancel

Web Service Exception text is: LDAP: error code 49 - Invalid Credentials


Article ID: 76403


Updated On:


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


Sending a HTTPS Request using the Web Service step in DevTest and it is throwing the below error.  But the same test works fine in Soap UI.  

The Login failed because of an exception: IBM Integration Bus BIP2702 (authentication failure) 

org.apache.axis2.AxisFault: CWWSS6521E: The Login failed because of an exception: IBM Integration Bus BIP2702 (authentication failure) 
 at org.apache.axis2.AxisFault.makeFault( 
 at org.apache.axis2.handlers.AbstractHandler.invoke_stage2( 
 at org.apache.axis2.engine.Phase.invokeHandler( 
 at org.apache.axis2.engine.Phase.invoke( 


The password was incorrect


All supported DevTest releases.


Use the TCPMON.bat/.sh utility that is shipped with DevTest to verify the Raw traffic that is send from Soap Ui  VS.  what is send from DevTest. TCPMon is a utility that allows monitoring of 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 endpoint 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="">AcdEF</wsse:Password>  

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


Additional Information

Refer to section "Run TCPMon" in the documentation of the DevTest release you are running.