Page History
...
Create a method called SetupUrlBuilder. This method sets the URL properties that are common for all services (scheme, hostname, and port number, base path). Adjust the port to the port number you specified when you created your web app in IIS (e.g. 9001).
Mthroutine Name(SetupUrlBuilder)
Define_Map For(*INPUT) Class(#XPRIM_UriBuilder) Name(#UrlBuilder) Pass(*BY_REFERENCE)
#UrlBuilder.SetScheme( 'http' )
#UrlBuilder.SetHost( 'localhost' )
#UrlBuilder.SetPort( 9001 )
Endroutine
The code above sets up the base URL as http://localhost:9001/.