3.3.4.132 SaveRange
The SaveRange operation creates a new range object in the IPAM data store.
-
<wsdl:operation name="SaveRange"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/SaveRange" message="ipam:IIpamServer_SaveRange_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/SaveRangeResponse" message="ipam:IIpamServer_SaveRange_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_SaveRange_InputMessage request message, the server performs the following processing steps. Upon successful completion of these steps, the server MUST respond with the IIpamServer_SaveRange_OutputMessage message. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1:
Validate the SaveRange.range by calling ValidateIPRange by passing SaveRange.range as Param_range.
If any of the rules in the above procedure fails, raise an appropriate SOAP fault.
Perform the processing rules listed in SetIPRangeMapping to calculate the IsOverlapping field of the ranges, and mapping the addresses by passing the SaveRange.range as the currentRange parameter. Assign the currentRange.RecordId to SaveRangeResponse.SaveRangeResult.
Validate the SaveRange.range.CustomFieldValues by performing the processing rules listed in ValidateCustomFieldValues. If the custom field values are valid, store the custom field values by calling the SetCustomFieldValues procedure of ADM_CustomFieldValuesAssociationTable with the following parameters:
Param_ObjectType is set to EnumeratedObjectType.IPRange.
Param_ObjectRecordId is set to currentRange.RecordId.
Param_addressFamily is set to InterNetwork if the SaveRange.range is IPv4Range. If SaveRange.range is IPv6Range, Param_addressFamily is set to InterNetworkV6.
Param_CustomFieldValuesCollection is assigned SaveRange.range.CustomFieldValues.
Create access scope associations for currentRange by calling the CreateAssociationEntry procedure of ADM_AccessScopeAssociationTable by passing following parameters:
Param_objectType is set to EnumeratedObjectType.IPRange.
Param_objectId is set to currentRange.RecordId.