When using the enterprise WSDL, we use the dynamic serverUrl that's returned from the login for subsequent calls using the ent wsdl. What do others do for custom Apex services for the endpoint? I know you can use the endpoint from the wsdl definition but is that best practice? Should we be constructing the endpoint using a portion of the serverUrl returned from the login or just using the static endpoints from the custom wsdl when using Apex services?
This is being used in Oracle SOA 11g if it makes a difference.
soap:address
for sandboxes etc.