Creating a Flow Service from an XML Document
When you create a flow service using the structure of an existing XML document, Designer uses the DTD or XML Schema definition referenced in the XML document you specify to create the elements for the flow service. If the XML document does not reference a DTD or XML Schema definition, Designer creates the document type using the structure of the XML document.
To create a flow service from an XML document
1. In Designer: File > New > Flow Service
2. In the New Flow Service dialog box, select the folder in which you want to save the flow service.
3. In the Element name field, type a name for the flow service using any combination of letters, numbers, and/or the underscore character. For information about restricted characters, see About Element Names. 4. If you have a template you want to use to initialize a default set of properties for the service, select if from the Choose template list.
5. Click Next.
6. On the Select the Source Type panel, select XML and click Next.
7. On the Select a Source Location panel, under Source location, do one of the following in the File/URL field:
To create the flow service from an XML document that resides on the Internet, type the URL of the resource. (The URL you specify must begin with
http: or
https:.)
To create the flow service from an XML document on your local file system, type in the path and file name, or click the
Browse button to navigate to and select the file.
8. Click Finish to create the flow service.
Note: | Before running a flow service that expects an XML document as input, you must first create a launch configuration that specifies the XML file, and then debug the service in Designer. For information about creating a launch configuration, see Creating a Launch Configuration for Running
a Service. |