NO CONTENT TYPE in SWAREF.XSD
search cancel

NO CONTENT TYPE in SWAREF.XSD

book

Article ID: 21309

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Process Automation Base

Issue/Introduction

Issue:

Try to access the IT Pam Soap Web services using:
http://<server>:<port>/itpam/soap?wsdl.

This wsdl imports a schema file swaref.xsd.

It fails to process the wsdl because there is no content-type for the xsd file.

Cause:

There is a problem with using BMC Control-M to automatically start CA PAM Workflows, the Control-M is not able to call the soap method as the content-type of the xsd file is missing.

Workaround:

The content type of a WSDL or an .XSD file is text/html by default. From a product point of view this is not a bug as other tools can consume the WSDL.

There is a workaround:

  • Stop PAM Orchestrator;

  • Delete <pam_dir>\server\c2o\tmp directory;

  • Backup web.xml file under the folder

    for release 3.1: <pam_dir>\server\c2o\deploy\jboss-web.deployer\conf,

    for release 4.0: <pam_server>\server\c2o\deployers\jbossweb.deployer;

  • Edit the file web.xml and add xsd mime-mapping as follows (It may be easier to look for xpm in the file, copy paste mapping element for it and modify it to xsd with type text/xml):

    <mime-mapping><extension>xpm</extension><mime-type>image/x-xpixmap</mime-type></mime-mapping><mime-mapping><extension>xsd</extension><mime-type>text/xml</mime-type></mime-mapping>
  • Restart PAM Orchestrator

Environment

Release: ITPASA99000-3.1-Process Automation-Add On License for-CA Server Automation
Component: