API Management 10.4 | CentraSite for Developers | Importing Objects Using API | Invoking Importer through Command Line | Executing Script File to Invoke Importer | Importing REST Service
 
Importing REST Service
* To import a REST Service from the command line
*Run your importer script file or use the delivered import Service script.
The syntax is of the format: yourScriptFile -s xmlFileURI -n serviceName -e endpointURL -m httpMethods -user yourCSUserID -password yourPassword
To get an overview of all available parameters, call the script without any option. Use the -help option to get a detailed description of the parameters.
Example:
import Service -s http://fs02hq/xml/myService.xsd -n myXMLService -e http://appsvr02:53307/myService -m GET PUT -user myUser -password myPassword

Copyright © 2015- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release