TIP JOSIF Main Page |TIP JOSIF Framework | TIP Soap Generator | TIP Soap Generator Mapping Rules - Part VI
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
; BulkTransferPattern - Iterator
Iterator XML Mapping Overview
Refer to the TIP the Iterator Pattern for a description of how this interaction pattern is defined from a Protocol Neutral point-of-view.
...
- For each entity a complexType as followed:
- name = <EntityName>ResultWithIterator
- with local XML elements:
- result of type ArrayOf<EntityName> (from same xmlns)
- iterator of type IteratorInfo (from TIP Generator Internal Model)
- For each * out argument with tipAttribute isBulkPotential in an operation with bulkTransferPattern=ITERATOR
- The generated argument is associated with a type based on above <EntityName>ResultWithIterator
- complexType.
Finally, the Soap Generator mapping of the Iterator interaction pattern model artifacts has the following limitations:
...
Iterator XML Mapping Example
This example is based on the the General _ Patterns#Iterator _ Model _ Example. The Soap Generator generates the following corresponding XML artifacts:
...
- The spm_service_problem.xsd
...
- with the ServiceProblemResultWithIterator complexType including:
- result based on type: ArrayOfServiceProblem
- iterator based on type: IteratorInfo (from TIP Generator Internal Model)
- The spm_service_problem_serviceproblemiterator_msg.xsd* with the schema definitions for:
- The getNextServiceProblemIteration
- operation request and response messages
- The releaseServiceProblemIterator
- operation request and response messages
- The spm_service_problem_serviceproblemiterator.wsdl* with the WS definitions for:
- The getNextServiceProblemIteration
- operation
- The releaseServiceProblemIterator
- operation
- The spm_service_problem_serviceprobleminterface_msg.xsd* with the schema definitions for:
- The getServiceProblemsByTemplateRequest
- operation request message as defined in the TS model
- The getServiceProblemsByTemplateResponse
- operation response message based with the objects parameter (local XML element) based on the ServiceProblemResultWithIterator (See first bullet above)
tipOperation
...
; BulkTransferPattern - File
This interaction pattern is not yet defined. Supporting plan is for JOSIF v2.