Prerequisites
N4 license for Rail
Finding the nearest rail TZ requires that railcars be located on the rail track using N4's geospatial features available for relative track plans. This means the railcars must be either 'located by TP', 'located by Meter Mark', or 'located by GPS'. See How spotting works in the Navis N4: Rail: Administrator and User Guide manual for more information.
Code Extension Type: GROOVY_WS_CODE_EXTENSION (on page 1)
Purpose: A way for third-party applications to get the nearest rail (TZ) slots for all of the railcar platforms of a given Railcar Visit as comma-separated string. For example: If a railcar has four platforms, then N4 returns the nearest TZ slot per platform such as: TzSlotW, TzSlotX, TzSlotY, TzSlotZ
Requires a Specific Name or Name Pattern: Yes - Requires a specific name.
Specific Name: RailClosestTransferPoint
Notes
There is no configuration required in N4 for web services initiated by the third-party requester - the CAS client calls the web service hosted by N4, and N4 just receives the messages.
Download the Navis N4 Crane Automation System API: Technical Specification from the Navis Customer Portal and read to see how the API is used. You can also reference the XSL schema in N4 at the following path in the footprint of the N4 Center Node after you run the installer: ..\Program Files\Navis\sparcsn4\webapps\apex\WEB-INF\