Created a custom ITPAM soap process to invoke CA Asset Portfolio Management web services. When calling the 'login' method, it fails with:
SOAP invocation failed: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (415Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.
Error caused by an incorrect WSDL path statement.
CA Asset Portfolio Management 14.1, any patch level
Changed the code to reference the correct WSDL.
Changed the WSDL path reference from: