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.
Changed the code to reference the correct WSDL.
Changed the WSDL path reference from:
http://APMServerName:99/APIService/Gen/BAAAAAAA/C/Service.svc/svc
to
http://APMServerName:99/APIService/Gen/BAAAAAAA/C/Service.svc/basic