webMethods and Intelligent Business Operations 10.2 | CentraSite Developer's Guide | 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- 2018 | 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