AnsweredAssumed Answered

SOAP request of CA PPM

Question asked by shikhamaji on Sep 26, 2017
Latest reply on Sep 26, 2017 by gcubed

CA PPM login request is not working from java code . I tried to execute below code from eclipse - 

String url = "https://cppm8051-dev.ondemand.ca.com/niku/xog";

AllObjectsService_ServiceLocator servicelocator= new AllObjectsService_ServiceLocator();
AllObjectsSoapBindingStub stub = (AllObjectsSoapBindingStub)servicelocator.getAllObjectsService(new URL(url));
String value = stub.login("xyz", "xxxxx", null);
System.out.println("VALUEEE:::"+value);

 

The login API should return value of sessionID but currently it is returning null.

 

The same SOAP request works from SOAP UI. There are no headers configured from SOAP UI. 

Outcomes