1) Yes, you definitely can
2) You need to check if HTTPS service is activated on your WEB AS at all. The HTTPs service is deactivated by default. You can check the service via SM59:
- create a new HTTP connection of type G via SM59
- fill the Target host field, Path prefix and Service number (host name, HTTP document and the port number accordingly)
- Switch the connection to 'Default SSL' on 'Logon & Security' tab.
- save your changes
- click Connection Test
If the HTTPS is not configured you will have an HTTPS error message. Check it with your basis team and activate HTTPs service. If the HTTPS service is running you will have another message (authorization required, wrong document or just Ok status).
3) Actually you can use all of them and each of them has own advantages. If you use create_by_url
you must fill the HTTP address field like 'https://...' The http client class will define autmatically which protocol must be used (HTTP or HTTPs). Personally I use create_by_url
.
Hope this helps.