Exporting services with WSSamServiceCmd does not seem to work
search cancel

Exporting services with WSSamServiceCmd does not seem to work

book

Article ID: 419881

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

When trying to export a single service using WSSamSerivceCmd.bat, the following error might be displayed:

D:\CA\SOI\tomcat\bin>WSSamServiceCmd.bat -hlocalhost:7090 -usamuser -p"password" -aExport -s"service_name:service_name" -fD:\export_single.xml
Executing WSSamServiceCmd .....
WSSamServiceCmd() - Web Service: localhost port: 7090
WSSamServiceCmd() - action: Export
WSSamServiceCmd() - Service: service_name:service_name
WSSamServiceCmd() - FileName: D:\export_single.xml
Nov 12, 2025 11:57:29 AM com.sun.ws.management.transport.HttpClient readResponse
INFO: Response discarded:

// if login is
WSSamServiceCmd() - An IO error has occured during your export operation: Content-Type of response is not acceptable: text/html;charset=utf-8
WSSamServiceCmd() - Web Service request failed....
Return code: 0

Environment

SOI 4.3 - CU1

Cause

There is an issue with form-based authentication on the manager for the WSsamservicecmd command. 

Resolution

Please enable Basic authentication for SOI :

 
1. Enable the following option on the manager ( FORMSSO to  EXTERNALSSO ) as below
 
Modify the following file on the manager machine: - CA\SOI\tomcat\webapps\sam\WEB-INF\web.xml
 
<auth-method>EXTERNALSSO</auth-method>

2. Restart services.

Additional Information

This issue will be fixed in the future SOI cumulative update.