We are testing TEWS for Object Feeding and using SoapUI to generate samples.
After some tests, we are stuck at error:
You must initialize the xml-security library correctly before you use it. Call the static method "org.apache.xml.security.Init.init();
SoapUI Error:
HTTP/1.1 500 Internal Server Error
Connection: keep-alive
Set-Cookie: JSESSIONID=mCxsxfvrSLYUGsImO8MhKlsFcZ2Bp4NULNluyyII.iamnode1; path=/iam/im; HttpOnly
Content-Type: text/xml;charset=utf-8
Content-Length: 1088
Date: Mon, 04 Nov 2024 08:51:34 GMT
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tews="http://tews6/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" ><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>Not authorized for service.</faultstring><detail><tews:ImsException xmlns="http://tews6/xsd/common" version="6.0" ><tews:exception><tews:name>com.netegrity.ims.tews6.Tews6Exception</tews:name><tews:code>400</tews:code><tews:description><![CDATA[You must initialize the xml-security library correctly before you use it. Call the static method "org.apache.xml.security.Init.init();" to do that before you use any functionality from that library.]]></tews:description><tews:transaction></tews:transaction></tews:exception></tews:ImsException></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
Release : 14.5
Component : CA Identity Suite Virtual Appliance
Engineering provided a fix to resolve this issue as part of defect DE620009. It needs to be applied on top of IM vApp 14.5.1 environment.