13.07.2015 Views

Action Request System 5.1 Developing AR System Applications ...

Action Request System 5.1 Developing AR System Applications ...

Action Request System 5.1 Developing AR System Applications ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Developing</strong> <strong>AR</strong> <strong>System</strong> <strong>Applications</strong>: AdvancedThe Base FormEach web service has a base form on which it operates. You specify this whenyou create your web service. When you create a web service by right-clickingon a form name in the server window, the Base Form field is automaticallyfilled for you. Web services that are published in <strong>AR</strong> <strong>System</strong> can be very basic,such as creating a record in the <strong>AR</strong> <strong>System</strong> database, or more complex, suchas processing a purchase order that spans across multiple <strong>AR</strong> <strong>System</strong> forms.For multiple <strong>AR</strong> <strong>System</strong> forms, the base form is the master form.OperationsEach web service has a list of operations. You can name these operationsanything you like, but these operations have to be one of three types: Create,Get or Set. When you create a web service, by default it automatically has fournamed operations: OpCreate, OpGet, OpGetList, and OpSet. OpCreate is ofthe type Create, OpGet and OpGetList are of the type Get, and OpSet is of thetype Set. You can rename these operations, delete some operations, or evencreate new operations, but they must be one of these three types Create, Get,or Set. You can have more than one operation of the same type, or you canhave no operations of a particular type. For more information, see OperationTypes on page 283.MappingEach operation has an “input mapping” and an “output mapping.” Amapping describes how individual elements of the incoming and outgoingXML document are mapped to fields and forms of the <strong>AR</strong> <strong>System</strong>. These areessentially the input and output parameters of the web service. Mappings areedited through the mapping dialog box of <strong>AR</strong> <strong>System</strong> Administrator; formapping procedures, see Mapping to Simple and Complex Documents onpage 293. When you create a web service, default input and output mappingsare provided for each of the four default operations: OpCreate, OpGet,OpGetList, and OpSet. You can change the mapped fields. You can alsochange the name of the XML element that a field is mapped to, and you cancreate more XML elements.XML SchemaEach web service may be associated with an XML schema (.xsd file). Globalelements and complex types referred to in the schema can be used inmappings associated with operations. For more information, see XMLEditing on page 306.Creating and Publishing a Web Service ! 269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!